powershell

  • Powershellpsresetfeat

    Reset unresponsive VM with Powershell PowerCLI

    I had a recent use case to be able to check the reachability of a certain VM which had shown itself to be problematic. ย If the VM wasn’t responsive or had crashed, restarting the VM with aย graceful restart via VMware…

  • Powershellgateway01

    Change Default Gateway with Powershell

    One of the best ways to automate or check network settings with modernย Windows OS’es is to use Powershell. Recently, I had a really unique use case where the need arose to check the default gateway and flip the gateway from…

  • Powershellmonitor01

    Monitor application pool IIS recycle if needed

    In working with an issue where an application pool was taking an entire website down, it became apparent we needed a programmatic way to monitor the site itself and then take proactive action in an automated way to correct the…

  • Powershellbypass01

    Powershell script signing the easy way

    So I wanted to throw a quick blog post out there on Powershell script signing the easy way. ย This is a little bit tongue and cheek on the post as I don’t want to detail how to sign powershell scripts…

  • Windowsservicekill03

    Kill a Windows service quick tip

    Just a quick tip from the trenches that I have used numerous times over the years to deal with problematic Windows services. ย Let’s take a look at the “kill a Windows service quick tip”. ย You may have a service that…

  • Windowsauditpolset01

    Set Audit Policy Powershell

    Scripting mundane setup tasks is essential in today’s world of server/workstation provisioning in the fast paced Virtualization environments we as system administrators manage. ย If you are like me, you may have googled “set audit policy powershell” to find a quick…

  • VMwarenetworkname01

    PowerCLI change network label for all VMs in a folder

    Just a quick blurb and a useful one liner used to change all the Network labels for all virtual machines that existed in a vCenter folder. ย I had a situation in a lab where I imported numerous server VMs from…

  • Powershellaccountlockout01

    Use powershell see important account properties

    When it comes to querying Active Directory, there is no easier way to see information about user and computer objects than by using Powershell. ย Powershell provides access to query on all the properties of the objects that you would like…

  • Powershellaaps01

    AppAssure powershell commandlets for administrators

    If you administer an AppAssure environment, there is great power in using Powershell to do a lot of the heavy lifting. ย There are just some things about GUIs we all love to hate and the AppAssure GUI is no exception…

  • Windows 10win10psnet02

    Windows 10 Networking Powershell commandlets

    With Windows 10 we have all the goodness of powershell baked into the operating system and with that, there are several really great powershell commandlets that can be used to take control of the networking components of your Windows 10…