Forum Discussion

Sebastian cerazy's avatar
Sebastian cerazy
Brass Contributor
Nov 18, 2020

Get-Team -DisplayName via variable with spaces

See below, I cannot find what makes it behave this way: Get-Team -DisplayName "`"$teamName`"" return nothing!       PS C:\PSScripts> $teamName= "xx Year Group" PS C:\PSScripts> Write-Host "`"...

Resources