Update-GroupPolicy
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.
EXAMPLESโ
EXAMPLE 1โ
Update-GroupPolicy
PARAMETERSโ
-ContinueOnErrorโ
Continue if an error is encountered. Default is: $true.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: True
Accept pipeline input: False
Accept wildcard characters: False
CommonParametersโ
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.