@@ -41,8 +41,10 @@ Get the resource and its properties.
4141
4242### Example 1: List all Web PubSub resources in a subscription
4343``` powershell
44- PS C:\> Get-AzWebPubSub -SubscriptionId ef72249e-9785-4799-a76b-7cdd80e1b1d0
44+ Get-AzWebPubSub -SubscriptionId ef72249e-9785-4799-a76b-7cdd80e1b1d0
45+ ```
4546
47+ ``` output
4648Name Location SkuName
4749---- -------- -------
4850demo1 eastus Standard_S1
@@ -53,8 +55,10 @@ demo2 eastus Free_F1
5355
5456### Example 2: List all Web PubSub resources in a resource group
5557``` powershell
56- PS C:\> Get-AzWebPubSub -ResourceGroupName psdemo
58+ Get-AzWebPubSub -ResourceGroupName psdemo
59+ ```
5760
61+ ``` output
5862Name Location SkuName
5963---- -------- -------
6064psdemo-wps eastus Standard_S1
@@ -64,8 +68,10 @@ psdemo-wps eastus Standard_S1
6468
6569### Example 3: Get a specific Web PubSub resource
6670``` powershell
67- PS C:\> Get-AzWebPubSub -ResourceGroupName psdemo -Name psdemo-wps
71+ Get-AzWebPubSub -ResourceGroupName psdemo -Name psdemo-wps
72+ ```
6873
74+ ``` output
6975Name Location SkuName
7076---- -------- -------
7177psdemo-wps eastus Standard_S1
@@ -75,12 +81,14 @@ psdemo-wps eastus Standard_S1
7581
7682### Example 4: Get a specific Web PubSub resource via identity object
7783``` powershell
78- PS C:\> $identity = @{ ResourceGroupName = 'psdemo'
84+ $identity = @{ ResourceGroupName = 'psdemo'
7985ResourceName = 'psdemo-wps'
8086SubscriptionId = $(Get-AzContext).Subscription.Id }
8187
82- PS C:\> $identity | Get-AzWebPubSub
88+ $identity | Get-AzWebPubSub
89+ ```
8390
91+ ``` output
8492Name Location SkuName
8593---- -------- -------
8694psdemo-wps eastus Standard_S1
0 commit comments