Register-DirectoryService

Sinopsis

Skrip untuk mendaftarkan Active Directory (Azure AD) pelanggan dengan Layanan Graph. CustomADGlobalCatalog adalah katalog global untuk Active Directory kustom. Hal ini akan berupa nilai RootDomain dari output cmdletRootDomain.

Sintaks

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

Deskripsi

Skrip untuk mendaftarkan Active Directory pelanggan dengan Layanan Graph. CustomADGlobalCatalog adalah Katalog Global untuk Active Directory kustom. Hal ini akan berupa nilai RootDomain dari output cmdletRootDomain.

Contoh

Contoh 1

Register-DirectoryService -CustomADGlobalCatalog "contoso.com" -CustomADAdminCredential (Get-Credential) -TimeoutInSecs 1000

Parameter

-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

Langkah berikutnya

Untuk informasi tentang cara mengakses dan menggunakan titik akhir istimewa, lihat Menggunakan titik akhir istimewa di Azure Stack Hub.