Problem scenario
You want a PowerShell script to place files from a folder into one zip file.
When using PowerShell version 3, your script throws this error:
‘
Exception calling “CreateFromDirectory” with “2” argument(s): “The path is not of a legal form.”
At line…
CategoryInfo : NotSpecified: (:) [], MethodInvocationException
…