If you want to check the computer that the script is running on then something simple like this will do:
Code:
$=SetOption("WrapAtEOL","ON")

$oADInfo = CreateObject("ADSystemInfo")
$sDefaultContainer="OU=Computers,DC=ACME,DC=com"

"Computer Container: "+$oADInfo.ComputerName+@CRLF

If InStr($oADInfo.ComputerName,$sDefaultContainer)
"Yes, I'm in the Default Computer Container"+@CRLF
Else
"No, I'm not in the Default Computer Container"+@CRLF
EndIf



I'm not sure what the path for the default computer container is - you just need to change the variable to match.