Udostępnij przez


Get-AzsDirectoryTenant

Lists all the directory tenants under the current subscription and given resource group name.

Syntax

List (Default)

Get-AzsDirectoryTenant
    [-ResourceGroupName <String>]
    [-Top <Int32>]
    [-Skip <Int32>]
    [<CommonParameters>]

Get

Get-AzsDirectoryTenant
    -Name <String>
    [-ResourceGroupName <String>]
    [<CommonParameters>]

ResourceId

Get-AzsDirectoryTenant
    -ResourceId <String>
    [<CommonParameters>]

Description

Lists all the directory tenants under the current subscription and given resource group name.

Examples

-------------------------- EXAMPLE 1 --------------------------

Get-AzsDirectoryTenant -ResourceGroupName "System.Local"

Lists all the directory tenants under the current subscription and given resource group name.

Parameters

-Name

Directory tenant name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

{{Fill ResourceGroupName Description}}

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceId

The resource id.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:id

Parameter sets

ResourceId
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Skip

Skip the first N items as specified by the parameter value.

Parameter properties

Type:Int32
Default value:-1
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Top

Return the top N items as specified by the parameter value. Applies after the -Skip parameter.

Parameter properties

Type:Int32
Default value:-1
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Microsoft.AzureStack.Management.Subscriptions.Admin.Models.DirectoryTenant