< Back

Get-AzureService

Wed Jan 30, 2019 5:44 pm

NAME Get-AzureService



SYNOPSIS

Returns an object with information about the cloud services for the current subscription.





SYNTAX

Get-AzureService [[-ServiceName] <String>] [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureService cmdlet returns a list object with all of the Azure cloud services associated with the current subscription. If you specify the

ServiceName parameter, Get-AzureService returns information on only the matching service.





PARAMETERS

-ServiceName <String>

Specifies the name of a service on which to return information.



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Profile <AzureSMProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

HostedServiceContext







NOTES









-------------------------- Example 1: Get information about all services --------------------------



PS C:\\>Get-AzureService



This command returns an object that contains information about all of the Azure services associated with the current subscription.

-------------------------- Example 2: Get information about a specified service --------------------------



PS C:\\>Get-AzureService -ServiceName $MySvc



This command returns information about the $MySvc service.

-------------------------- Example 3: Display available methods and properties --------------------------



PS C:\\>Get-AzureService | Get-Member



This command displays the properties and methods that are available from the Get-AzureService cmdlet.



RELATED LINKS

New-AzureService

Set-AzureService