Powershell

[scripts] Force Group policy update in power shell

Invoke-Command -ComputerName “AnyPC” { $cmd1 = “cmd.exe” $arg1 = “/c” $arg2 = “echo y | gpupdate /force /wait:0” &$cmd1 $arg1 […]