Hello
I have created a powershell script with use some commands like :
- Connect-VIServer -Server $server -User ....
- Set-VM -VM $vm -SnapShot $snap -Confirm:$false
- New-Snapshot -VM $vm -Name $snapshotName -Description $description -Confirm:$false
- $vm=Get-VM -name $vmName
- $snap = Get-Snapshot -VM $vm -Name $snapshotName
- Remove-Snapshot -Snapshot $snap -Confirm:$false
and some of those commands make some Windows appears and disappear, taking focus.
During my script I want to use other applications. And these command make losing focus :-(
And if i press enter, sometimes involuntarily, it click on cancel on these popup Windows :-(
Is there is a way to tell to powercli to hide these Windows and make all silently ?
Thanks for advance
Nara20