Quick code release Get-Hash returns the MD5 or SHA256 hash of a file. (Note: Powershell 4.0 has a built-in command for this.) Parameters FilePath The path to the file you wish to hash. Usage Inside of a powershell console enter the following: “” -FilePath “” Example: &”C:\Scripts\Get-Hash.ps1″ -FilePath “C:\FileToHash.xml” Script MD5 Param($FilePath) if (-not (Test-Path …
Release Announcement BGPSInfo is my attempt to replace BGInfo with something customizable. Powershell was chosen to accomplish this. The script has only had limited testing so far. Use at your own risk. You may download the PowerShell script: GitHub
This post was migrated from my older blog. I have been trying to get Java to install smoothly from SCCM for quite a while now. We need to deploy Java in a way that ensures that old versions of Java are removed, and both 32-bit and 64-bit versions of Java are installed. Here is a …
This post was migrated from my older blog. There have been a few times where I found myself starting at an error prompt stating Error: 0x000006C1 or some other unhelpful hex number. Then upon searching for the error code, only finding results for a specific instance of the error for an unrelated application with generic …
This post was migrated from my older blog. I wanted to sign a PowerShell script to make it easier and more secure to use in our environment. PowerShell signing was not in great use in the environment. To make signing the scripts easier I created a simple script to help with the signing process. There …