puppet-windowsfeature
puppet-windowsfeature copied to clipboard
add command line parameters to powershell.exe
Pull Request (PR) description
Adds command line parameters to powershell.exe to not load powershell profile, hides the copyright banner at startup, create sessions that shouldn't require user input and sets executionpolicy to bypass.
Before
Executing: 'C:\Windows\system32\WindowsPowershell\v1.0\powershell.exe $ProgressPreference='SilentlyContinue'; Import-Module ServerManager; Install-WindowsFeature telnet-client'
After
Executing: 'C:\Windows\system32\WindowsPowershell\v1.0\powershell.exe -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -Command $ProgressPreference='SilentlyContinue'; Import-Module ServerManager; Install-WindowsFeature telnet-client'
This Pull Request (PR) fixes the following issues
Fixes #175 Fixes #168