Welcome to TechNet Blogs Sign in | Join | Help

Syndication

News

Locations of visitors to this page These postings are provided "AS IS" without warranty, and confer no rights.

Browse by Tags

All Tags » DS » Ghetto scripting   (RSS)
Republish printers easily on a print server to Active Directory.
Printers can get pruned from the directory for many reasons. The way it is supposed to work is if the printer is stale then a DC will remove the print queue object from the directory after trying to contact it 3 times at 8 hour intervals (default). This Read More...

Posted Monday, June 25, 2007 8:16 PM by Brad Rutkowski | 1 Comments

Dumping out all the DCs in a domain to a txt file
Short and sweet way of dumping out the DCs to a txt file, in a script: for /f "skip=1" %%a in ('netdom query dc /domain:YOURDOMAIN') do (if %%a == The (echo.) else echo %%a >> test.txt) So what's the deal with all the syntax, and how would this Read More...

Posted Tuesday, October 17, 2006 6:47 PM by Brad Rutkowski | 2 Comments

Page view tracker