Configuration driven Active Directory management.
Creates an export of GPO objects for use in the Domain Management module.
Export-AdmfGpo [-Path] <String> [-GpoObject] <Object> [[-Domain] <String>] [-ExcludeWmiFilter]
[[-OldExportMode] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Creates an export of GPO objects for use in the Domain Management module. Use this command to record new GPO data for the module.
Get-GPO -All | Where-Object DisplayName -like 'AD-D-SEC-T0*' | Export-AdmfGpo -Path .
Exports all GPOs named like ‘AD-D-SEC-T0*’ to the current path
The path to which to export the GPOs.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The GPO objects to export. Only accepts output of Get-GPO
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The domain to export from.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: $env:USERDNSDOMAIN
Accept pipeline input: False
Accept wildcard characters: False
Do not export WmiFilter assignments of GPOs By default, when exporting GPOs, the associated WMi Filter-Name is also exported
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
How should this command deal with the folders of previous GPO backups? By default, when detecting the folders of previous GPO backups, this command will prompt the user, whether to continue, stop or delete & continue.
Options:
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: Interactive
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.