Could you please tell me what is wrong with the following? It is from the attached document. It is complaining about missing "}". However, if I add "}" in the end, still the same. I could get solve it myself. Thanks!
PowerShell Prompt> $LUNList=Get-NaLun; ForEach ($Lun in $LUNList) { if ($LUN.Mapped)
{# since that returns a True/False, don’t need to compare}
Else {Write-Host "LUN Name ="$LUN.Path}