ITomation

Category Archives: Script Repository

Get My Public IP Address Using PowerShell

Getting your public IP address programmatically can be very useful. Especially if you need to know when your internet service provider (ISP) has changed your dynamic IP address. Here is how to get your public IP address¬†using PowerShell:¬†(Invoke-WebRequest https://itomation.ca/mypublicip).content. Read on for more background and details…  

Get Last Patch Date Remotely Using PowerShell

2016-11-16
Posted by ITomation

Sometimes you may need to know a server’s last patch date. There can be many reasons why. One of which is when you are patching servers and want to get a general idea of whether or not the patching actually took place on each server.   In this example we are are going to use […]