

If script parameters longer than this limit is entered the additional characters will simply be ignored, leading to the script either failing to run or running incorrectly. The limit appears to be 207 but I can’t find official documentation of this. There seems to be a maximum number of characters that will be used in the Script Parameters setting in a GPO Startup/Shutdown/Logon/Logoff PowerShell script. After about 6 hours of investigating and testing I’ve found the following things cause problems when you do them. The issue I ran into was that the parameters set in the GPO PowerShell script parameters seemed to misbehave in several ways.


And that is when things started to go wrong! Parameter Problems After producing the new scripts and testing them by manually running them to ensure they worked correctly, I put them into some GPOs. On thinking about this I decided it might also be a good idea to modify the PowerShell script designed to install Microsoft Office 2013 products via GPO (see the post here). Prashant on Deploy Sonarqube to Azure App…Ī GPO Startup PowerShell script with parameters. Wade Chandler on Protect your Environment from… Using support for ne… on Install a VMWare ESXi 6.0 Hype…ĭaniel Scott-Raynsfo… on Protect your Environment from…

