hi,
the command no longer working in powershell 7, but I don't know what is wrong here.
[string]$name = "asdf" Get-ADGroup -Filter {SAMAccountName -eq $name} Get-ADGroup: Variable: 'name' found in expression: $name is not defined.
hi,
the command no longer working in powershell 7, but I don't know what is wrong here.
[string]$name = "asdf" Get-ADGroup -Filter {SAMAccountName -eq $name} Get-ADGroup: Variable: 'name' found in expression: $name is not defined.