Azure / Azure/azure-powershell

Set-AzVMADDomainExtension.md

Open Beginner friendly
#29,198 2 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Compute - VM customer-reported Service Attention
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.