We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db17e6 commit 906f4d4Copy full SHA for 906f4d4
scripts/UpdateLinks.ps1
@@ -141,7 +141,11 @@ function Construct-Path {
141
$V1FilePath = Join-Path $WorkLoadDocsPath "graph-powershell-1.0" "Microsoft.Graph.$Module" "$Command.md"
142
143
if (Test-Path $BetaFilePath) {
144
- Add-Link -File $BetaFilePath -Module $Module -GraphProfile "beta" -Command $Command
+ $V1Command = $Command.Replace("-MgBeta", "-Mg")
145
+ $ConfirmV1Path = Join-Path $WorkLoadDocsPath "graph-powershell-v1.0" "Microsoft.Graph.$Module" "$V1Command.md"
146
+ if(Test-Path $ConfirmV1Path){
147
+ Add-Link -File $BetaFilePath -Module $Module -GraphProfile "beta" -Command $Command
148
+ }
149
}
150
151
if (Test-Path $V1FilePath) {
0 commit comments