SYNOPSIS
Performs a gpupdate command to refresh Group Policies on the local machine.
SYNTAX
Update-GroupPolicy [[-ContinueOnError] <Boolean>] [<CommonParameters>]
DESCRIPTION
Performs a gpupdate command to refresh Group Policies on the local machine.
PARAMETERS
-ContinueOnError <Boolean>
Continue if an error is encountered. Default is: $true.
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Update-GroupPolicy
REMARKS
To see the examples, type: "get-help Update-GroupPolicy -examples".
For more information, type: "get-help Update-GroupPolicy -detailed".
For technical information, type: "get-help Update-GroupPolicy -full".
For online help, type: "get-help Update-GroupPolicy -online"