PowerShell - Cmdlets and Pipeline
What will be the output of this PowerShell command if you define a function named
Set-UserName and call it with Set-UserName -Name 'Alice' assuming the function prints the name parameter?function Set-UserName { param($Name) Write-Output "User name is $Name" }