Skip to content

Instantly share code, notes, and snippets.

View mikefrobbins's full-sized avatar

Mike F. Robbins mikefrobbins

View GitHub Profile
@jdhitsolutions
jdhitsolutions / Compare-Module.ps1
Last active July 31, 2023 21:33
Use this command to compare module versions between what is installed against an online repository like the PSGallery. Results will be automatically sorted by module name.
#requires -version 5.0
# https://gist.github.com/jdhitsolutions/7217ed9293f18e8d454e3f88ecb38b67
Function Compare-Module {
<#
.Synopsis
Compare module versions.
.Description
Use this command to compare module versions between what is installed against an online repository like the PSGallery. Results will be automatically sorted by module name.
@Teino1978-Corp
Teino1978-Corp / MS Perks & Benefits.md
Created November 7, 2015 03:57
Summary of any and all perks when working with Microsoft.

##Perks of Microsoft

####Salary

####Health and Wellness Care

  • Medical and hospitalization: Two choices for medical insurance. Both with no premium but different deductibles.
    • The two choices on medical plans are a high-deductible health plan (Microsoft puts a chunk of money into the Health Savings Account for you, which covers most of the deductible) and an HMO.
  • With the HMO, you pay basically nothing as long as you only go to Group Health doctors. With the high-deductible plan, you're covered under the local Blue Cross provider which means you can go to just about any doctor in the country. For
@michaeltlombardi
michaeltlombardi / Set-DefaultPropertyDisplaySet.ps1
Last active November 22, 2022 12:34
Function for Adding a Default Property Display Set to PSCustomObjects.
Function Set-DefaultPropertyDisplaySet {
<#
.Synopsis
Adds a Default Property Display Set to a PSCustomObject.
.Description
Adds a Default Property Display Set to a PSCustomObject. The default display will be formatted as a table; the columns will be in the
same order as they are passed to the function.
@rponte
rponte / get-latest-tag-on-git.sh
Last active June 17, 2025 17:34
Getting latest tag on git repository
# The command finds the most recent tag that is reachable from a commit.
# If the tag points to the commit, then only the tag is shown.
# Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object
# and the abbreviated object name of the most recent commit.
git describe
# With --abbrev set to 0, the command can be used to find the closest tagname without any suffix:
git describe --abbrev=0
# other examples
@leslie-leder
leslie-leder / GitCheatSheat.md
Last active March 21, 2023 09:23
Git Cheat Sheet

Config

Git Global User Name

git config --global user.name "Any User"

Git Repository User Name

git config user.name "Any User"

Show remote url

@dfinke
dfinke / CFSBuddy.ps1
Created September 17, 2014 14:37
PowerShell v5.0 ConvertFrom-String Buddy - A GUI that helps you work with this new powerful cmdlet
#Requires -Version 5.0.9814.0
if(!($PSVersionTable.PSVersion.Major -ge 5 -and $PSVersionTable.PSVersion.Build -ge 9814)) {
"Sorry you need PSVersion 5.0.9814.0 or newer"
$psversiontable
return
}
Add-Type -AssemblyName presentationframework