Jump to content

Recommended Posts

Posted (edited)

OK. All of my whiteboard PC's are named WHITEBOARD-01, WHITEBOARD-02 etc

 

I've hacked together a little script that will do it for now. Looks for the string "WHITEBOARD" in the hostname.

 

-----------------------------------------------------------

@ echo off

 

echo %computername% | findstr /i "WHITEBOARD" > nul

 

if %errorlevel% == 0 (

 

"\\sv-01\network apps\BGInfo\BGInfo.exe" "\\sv-01\network apps\BGInfo\HostNameOnly.bgi" -timer:0 -nolicprompt -silent

 

 

) else (

 

goto :eof

 

)

 

---------------------------------------------------------------------------------

 

Applied via GPO to users so it runs on logon IF the hostname is relevant.

 

 

Its a hack, but it'll do for now :ohwell:

Edited by mikkydoos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...