09.02.2014 Views

Windows sysinternals

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

306 Part II Usage Guide<br />

AdInsight creates these reports in your TEMP folder. To save them to another location, you<br />

can use your browser’s Save As function, or copy or move them directly from your TEMP<br />

folder. (The file location should be in your browser’s address bar.)<br />

Command-Line Options<br />

You can use command-line parameters to set AdInsight startup options from a batch file or<br />

command window. The AdInsight command-line syntax is<br />

adinsight [-fi IncludeFilter] [-fe ExcludeFilter] [-f SavedFile] [-q] [-o] [-t]<br />

Here is an explanation of the items shown in the preceding command line:<br />

■ –fi IncludeFilter Sets the text for an Include process name filter. See the “Filtering<br />

Results” section earlier in this chapter for more information.<br />

■ –fe ExcludeFilter Sets the text for an Exclude process name filter. See the “Filtering<br />

Results” section earlier in this chapter for more information.<br />

■ –f SavedFile Opens a saved AdInsight file for viewing.<br />

■ –q Starts AdInsight without opening the Filter dialog box. By default, the Filter dialog<br />

box is displayed at startup if any process filters are applied.<br />

■ –o Turns off event capture at startup.<br />

■ –t Displays a notification icon on the Taskbar.<br />

AdRestore<br />

<strong>Windows</strong> Server 2003 Active Directory introduced the ability to restore deleted (tombstoned)<br />

objects. AdRestore is a simple command-line utility that enumerates deleted objects in a domain<br />

and gives you the option of restoring each one.<br />

AdRestore’s command-line syntax is<br />

adrestore [-r] [searchfilter]<br />

Without any command-line options, AdRestore enumerates the deleted objects in the<br />

current domain, showing the CN, DN, and last-known parent container for each object. With<br />

the –r option, AdRestore displays objects one at a time, prompting the user to enter y or n<br />

after each one to restore or not restore the object.<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!