Skip to content

Instantly share code, notes, and snippets.

View martin-morin's full-sized avatar
🦊
Building the future

Martin Morin martin-morin

🦊
Building the future
  • Hypertherm Inc
View GitHub Profile
@martin-morin
martin-morin / PowerShell-snippets.ps1
Last active March 24, 2020 19:38
My favorite PowerShell snippets
# List of usefull snipets I always reuse.
# Get all file types
$extensionList = @((Get-ChildItem -Recurse -File).Extension);
$extensionList | Select-Object -Unique
# Snippets for git support in the team
# -------------------------------------------
# When someone cannot checkout the files from lfs (whatever the user does, the file remain empty with a size of 1K)