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' | |
) |
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
[CmdletBinding()] | |
Param ( | |
[parameter(Mandatory = $False, ValueFromPipeline = $True, | |
HelpMessage = "wt settings file")] | |
[System.IO.FileInfo]$wtSettings = 'C:\Users\johnk\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json', | |
[parameter(Mandatory = $False, ValueFromPipeline = $False, | |
HelpMessage = "Name of file for update")] | |
[System.String]$wtRepoFile = "wt_settings_jkav.json", | |
[parameter(Mandatory = $False, ValueFromPipeline = $True, | |
HelpMessage = "Path to local clone")] |
OlderNewer