Skip to content

Commit

Permalink
Update Build-HelpFile.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamdsheth authored Sep 26, 2023
1 parent 712a478 commit 2a64ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Build-HelpFile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Try {
$pnpDllLocation = "$destinationFolder/Core/PnP.PowerShell.dll"

Write-Host "Importing PnP PowerShell assembly from $pnpDllLocation"
Import-Module -Name $pnpDllLocation -DisableNameChecking
Import-Module -Name $pnpDllLocation -DisableNameChecking -Force
Write-Host "Import PnP PowerShell successful"
$cmdlets = Get-Command -Module PnP.PowerShell | Where-Object CommandType -eq "Alias" | Select-Object -Property @{N="Alias";E={$_.Name}}, @{N="ReferencedCommand";E={$_.ReferencedCommand.Name}}
$cmdlets
Expand Down

0 comments on commit 2a64ca7

Please sign in to comment.