Skip to content

Commit

Permalink
Merge pull request #659 from pkbullock/main
Browse files Browse the repository at this point in the history
Tweaks to the help URL
  • Loading branch information
pkbullock authored Feb 6, 2024
2 parents c274a2e + b3c8ed4 commit 9dd69e9
Show file tree
Hide file tree
Showing 65 changed files with 321 additions and 285 deletions.
10 changes: 5 additions & 5 deletions New-Sample.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ begin{
Reference = [PSCustomObject]@{
"name" = "Introduction to the SharePoint Online Management Shell"
"description" = "Check out the SPO Management Shell documentation site to get started and for the reference to the cmdlets."
"url" = "https://docs.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell"
"url" = "https://learn.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell"
}
Metadata = [PSCustomObject]@{
}
Expand All @@ -173,7 +173,7 @@ begin{
Reference = [PSCustomObject]@{
"name" = "Want to learn more about Microsoft Graph PowerShell SDK and the cmdlets"
"description" = "Check out the Microsoft Graph PowerShell SDK documentation site to get started and for the reference to the cmdlets."
"url" = "https://docs.microsoft.com/graph/powershell/get-started"
"url" = "https://learn.microsoft.com/graph/powershell/get-started"
}
Metadata = [PSCustomObject]@{
}
Expand All @@ -186,7 +186,7 @@ begin{
Reference = [PSCustomObject]@{
"name" = "Want to learn more about Azure CLI and the commands"
"description" = "Check out the Azure CLI documentation site to get started and for the reference to the commands."
"url" = "https://docs.microsoft.com/cli/azure/"
"url" = "https://learn.microsoft.com/cli/azure/"
}
Metadata = [PSCustomObject]@{
}
Expand All @@ -199,7 +199,7 @@ begin{
Reference = [PSCustomObject]@{
"name" = "Want to learn more about Power Apps PowerShell and the cmdlets"
"description" = "Check out the Power Apps PowerShell documentation site to get started and for the reference to the cmdlets."
"url" = "https://docs.microsoft.com/power-platform/admin/powerapps-powershell"
"url" = "https://learn.microsoft.com/power-platform/admin/powerapps-powershell"
}
Metadata = [PSCustomObject]@{
}
Expand All @@ -212,7 +212,7 @@ begin{
Reference = [PSCustomObject]@{
"name" = "Want to learn more about Microsoft Teams PowerShell and the cmdlets"
"description" = "Check out the Microsoft Teams PowerShell documentation site to get started and for the reference to the cmdlets."
"url" = "https://docs.microsoft.com/microsoftteams/teams-powershell-overview"
"url" = "https://learn.microsoft.com/microsoftteams/teams-powershell-overview"
}
Metadata = [PSCustomObject]@{
}
Expand Down
2 changes: 1 addition & 1 deletion docfx/Get-HelpJson.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Process-SPOManagementShellDocs

$spomsDocs = Join-Path -Path $currentLocation -ChildPath "OfficeDocs-SharePoint-PowerShell\sharepoint\sharepoint-ps\sharepoint-online"
Write-Host "Processing SPO Management Shell Path: $($spomsDocs)"
$spomsBaseSitePath = "https://docs.microsoft.com/powershell/module/sharepoint-online"
$spomsBaseSitePath = "https://learn.microsoft.com/powershell/module/sharepoint-online"
$spomsDocsFiles = Get-ChildItem -Path $spomsDocs
$spomsDocRows = @()

Expand Down
8 changes: 8 additions & 0 deletions docfx/assets/help/cli.help.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@
"cmd": "m365 entra administrativeunit remove",
"helpUrl": "https://pnp.github.io/cli-microsoft365/cmd/entra/administrativeunit/administrativeunit-remove"
},
{
"cmd": "m365 entra administrativeunit roleassignment add",
"helpUrl": "https://pnp.github.io/cli-microsoft365/cmd/entra/administrativeunit/administrativeunit-roleassignment-add"
},
{
"cmd": "m365 entra app add",
"helpUrl": "https://pnp.github.io/cli-microsoft365/cmd/entra/app/app-add"
Expand Down Expand Up @@ -479,6 +483,10 @@
"cmd": "m365 external connection schema add",
"helpUrl": "https://pnp.github.io/cli-microsoft365/cmd/external/connection/connection-schema-add"
},
{
"cmd": "m365 external connection urltoitemresolver add",
"helpUrl": "https://pnp.github.io/cli-microsoft365/cmd/external/connection/connection-urltoitemresolver-add"
},
{
"cmd": "m365 external item add",
"helpUrl": "https://pnp.github.io/cli-microsoft365/cmd/external/item/item-add"
Expand Down
28 changes: 28 additions & 0 deletions docfx/assets/help/powershell.help.json
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,10 @@
"cmd": "Get-PnPFile",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPFile.html"
},
{
"cmd": "Get-PnPFileAnalyticsData",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPFileAnalyticsData.html"
},
{
"cmd": "Get-PnPFileInFolder",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPFileInFolder.html"
Expand Down Expand Up @@ -1015,6 +1019,10 @@
"cmd": "Get-PnPPowerPlatformEnvironment",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPPowerPlatformEnvironment.html"
},
{
"cmd": "Get-PnPPowerPlatformSolution",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPPowerPlatformSolution.html"
},
{
"cmd": "Get-PnPPowerShellTelemetryEnabled",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPPowerShellTelemetryEnabled.html"
Expand Down Expand Up @@ -1079,6 +1087,10 @@
"cmd": "Get-PnPSite",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPSite.html"
},
{
"cmd": "Get-PnPSiteAnalyticsData",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPSiteAnalyticsData.html"
},
{
"cmd": "Get-PnPSiteClosure",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPSiteClosure.html"
Expand Down Expand Up @@ -1403,6 +1415,10 @@
"cmd": "Get-PnPWebPartXml",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPWebPartXml.html"
},
{
"cmd": "Get-PnPWebPermission",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPWebPermission.html"
},
{
"cmd": "Get-PnPWebTemplates",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Get-PnPWebTemplates.html"
Expand Down Expand Up @@ -1543,6 +1559,10 @@
"cmd": "New-PnPBatch",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/New-PnPBatch.html"
},
{
"cmd": "New-PnPContainerType",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/New-PnPContainerType.html"
},
{
"cmd": "New-PnPExtensibilityHandlerObject",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/New-PnPExtensibilityHandlerObject.html"
Expand Down Expand Up @@ -1751,6 +1771,10 @@
"cmd": "Remove-PnPContainer",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Remove-PnPContainer.html"
},
{
"cmd": "Remove-PnPContainerType",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Remove-PnPContainerType.html"
},
{
"cmd": "Remove-PnPContentType",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Remove-PnPContentType.html"
Expand Down Expand Up @@ -2159,6 +2183,10 @@
"cmd": "Restart-PnPFlowRun",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Restart-PnPFlowRun.html"
},
{
"cmd": "Restore-PnPDeletedContainer",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Restore-PnPDeletedContainer.html"
},
{
"cmd": "Restore-PnPDeletedMicrosoft365Group",
"helpUrl": "https://pnp.github.io/powershell/cmdlets/Restore-PnPDeletedMicrosoft365Group.html"
Expand Down
Loading

0 comments on commit 9dd69e9

Please sign in to comment.