Get Computer DNS Suffix

Simple Powershell script that will take a list of computers that you provide as an argument, delimited by a comma, the script will check of the computer existence in Active Directory.If the script does not find one of the computers, it will throw an error, but also it will reach

 
 
 
 
 
5 Star
(2)
380 times
Add to favorites
Networking
2/4/2019
E-mail Twitter del.icio.us Digg Facebook
  • Null
    1 Posts | Last post February 05, 2019
    • Why not just If($ComputerTest = (Get-ADComputer -Filter * | Where-Object {$_.Name -like "*$Computer*"})_ versus the $null test...