Problem statement
Every single time the Powershell is called in this script, the Powershell profile is loaded. This takes time and, in my case, loads various functions and modules.
Proposed solution
By adding '-noprofile' to the Powershell calls, the runtime is reduced and personal profiles aren't loaded multiple hundred times.
Alternatives considered
No response
Additional information
No response
Problem statement
Every single time the Powershell is called in this script, the Powershell profile is loaded. This takes time and, in my case, loads various functions and modules.
Proposed solution
By adding '-noprofile' to the Powershell calls, the runtime is reduced and personal profiles aren't loaded multiple hundred times.
Alternatives considered
No response
Additional information
No response