Created
August 13, 2021 09:07
-
-
Save Agazoth/d706e2f6b0d1397eeff32a62942a674a to your computer and use it in GitHub Desktop.
This file contains 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
Import-Module posh-git | |
$GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`nPS' | |
function Get-Access {Get-AzContext -ListAvailable | Sort-Object account | Out-ConsoleGridView | Set-AzContext} | |
function Get-Subscription {Get-AzSubscription | Sort-Object Name | Out-ConsoleGridView | Select-AzSubscription} | |
Import-Module PSReadLine | |
Set-PSReadLineOption -PredictionSource History | |
function _ { | |
param ( | |
[parameter(Mandatory)] | |
[string[]]$Strings | |
) | |
$Strings | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment