Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.82 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.82 KB

scripts

These are some scripts that I have found useful over time. I am in the process of cleaning up the scripts and publishing. I will also use this as an opportunity to sharpen my script skills since its been a few years since I’ve had to do anything meaningful with scripts. Thanks for your patience and I hope you find the contents useful.

Goals of this project:

  • Deliver a project that’s useful to the community
  • Sharpen and enhance my scripting skills
  • For the PowerShell Scripts: ensure the scripts work well when run both synchronously and asynchronously. This is something I will add to the scripts over time.
  • Ensure Script output is consistent across Windows, MacOS and Linux. This will help for use in 3rd party systems or when needing a standard output from programmatic use, ie: APIs. This should also reduce the need for output manipulation.

Major things being added shortly:

  • Better error handling on all platforms. Right now there is barely any.
  • Updating PowerShell scripts to CIM based cmdlets.

Testing on Windows based systems
Open PowerShell and set the execution policy:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted  
  • Test script execution
  • Review output
  • Fix errors then recheck
  • Publish when correct

Testing on MacOS based systems

  • Open terminal
  • Test script execution
  • Review output
  • Fix errors then recheck
  • Publish when correct

Testing on Linux Systems

  • Open terminal
  • Test script execution
  • Review output
  • Fix errors then recheck
  • Publish when correct

My intention is to get a automated test system in place at some point as time allows. As of now I am testing manually.

Feature requests:
If you are looking for enhancements, find that something is broken, or want to make recommendations, please open an issue.