Skip to main content
added 14 characters in body
Source Link

After trying to debug, I got it working. Ensure your powershellPowerShell is having all the modules required to work. 
in my case when I pasted the code "Get-Module -ListAvailable -Name PackageManagement""Get-Module -ListAvailable -Name PackageManagement

it only showed me C:\Program Files (x86)\WindowsPowerShell\Modules C:\Program Files (x86)\WindowsPowerShell\Modules directory with 2 versions.

but when you are running the SIA exe, it will try to look for Powershell in "C:\Users<UserName>\Documents\WindowsPowerShell"C:\Users\<UserName>\Documents\WindowsPowerShell directory.

Solution:Solution:
All I did is copied the "Configuration"Configuration and "Modules"Modules folder and pasted ininto this path.

I think we need to add the PowerShell path to Environment Variable "Path"Path. the only error you might get after that is version Upgradation. thatwhich can be easily achieved.

I hope this helps others.

After trying to debug, I got it working. Ensure your powershell is having all the modules required to work. in my case when I pasted the code "Get-Module -ListAvailable -Name PackageManagement"

it only showed me C:\Program Files (x86)\WindowsPowerShell\Modules directory with 2 versions.

but when you are running the SIA exe, it will try to look for Powershell in "C:\Users<UserName>\Documents\WindowsPowerShell" directory.

Solution: All I did is copied the "Configuration" and "Modules" folder and pasted in this path.

I think we need to add the PowerShell path to Environment Variable "Path". the only error you might get after that is version Upgradation. that can be easily achieved.

I hope this helps others.

After trying to debug, I got it working. Ensure your PowerShell is having all the modules required to work. 
in my case when I pasted the code "Get-Module -ListAvailable -Name PackageManagement

it only showed me C:\Program Files (x86)\WindowsPowerShell\Modules directory with 2 versions.

but when you are running the SIA exe, it will try to look for Powershell in C:\Users\<UserName>\Documents\WindowsPowerShell directory.

Solution:
All I did is copied the Configuration and Modules folder and pasted into this path.

I think we need to add the PowerShell path to Environment Variable Path. the only error you might get after that is version Upgradation. which can be easily achieved.

I hope this helps others.

Source Link
Sunil Rana
  • 398
  • 1
  • 12

After trying to debug, I got it working. Ensure your powershell is having all the modules required to work. in my case when I pasted the code "Get-Module -ListAvailable -Name PackageManagement"

it only showed me C:\Program Files (x86)\WindowsPowerShell\Modules directory with 2 versions.

but when you are running the SIA exe, it will try to look for Powershell in "C:\Users<UserName>\Documents\WindowsPowerShell" directory.

Solution: All I did is copied the "Configuration" and "Modules" folder and pasted in this path.

I think we need to add the PowerShell path to Environment Variable "Path". the only error you might get after that is version Upgradation. that can be easily achieved.

I hope this helps others.