Forum Discussion
HSBHSB
Apr 12, 2024Copper Contributor
Powershell Environment Variable NULL - No repository named PSGallery
I have an SSIS package that runs as a specific user. It calls a Powershell script and it used to work. We rebooted the server and now we get the following error complaining about $env:LOCALAPPDAT...
Andres-Bohren
Apr 17, 2024Iron Contributor
Hi HSBHSB
>Set-PSRepository : No repository with the name 'PSGallery' was found.
Try this:
Register-PSRepository -Default
>$env:LOCALAPPDATA
List environement Variables
Get-ChildItem env:
Kind Regards
Andres
>Set-PSRepository : No repository with the name 'PSGallery' was found.
Try this:
Register-PSRepository -Default
>$env:LOCALAPPDATA
List environement Variables
Get-ChildItem env:
Kind Regards
Andres