Tony and Elise's Blog

All things Family, and some tech/dev stuff here and there.
posts - 29, comments - 7, trackbacks - 263

When Writing Scripts (powershell), Remember To Check…

  1. What is the version of the operating system the script is run upon
  2. Is the computer in a domain environment or is it in a workgroup
  3. Is the script running as a normal user, or elevated
  4. Is the targeted remote computer available
  5. What is the version of Windows PowerShell that is running
  6. Whether the script is run in the Windows PowerShell Console or if it is run in the Integrated Scripting Environment
  7. The status of the Windows Firewall
  8. Is the required module loaded
  9. Is a required parameter supplied

Thank-you Ed Wilson

http://blogs.msdn.com/microsoft_press/archive/2009/08/10/ed-wilson-lessons-learned-from-testing-200-scripts.aspx

Print | posted on Monday, August 10, 2009 12:25 PM |

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 6 and 8 and type the answer here:

Powered by: