Skip to main content

Get-AzureAllResource

SYNOPSIS

The cmdlet lists all Azure resources in any resource group.

SYNTAX

TokenObj

Get-AzureAllResource [-TenantID <String>] [-subscritionID <String>] [-AccessToken <Object>] -AccountID <String>
[-Exclude <String[]>] [-CheckExpireOn] [-keepAlive] [<CommonParameters>]

ConnObj

Get-AzureAllResource [-TenantID <String>] [-subscritionID <String>] [-Connection <Object>]
[-Exclude <String[]>] [-CheckExpireOn] [-keepAlive] [<CommonParameters>]

DESCRIPTION

The cmdlet lists all Azure resources in any resource group.

EXAMPLES

PARAMETERS

-TenantID

This parameter is the actual tenant id. The parmeter is mandatory.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-subscritionID

This parameter is the actual subscription id.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AccessToken

This parameter is the actual access token.

Type: Object
Parameter Sets: TokenObj
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AccountID

This parameter is the actual account id. If an AccessToken is provided this parmeter is mandatory.

Type: String
Parameter Sets: TokenObj
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Connection

{{ Fill Connection Description }}

Type: Object
Parameter Sets: ConnObj
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Exclude

This parameter can be used to exclude several resource types. Possible exclusions are: 'Microsoft.RecoveryServices','Microsoft.StorageSync','Microsoft.Compute','Microsoft.Storage'.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: @('Microsoft.RecoveryServices','Microsoft.StorageSync','Microsoft.Compute','Microsoft.Storage')
Accept pipeline input: False
Accept wildcard characters: False

-CheckExpireOn

This parameter can be used to check the ExpireOn tag.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-keepAlive

This parameter can be used to keep the connection alive.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES