Does the below statement mean it can’t load a module or it just avoids loading them by default?

There’s a system variable called Octopus.Action.PowerShell.ExecuteWithoutProfile that when set to true It’ll avoid loading any powershell modules sitting on the VM

Hi @lpgamblework,

Thanks for reaching out!

When you set Octopus.Action.PowerShell.ExecuteWithoutProfile to True, Octopus will avoid loading any Powershell Profile Files each time it starts a Powershell Session during the deployment.

If you are loading modules from those Profile Files, then yes, those modules will not be loaded as part of the deployment.

Best regards,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.