I hereby claim:
- I am matthewjdegarmo on github.
- I am matthewjdegarmo (https://keybase.io/matthewjdegarmo) on keybase.
- I have a public key ASBTbx9XQCyLoRAf7g2Jw2k2J0HihGOj-SfpmmEBU3PDiAo
To claim this, I am signing this object:
#Region PREP | |
#Region Formatting | |
$script:YELLOW = "$($PSStyle.Foreground.Yellow)" | |
$script:RED = "$($PSStyle.Foreground.Red)" | |
$script:GREEN = "$($PSStyle.Foreground.Green)" | |
$script:CYAN = "$($PSStyle.Foreground.Cyan)" | |
$script:RESET = "$($PSStyle.Reset)" | |
$script:ARROW = "${CYAN}$([char]9654)${RESET}" |
I hereby claim:
To claim this, I am signing this object:
Function Get-Example { | |
[CmdletBinding()] | |
param( | |
[parameter()] | |
[System.String] $FirstName, | |
[parameter()] | |
[System.String]$LastName | |
) |
<# | |
.SYNOPSIS | |
Perform a benchtest of your PowerShell profile. | |
.DESCRIPTION | |
Load Powershell (or Preview) X number of times with NO profile, and with profile, and compare the average loading times. | |
.PARAMETER Count | |
Specify the number of consoles to load for testing. | |
.PARAMETER Preview | |
Specify whether to test again pwsh-preview or not. | |
With this present, the tests will use pwsh-preview. |
#requires -version 5.1 | |
#requires -module PowerShellGet | |
<# | |
The function assumes you have git installed and use it for source control | |
This code contains hard-coded references for my environment. This file | |
is offered as educational and reference material. It will not run for you | |
without revision. |