compress-archive
1 TopicCompress-Archive Not Working?
I'm running Powershell version 5.1.17763.4974 on a server with Windows Server 2019 Datacenter v10. Been using PS for years but trying Compress-Archive for the first time. Tried building a script which didn't work. When executing the script, it immediately goes right back to the PS prompt and nothing happens. Trying to execute a simple command directly with something like this: Compress-Archive -Path 'D:\abc\*.*' -DestinationPath 'D:\xyz\abc.zip' Same thing happens. Goes immediately back to the PS prompt. I'm running PS as administrator. What am I missing?5KViews0likes4Comments