Gpupdate Command -

gpupdate /sync

Invoke-Command -ComputerName "ComputerName" -ScriptBlock gpupdate /force gpupdate command

Here is a breakdown of the available switches and how they modify the command's behavior: gpupdate command

gpupdate /force /boot

This schedules a refresh for user policy settings on a remote computer. gpupdate command

Result: The command will refresh policies and then automatically log the user off. Upon logging back in, the folders will be redirected.

Here are some practical ways to deploy the gpupdate command: