Azure / Azure/azure-powershell
Set-AzVMADDomainExtension.md
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
### Type of issue
Code doesn't work
### Feedback
Example code contains incorrect syntax and includes a parameter that does not exist for the cmdlet. No extension name in this cmdlet. Also would be much more helpful if this example included the credentials and OU params.
# Create a Resource Group and Virtual Machine before this.
$extensionName = "extensionName"
$virtualMachineName = "vmName"
$resourceGroupName = "resourceGroupName"
$domainName = "domain.com"
Set-AzVMADDomainExtension -ResourceGroupName $resourceGroupName -VMName $virtualMachineName -Name $extensionName -DomainName $domainName
### Page URL
https://learn.microsoft.com/en-us/powershell/module/az.compute/set-azvmaddomainextension?view=azps-15.3.0#-credential
### Content source URL
https://github.com/Azure/azure-powershell/blob/main/src/Compute/Compute/help/Set-AzVMADDomainExtension.md
### Author
_No response_
### Document Id
_No response_
### Platform Id
_No response_
Contributor guide
Research direction
Start with src/Compute/Compute/help/Set-AzVMADDomainExtension.md and compare the example against the Set-AzVMADDomainExtension parameters shown on the linked documentation page. Done means the example uses valid syntax and parameters, includes the extension name, and demonstrates the requested credentials and OU values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100