Skip to content

Instantly share code, notes, and snippets.

@jkavanagh58
Last active August 8, 2021 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkavanagh58/5e28bcb7475d714f564785bd15e5a120 to your computer and use it in GitHub Desktop.
Save jkavanagh58/5e28bcb7475d714f564785bd15e5a120 to your computer and use it in GitHub Desktop.
ps core profile
"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