PowerShell like many data report apps, take advantage of Regular Expressions. If there were 10,000 filenames filled with punctuation and the names needed to be shortened, especially for the purpose of being visible in a URL, these filenames can be shortened and limited to alphanumeric characters only. This prevents a filenames littered with hex code like %20. In a URL hex code is unsightly and hard to read.
Another great use of PowerShell commands is to flatten a folder system, to replace folders with metadata. Folders are useful if used on a Personal Computer and not share with anybody else. In a shared document system like SharePoint folders can be unwieldy through diverse nomenclature and structure depth. Please see my post on Taxonomy.