Export Functions fix and Readme Update

This commit is contained in:
troettinger 2017-07-14 18:45:46 +02:00
Родитель 7faa4e774e
Коммит 5a9127360c
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -451,7 +451,8 @@ function Register-AzsWithMyDirectoryTenant {
Export-ModuleMember -Function @(
"Register-AzsGuestDirectoryTenant",
"Register-AzsGuestDirectoryTenant",
"Register-AzsWithMyDirectoryTenant",
"Get-AzsDirectoryTenantidentifier",
"New-AzsADGraphServicePrincipal"
)

Просмотреть файл

@ -57,7 +57,7 @@ $adminARMEndpoint = "https://adminmanagement.<region>.<domain>"
$azureStackDirectoryTenant = "<homeDirectoryTenant>.onmicrosoft.com" # this is the primary tenant Azure Stack is registered to
$guestDirectoryTenantToBeOnboarded = "<guestDirectoryTenant>.onmicrosoft.com" # this is the new tenant that needs to be onboarded to Azure Stack
$location = "local"
Register-GuestDirectoryTenantToAzureStack -AdminResourceManagerEndpoint $adminARMEndpoint `
Register-AzsGuestDirectoryTenant -AdminResourceManagerEndpoint $adminARMEndpoint `
-DirectoryTenantName $azureStackDirectoryTenant `
-GuestDirectoryTenantName $guestDirectoryTenantToBeOnboarded `
-Location $location
@ -82,6 +82,6 @@ Execute the following cmdlet as the administrator of the directory that needs to
$tenantARMEndpoint = "https://management.<region>.<domain>"
$guestDirectoryTenantName = "<guestDirectoryTenant>.onmicrosoft.com" # this is the new tenant that needs to be onboarded to Azure Stack
Register-AzureStackWithMyDirectoryTenant -TenantResourceManagerEndpoint $tenantARMEndpoint `
Register-AzsWithMyDirectoryTenant -TenantResourceManagerEndpoint $tenantARMEndpoint `
-DirectoryTenantName $guestDirectoryTenantName
```