Home - Neilitlib/MSP-Simple-Commands GitHub Wiki

۞ Remember ۞ Never break more PCs than you are capable of fixing in a single day.

* Use this codebase at your own risk & start small with any testing.
* Use the Windows Sandbox feature (google this) if you lack a Lab Environment.
* I take no credit for any code in this library, blame our AI Overlords.

Welcome to the MSP-Simple-Commands wiki!

  • While I am well beyond my Tier 1 days, my trainees, fellow employees and supervisors use this code base

    • This repository was built by me using the techniques described below
  • *** This is a Proof-Of-Concept *** that ANY new technician can make & leverage code on Day 1 of Employment and have an immediate impact with ZERO prior knowledge or experience

    • For Tier 1 Technicians that use a Powershell/Command Line capable Vendor-Ware (ConnectWise/Ninja RMM/Etc)
    • You'll learn how to manage the environment, not the Vendor-Ware, so you can work Any-Ware! (ba-dum-ching)
    • You'll learn to leverage available tools to make custom commands for your environments
    • Assumes technician has knowledge of how to run Powershell or Command Prompt as an administrator

Articles and Tags

  • CMD Article -- typically copy-paste execution, typically contains multiple commands in a single string
  • Guide Article -- multiple lines of code, typically copy-paste execution, typically contain multiple commands in a step-by-step format

PS or CLI Tag -- Powershell or Command Line Interface code, run all code as Administrator or in an x64 Administrator PS/CLI console




Agile Design Philosophy & Hands-On Practice

Learn by doing, use it anywhere!

  • Your code should be employer non-specific so you can take it with you to your next job or promotion
  • Your code should be customer non-specific to work across multiple environments
  • Use place-holder variables such as [email protected] instead of actual accounts
  • Expect to spend 2-4 hours on making/researching/combining code for complex issues
  • Test everything using Windows Sandbox, it's an amazing zero-config Virtual Machine built right into Windows
    • It's network capable, deletes everything on close, starts fresh on launch

ZERO Knowledge With Immediate Impact

You need ZERO Knowledge in Powershell or Command Line to make a difference!

"Hey Siri, write me a script that clears temporary browser files across multiple users for Chrome and Edge and also clears temporary windows files."

  • Google it, someone else likely needed or posted similar code

  • Make your tools craft it for you

    • Your MSP likely uses Office365 which gives you access to Chat-GPT v4 through Bing if accessed through Edge
  • Join a Technical Community and seek help from fellow professionals. I recommend MSP Geek's Discord: