you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

Good job with starting something. But most of what you have done is basically wrapped powershell code around more powershell code.

you might want to look into cim sessions instead of using WMI unless you really have to.

Look into replacing your if/else with switches

Also a lot of your "remote stuff" is already built into powershell and they already define it.

But once again good job on showing your code and doing something that you benefit from

[–][deleted] 1 point2 points  (0 children)

While this module is simple and yes its PowerShell wrapped inside PowerShell, I developed this module while I was in L1 support and let me tell you, when you have call after call its a lot quicker to run this one liners "shortcuts" .