Variables within PowerShell commands need to be explained
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- powershell
- Domain
- documentation
Research direction
Start with src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesAsrProtectableItem.md and review the examples containing $Container, $pc, $piFriendlyName, and $piName. Check the linked Get-AzRecoveryServicesAsrProtectableItem documentation and surrounding examples to determine what each variable represents and how users obtain it. Done means the examples explain the required variable values sufficiently to run the commands.
Written by the indexing model from the issue text.
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):
- $ProtectableItems = Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer $Container
- Get-AzRecoveryServicesAsrProtectableItem -ProtectionContainer $pc -FriendlyName $piFriendlyName
- 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
Content source URL
Author
@mikefrobbins
Document Id
bf1c237f-b687-f13f-5ac3-155d291aa343
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 49
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-powershell
-
[Feature]: Opencustomer-reported feature-request needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Azure/azure-powershell#30135 ·
-
customer-reported feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Azure/azure-powershell#30100 ·
-
Get-AzCognitiveServicesModelCapacity does not support querying models with the Format "Mistral AI" Openbug customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Azure/azure-powershell#29632 · 1 reaction ·
-
bug customer-reported needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Azure/azure-powershell#29615 ·
-
bug customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/azure-powershell#29540 · 1 comment · 2 reactions ·
All issues in Azure/azure-powershell
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·