Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, September 14, 2015 7:05 PM
Invoke-GPUpdate was available and working until a recent update. I am not sure which update caused this cmdlet to disappear, but I am no longer able to run "Invoke-GPUpdate -Computer $compnamehere" from Windows Server 2012 R2 on Windows 10 machines. I also do not see Invoke-GPUpdate as an available command in Powershell for Windows 10 machines.
Has this been deprecated? Is this a bug? Should I search for a work-around to force group policy updates on our office machines? It isn't terribly important, but certainly convenient if a problem arises and I can force the update to all machines at once.
All replies (3)
Wednesday, September 16, 2015 5:45 AM âś…Answered
Hi BankaiShadow,
Thanks for your feedback.
I tested at my side and it is true that the command is not working on Windows 10 machines.
See similar threads:
To force group policy update, please consider run the command below:
Gpupdate /force
Reference:
Force a Remote Group Policy Refresh (GPUpdate)
https://technet.microsoft.com/en-us/library/jj134201.aspx
I will forward this information, if any feedback, I will post back.
Thank you for your sharing and understanding.
Regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Friday, March 24, 2017 1:30 PM | 1 vote
Invoke-GPUpdate seems to be primarly intended for remoting and not for replacing the gpupdpate.exe command.
Thus it is not present on every workstation or server, but basically on domain controllers (if you installed management tools).
However the cmdlet is a part of the GroupPolicy module, which can be found in RSAT.
PS C:\temp> Get-Command -Name Invoke-GPUpdate
CommandType Name Version Source
Cmdlet Invoke-GPUpdate 1.0.0.0 GroupPolicy
PS C:\temp>
Thursday, June 18, 2020 10:08 AM
Invoke-GPUpdate seems to be primarly intended for remoting and not for replacing the gpupdpate.exe command.
Thus it is not present on every workstation or server, but basically on domain controllers (if you installed management tools).
However the cmdlet is a part of the GroupPolicy module, which can be found in RSAT.
PS C:\temp> Get-Command -Name Invoke-GPUpdate CommandType Name Version Source Cmdlet Invoke-GPUpdate 1.0.0.0 GroupPolicy PS C:\temp>
That was it - I had to install RSAT tools! Thanks!