puppet-windowsfeature
puppet-windowsfeature copied to clipboard
Missing command line parameters
When executing powershell commands via puppet it is best practice to add the commandline parameters that does not load the profile and speeds up the loading of powershell.exe
Add the following command line parameters to powershell.exe
- NoProfile
- NoLogo
- NonInteractive
- Executionpolicy Bypass
Also consider converting it to pwshlib for faster executions and compatability with powershell core