Skip to content

Commit b091d34

Browse files
authored
Remove extra Select-Object pipe in Example 4
1 parent 8c8a0ae commit b091d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Profile/Commands.Profile/help/Get-AzureRmSubscription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ authorized for the current user.
8282

8383
### Example 4: Change the current context to use a specific subscription
8484
```
85-
PS C:\>Get-AzureRmSubscription -SubscriptionId "xxxx-xxxx-xxxx-xxxx" -TenantId "yyyy-yyyy-yyyy-yyyy" | Select @{n='SubscriptionId';e={$_.Id}} | Set-AzureRmContext
85+
PS C:\>Get-AzureRmSubscription -SubscriptionId "xxxx-xxxx-xxxx-xxxx" -TenantId "yyyy-yyyy-yyyy-yyyy" | Set-AzureRmContext
8686
8787
Environment : AzureCloud
8888

0 commit comments

Comments
 (0)