< Back

Get-AzureRmMediaService

Tue Jan 29, 2019 9:52 pm

NAME Get-AzureRmMediaService



SYNOPSIS

Gets information about a media service.





SYNTAX

Get-AzureRmMediaService [-ResourceGroupName] <String> [-AccountName] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmMediaService cmdlet gets information about a media service.





PARAMETERS

-AccountName <String>

Specifies the name of the media service that this cmdlet gets.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group that contains the media service.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Media.Models.PSMediaService







NOTES









Example 1: Get all media services in a resource group



PS C:\\>Get-AzureRmMediaService -ResourceGroupName "ResourceGroup001"



This command gets properties for all media services in the resource group named ResourceGroup001.





Example 2: Get media service properties



PS C:\\>Get-AzureRmMediaService -ResourceGroupName "ResourceGroup002" -AccountName "MediaService1"



This command gets the properties of the media service named MediaService1 that belongs to the resource group named ResourceGroup002.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... diaservice

New-AzureRmMediaService

Remove-AzureRmMediaService

Set-AzureRmMediaService