I am trying to use the modules FabricPS-PBIP.psd1 and FabricPS-PBIP.psm1 to deploy .pbip files. I have installed PowerShell 7.2 and downloaded the module, placing it in C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP.
However, when I attempt to import the module, I receive the following error:
PS C:\Users\MVankudoth> Import-Module -Name "C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP" -Verbose
VERBOSE: Loading module from path 'C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psd1'.
VERBOSE: Loading module from path 'C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1'.
Import-Module: File C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1 cannot be loaded. The file C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.
I am trying to use the modules FabricPS-PBIP.psd1 and FabricPS-PBIP.psm1 to deploy .pbip files. I have installed PowerShell 7.2 and downloaded the module, placing it in C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP.
However, when I attempt to import the module, I receive the following error:
PS C:\Users\MVankudoth> Import-Module -Name "C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP" -Verbose VERBOSE: Loading module from path 'C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psd1'. VERBOSE: Loading module from path 'C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1'. Import-Module: File C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1 cannot be loaded. The file C:\Program Files\PowerShell\7-preview\Modules\FabricPS-PBIP\FabricPS-PBIP.psm1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.
Can you please assist me in resolving this issue?