puppet-windowsfeature icon indicating copy to clipboard operation
puppet-windowsfeature copied to clipboard

Missing command line parameters

Open brajjan opened this issue 6 months ago • 0 comments

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

brajjan avatar Aug 18 '25 13:08 brajjan