Tag: PowerShell

Verifying File Hashes with PowerShell

I recently wanted to verify the hash of a file, named setup.exe, that was provided in a GnuPG signature file, named setup.txt. I used the PowerShell code below to verify the expected SHA-256 hash contained within the setup.txt file against the actual hash of the setup.exe file. You can use this script by modifying the …

Continue reading

Run Azure PowerShell in a Docker Container

You can run the latest image version of using the following command: You can also run a specific version of Azure PowerShell using the following command: If you want to just download and pull the images from the official Microsoft Container Registry (MCR) you can just run the docker pull commands. Pull a specific version …

Continue reading

Updating PowerShell Core

or To determine your current PowerShell version, run the following: Thanks to Thomas Maurer and his blog post: https://www.thomasmaurer.ch/2019/07/how-to-install-and-update-powershell-7/

Installing and Updating the Azure Az PowerShell module (vs. AzureRM)

Remove the AzureRM PowerShell module To install the Az PowerShell module, you must first remove the AzureRM module.  You can check which version(s) of AzureRM you already have installed. If you see a message like the following, then you’re ready to install the Az PowerShell module. PackageManagement\Get-Package : No match was found for the specified …

Continue reading

Launch Mac apps with command-line parameters from Windows running under Parallels

I love running Windows using Parallels Desktop on my MacBook Pro (yes, those of you who know me well are aware that it wasn’t that long ago that I was amongst the Mac clueless). ¬†Parallels makes it easy to associate your files with Mac applications running on your host. ¬†If you want to launch a …

Continue reading

Load more