I'm working on a SPE script that uses the standard media library upload tool to take a file then uses the built in unzipper to unzip it. Upon unzipping the media items sometimes it removes dashes from the media item names and sometimes it leaves the dashes. I've tested the same zip using the Upload Files (Advanced) dialog and it shows the same behavior so I suspect this isn't an SPE issue

1 Answer 1


I figured it out, this was an issue with item name length. By updating the following

<setting name="MaxItemNameLength" value="100"/>


<setting name="MaxItemNameLength" value="200"/>

I have consistent dash behavior

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.