Azure / Azure/azure-powershell
Variables within PowerShell commands need to be explained
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Type of issue
Missing information
### Feedback
When I look at the PS commands, there are variables within the examples which are not explained (on what goes into each variable):
1. $ProtectableItems = Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer **$Container**
2. Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer **$pc** -FriendlyName **$piFriendlyName**
3. Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer **$pc** -Name **$piName**
I feel the examples should explain how to get the data for each variable to run the command
### Page URL
https://learn.microsoft.com/en-us/powershell/module/az.recoveryservices/get-azrecoveryservicesasrprotectableitem?view=azps-11.2.0&tryIt=true&source=docs#code-try-5
### Content source URL
https://github.com/Azure/azure-powershell/blob/main/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrProtectableItem.md
### Author
@mikefrobbins
### Document Id
bf1c237f-b687-f13f-5ac3-155d291aa343
Contributor guide
Assessment
This issue has not been assessed yet.