Tips for Scripts

Scripts are fantastic as they can improve operational efficiency. A challenge to consider with scripts is they are typically not stored in a central repository or are set to run as a scheduled task with limited people having knowledge of their existence. When building scripts and ad-hoc utilities consideration should be made for how to centralize them.

Runbook Automation (RBA) applications should be considered when building up script libraries to ensure a central repository exists for management of an environment. Products such as System Center Orchestrator can provide a central store and provide workflow management to visualize the workflow being performed.

The question to always ask, is a PowerShell script or Orchestrator the right tool for this task?

DO NOT test scripts against your production systems! All it takes is ONE simple mistake and an entire environment can be brought to its knees or massive amounts of data is deleted.

Leave a Reply