Last active
August 8, 2021 14:31
-
-
Save jkavanagh58/5e28bcb7475d714f564785bd15e5a120 to your computer and use it in GitHub Desktop.
ps core profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Loading system functions" | |
. C:\etc\scripts\system-functions.ps1 | |
"Welcome to PowerShell on {0}" -f $psversiontable.Platform | |
Function test-onlineprof { | |
[CmdletBinding()] | |
Param ( | |
[parameter(Mandatory = $True, ValueFromPipeline = $False, | |
HelpMessage = "Url to profile gist")] | |
[System.String]$profOnline = 'https://gist.github.com/jkavanagh58/5e28bcb7475d714f564785bd15e5a120' | |
) | |
Begin { | |
$gist = Invoke-RestMethod $profOnline -ErrorAction Stop | |
} | |
Process { | |
} | |
End { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment