I'm finishing one script and I have one issue when I need zip files.
I need wait for finish zip and then continue with the rest.
This is my command line:
echo "Creating Zip File with Solutions"
Get-Item $backupdestination\*.* -Include *.* -Exclude exportwsp.wsp | out-zip $backupdestination"\"$backupfilename"-Solutions"$guid".zip"
I tried with Start-Job using wait but I have problems with Out-Zip:
The term 'out-zip' is not recognized as the name of a cmdlet
Could you help me to know how to wait to finish the Zip File before continue the Script?
Thanks in advance,