Removes registration of supported AD forest for management from PDS configuration.
Remove-AdmPwdPdsSupportedForest [-Pds] <PdsEndpoint> [-ForestName] <String> [<CommonParameters>]
Remove-AdmPwdPdsSupportedForest [-PdsName] <String> [-ForestName] <String> [<CommonParameters>]
PDS supports management of untrusted forests. However, for management of untrusted forests, the following prerequisites must be configured:
- Explicit credentials for PDS to use when accessing intrusted forest
- Mapping of SID from untrusted forest to SIDs from PDS forests.
For management of untrusted AD forest, connection credentials are required. For management of trusted AD forest, connection credentials are optional.
Configuration is stored in PDS.config file. This command removes matching entry from configuration.
# Remove supported forest on all PDS instances Get-AdmPwdPds | Remove-AdmPwdPdsSupportedForest -ForestName 'MyRemoteForest.com'
Gets list of all PDS instances discovered and removes definition of supported AD forest from configuration.
Instance of PDS as returned by Get-AdmPwdPds command
Type: PdsEndpoint Parameter Sets: Pds Aliases: Required: True Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False
Name of instance of PDS - DNS name of machine hosting PDS service
Type: String Parameter Sets: PdsName Aliases: Required: True Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False
DNS name of remote AD forest.
Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 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.
Caller has to be member of PDS administrators role. If not member, Access Denied error is returned.