Let's say I do this:
Get-ADUser -SearchBase $search_base -filter {
(GivenName -eq $firstname) -and (SN -eq $surname)
}
Doe this return the user object for true and if not found a simple $false?
Same question for the rest of the cmdlets
Let's say I do this:
Get-ADUser -SearchBase $search_base -filter {
(GivenName -eq $firstname) -and (SN -eq $surname)
}
Doe this return the user object for true and if not found a simple $false?
Same question for the rest of the cmdlets