Skip to content

Instantly share code, notes, and snippets.

View Kavignon's full-sized avatar
:octocat:

Kevin Avignon Kavignon

:octocat:
View GitHub Profile
@Kavignon
Kavignon / PowerShell-snippets.ps1
Created February 19, 2020 16:19 — forked from martin-morin/PowerShell-snippets.ps1
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)