Win 2008 Svr Notes
Just some things I may need again...
Clear All Windows 2008 R2 event logs:
If you want to clear the event logs in a Windows Server system, you can fire up Event Viewer, browse to the desired log and from the Actions menu select Clear Log.... But if you want to clear all the System and Application logs at once, you'd better use the `wevtutil' command line utility Microsoft offers. A Windows PowerShell command like this will do the job:
wevtutil el | foreach { wevtutil cl $_ }
Windows server 2008 DHCP adding scope options:
Open server manager, then on left hand tree expand roles, DHCP server, IPv4, then right click "Scope Options", and choose "Scope Options...". Here you'll see the default options loaded on Server 2008. Putting a check in anyone of the default options listed will bring up the options to edit the option in the below pane.
For non pre-defined options, open server manager, expand roles, expand DHCP, click your DHCP server, then on the far right under the actions menu, click "Set predefined Options" then click add to add as you normally would. It should now show up in the above method just as the predefined ones do.