ITomation

Category Archives: Windows Desktop

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…  

Run HTA as Different User or Administrator

2015-09-29
Posted by ITomation

When you shift-right-click an HTA file, the expanded context menu does not by default display Run as different user or Run as administrator. There is a workaround for this. It involves registry modification. Once the registry entries are added, you will be able to easly run HTA as different user or administrator. Read on to […]