Hi to all,
please... where isthe error?
1° line of my script: $args = Read-Host -Prompt "Insert "
2° line of my script: Get-ADUser -Filter 'EmailAddress -like "$args"' -Properties * | fl SamAccountName, EmailAddress
No error is returned but I don't get the results I expect. Do I need to modify the syntax to accomodate a variable?