I am not very familiar with PowerShell, yet... really. Currently, my main scripting language is VBScript. However, I am truly believe the needs to learn PowerShell is keep increasing every single day. Server 2008 and Server 2012 are equiped with PowerShell, some advanced managements in XenDesktop 7.5 are using PowerShell, it is fun to learn PowerShell (they said), and a few other points mentioned by my colleagues ( Wow, what on earth Heiry, why your introduction is longer than an episode of Dads? ) Issues : Error encountered when a scheduled task created to run PowerShell script : The shell cannot be started. A failure occurred during initialization: Object reference not set to an instance of an object. Furthermore, this error reported on Task Scheduler. Troubleshooting Go to Start > Run , and type regedit . Press Enter Registry Editor launched. Browse to My Computer > HKEY_CURRENT_USER , and look for for Environment folder. It is not there.