To create alias in powershell..
function Invoke-Passphrase {
& 'C:\path\to\passphrase-generator.ps1'
}
Set-Alias -Name passphrase -Value Invoke-Passphrase
Modified on: Tue, 4 Feb, 2025 at 2:33 PM
To create alias in powershell..
function Invoke-Passphrase {
& 'C:\path\to\passphrase-generator.ps1'
}
Set-Alias -Name passphrase -Value Invoke-Passphrase
Did you find it helpful? Yes No
Send feedback