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.