Skip to content

Commit

Permalink
fix: typo in Enter-AzVM.md file (#23093)
Browse files Browse the repository at this point in the history
* Update Enter-AzVM.md

* Create ExampleIssues.csv

---------

Co-authored-by: Yabo Hu <[email protected]>
  • Loading branch information
varundhand and VeryEarly authored Nov 5, 2023
1 parent b5488b6 commit fdfe972
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ssh/Ssh/help/Enter-AzVM.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Enter-AzVM -ResourceGroupName myRg -Name myMachine -LocalUser azureuser -Private
Enter-AzVM -ResourceGroupName myRg -Name myMachine -LocalUser azureuser -PrivateKeyFile ./id_rsa
```

### Example 4: Connect to Local User on Azure Resource using interactive username and password authetication
### Example 4: Connect to Local User on Azure Resource using interactive username and password authentication

```powershell
Enter-AzVM -ResourceGroupName myRg -Name myMachine -LocalUser azureuser
Expand Down
9 changes: 9 additions & 0 deletions tools/StaticAnalysis/Exceptions/Az.Ssh/ExampleIssues.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation"
"Az.Ssh","Enter-AzVM","1","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -ResourceGroupName myRg -Name myMachine","Check the spell of Enter-AzVM."
"Az.Ssh","Enter-AzVM","2","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -ResourceGroupName myRg -Name myMachine -LocalUser azureuser -PrivateKeyFile ./id_rsa -CertificateFile ./cert","Check the spell of Enter-AzVM."
"Az.Ssh","Enter-AzVM","3","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -ResourceGroupName myRg -Name myMachine -LocalUser azureuser -PrivateKeyFile ./id_rsa","Check the spell of Enter-AzVM."
"Az.Ssh","Enter-AzVM","4","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -ResourceGroupName myRg -Name myMachine -LocalUser azureuser","Check the spell of Enter-AzVM."
"Az.Ssh","Enter-AzVM","5","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -Ip 1.2.3.4","Check the spell of Enter-AzVM."
"Az.Ssh","Enter-AzVM","6","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -ResourceGroupName myRg -Name myMachine -ResourceType Microsoft.HybridCompute/machines","Check the spell of Enter-AzVM."
"Az.Ssh","Enter-AzVM","7","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -ResourceGroupName myRg -Name myMachine -PrivateKeyFile ./id_rsa -PublicKeyFile ./id_rsa.pub","Check the spell of Enter-AzVM."
"Az.Ssh","Enter-AzVM","8","1","Invalid_Cmdlet","5000","1","Enter-AzVM is not a valid command name.","Enter-AzVM -ResourceGroupName myRg -Name myMachine -LocalUser username -Rdp","Check the spell of Enter-AzVM."

0 comments on commit fdfe972

Please sign in to comment.