Register-DirectoryService
Sinopse
Script para registar o cliente Microsoft Entra ID com o Serviço Graph.
CustomADGlobalCatalog é o catálogo global do Active Directory personalizado.
Este valor será RootDomain
o valor do resultado do cmdlet Get-ADForest .
Syntax
Register-DirectoryService [-Force] [[-TimeoutInSecs] <Object>] [-SkipRootDomainValidation]
[[-CustomADAdminCredential] <Object>] [-ValidateParameters] [[-CustomADGlobalCatalog] <Object>] [-AsJob]
Descrição
Script para registar o cliente do Active Directory no Serviço Graph.
CustomADGlobalCatalog é o Catálogo Global do Active Directory personalizado.
Este valor será RootDomain
o valor do resultado do cmdlet Get-ADForest .
Exemplos
Exemplo 1
Register-DirectoryService -CustomADGlobalCatalog "contoso.com" -CustomADAdminCredential (Get-Credential) -TimeoutInSecs 1000
Parâmetros
-CustomADGlobalCatalog
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CustomADAdminCredential
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ValidateParameters
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-SkipRootDomainValidation
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Force
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-TimeoutInSecs
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 1000
Accept pipeline input: False
Accept wildcard characters: False
-AsJob
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Passos seguintes
Para obter informações sobre como aceder e utilizar o ponto final privilegiado, veja Utilizar o ponto final privilegiado no Azure Stack Hub.