Run-GPUpdate_ps1 is a simple script to remotely execute gpupdate /force on a remote computer with this command:
invoke-command -ScriptBlock { & cmd /c "C:\windows\system32\gpupdate.exe" /force } -Session $s
"Yeah. I wrote a script that will do that."
Run-GPUpdate_ps1 is a simple script to remotely execute gpupdate /force on a remote computer with this command:
invoke-command -ScriptBlock { & cmd /c "C:\windows\system32\gpupdate.exe" /force } -Session $s