PowerShell - Functions
Identify the error in this PowerShell function definition:
function Show-Info {
param([string]$info =)
Write-Output $info
}function Show-Info {
param([string]$info =)
Write-Output $info
}$info has an equals sign but no value after it, which is invalid.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions