Register-DirectoryService

Sinopse

Script para registrar o Azure AD (Active Directory) do cliente com o Graph Service. CustomADGlobalCatalog é o catálogo global do Active Directory personalizado. Esse será o RootDomain valor da saída do RootDomain

Sintaxe

Register-DirectoryService [-Force] [[-TimeoutInSecs] <Object>] [-SkipRootDomainValidation]
 [[-CustomADAdminCredential] <Object>] [-ValidateParameters] [[-CustomADGlobalCatalog] <Object>] [-AsJob]

Descrição

Script para registrar o Active Directory do cliente com Graph Serviço. CustomADGlobalCatalog é o Catálogo Global do Active Directory personalizado. Esse será o RootDomain valor da saída do RootDomain

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

Próximas etapas

Para obter informações sobre como acessar e usar o ponto de extremidade privilegiado, consulte Usar o ponto de extremidadeprivilegiado no Azure Stack Hub .