-
Clone https://github.com/Azure/azure-powershell to "$env:USERPROFILE\source\repos"
-
Clone https://github.com/MicrosoftDocs/azure-docs-powershell to "$env:USERPROFILE\source\repos" (optional)
-
Run: Measure-MarkdownOrScript.ps1 -MarkdownPaths "$env:USERPROFILE\source\repos\azure-docs-powershell\azps-7.3.0" -RulePaths ".\AnalyzeRules\*.psm1" -Recurse -AnalyzeScriptsInFile -OutputScriptsInFile -OutputResultsByModule
-
It will create:
- PowerShell codes splitted by example to ".\ScriptsByExample\$module\*.ps1"
- Analyzing results by module to ".\ScriptsByExample\$module.csv"
- ".\Scale.csv"
- ".\Missing.csv"
- ".\DeletingSeparating.csv"
-
Run: Measure-MarkdownOrScript.ps1 -ScriptPaths "$env:USERPROFILE\output\ScriptsByExample\Az.Network\Get-AzVirtualNetworkSubnetConfig-1.ps1" -RulePaths "$env:USERPROFILE\source\repos\AzurePowerShellScriptAnalyzer\AnalyzeRules*.psm1" -Recurse -OutputResultsByModule
-
Notifications
You must be signed in to change notification settings - Fork 4
ziyuezh576/AzurePowerShellScriptAnalyzer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published