Unzip File to a Directory
I and Attempting to run a script that uses a PowerShell script to unzip a file to the top level of the directory (C:), so far I have had no luck under scripting. Below is how I have set my script up. It works fine under Distribution, but I only want to deploy to units that do not have the directory. Any help would be greatly appreciated.
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
Please log in to answer
Posted by:
Ziggi
5 years ago
Posted by:
SMal.tmcc
5 years ago
Top Answer
Keep it simple, you do not need a PS script use the built in Kscript functions
Comments:
-
Will this work even if the Directory doesn't exist? - ceasar.trejo 5 years ago
Posted by:
SMal.tmcc
5 years ago
change the verify to this to create the directory if it does not exist
Comments:
-
Thank you, your answers solved my problem! - ceasar.trejo 5 years ago