Authoring debugging and executing script accessing farm settings with PowerGUI and PowerShell ISE