Configuration driven Active Directory management.
Register a new name mapping.
Register-DMNameMapping [-Name] <String> [-Value] <String> [<CommonParameters>]
Register a new name mapping. Mapped names are used for stringr replacement when invoking domain configurations.
Register-DMNameMapping -Name '%ManagementGroup%' -Value 'Mgmt-Team-1234'
Registers the string ‘Mgmt-Team-1234’ under the label ‘%ManagementGroup%’
The name of the placeholder to register. This label will be replaced with the content specified in -Value. Be aware that all labels must be enclosed in % and only contain letters, underscore and numbers.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The value to insert in place of the label.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
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.