Skip to content

Instantly share code, notes, and snippets.

@OSDeploy
Created January 17, 2022 05:49
Show Gist options
  • Save OSDeploy/5754963498d77bc254fbe1436af3cb7d to your computer and use it in GitHub Desktop.
Save OSDeploy/5754963498d77bc254fbe1436af3cb7d to your computer and use it in GitHub Desktop.
function Test-PSCloudScriptAzKeyVaultSecret
{
[CmdletBinding()]
param()
Write-Host 'This is a PowerShell function in Azure Key Vault'
Write-Verbose 'This is a PowerShell function in Azure Key Vault with the Verbose parameter'
}
if (Get-Command Test-PSCloudScriptAzKeyVaultSecret)
{
Write-Host 'Test-PSCloudScriptAzKeyVaultSecret function is added to this PowerShell session' -ForegroundColor Green
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment