Skip to main content

Get-DMGroupPolicy

SYNOPSIS​

Returns all registered GPO objects.

SYNTAX​

__AllParameterSets​

Get-DMGroupPolicy [[-Name] <string>] [<CommonParameters>]

DESCRIPTION​

Returns all registered GPO objects. Thsi represents the desired state, not any actual state.

EXAMPLES​

EXAMPLE 1​

Get-DMGroupPolicy

Returns all registered GPOs

PARAMETERS​

-Name​

The name to filter by.

Type: System.String
DefaultValue: '*'
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.