i would like to check Hostnames before i depoly BGINFO to my network. if exist exit the script. the reason behind this is i want to exclude some computers running BGinfo. i don't want to create new OU AD to apply GPO.
i need a batch file to do that job. please help
batch file it would look like
If hostname = "hostA" :exit
excute the BGINFO