Dnscmd - Managing the Windows DNS Server

This page explains how you can script the creation of new domains in a Windows DNS server using the dnscmd utility.

For one of my projects, I needed to find a way to redirect requests from local machines to for example google.com to a local webserver. To accomplish this, I setup a DNS server, made sure that all the local machines were using this DNS and added google.com in this DNS server to redirect to my local server.

Tags: 

WMIC Output Formats

WMIC Output Formats

Obtained by executing: wmic [stuff to do] /format /?
Keyword/XSL filename to process XML results.
USAGE:

/FORMAT:<format specifier>
NOTE: <formatspecifier> : ((<transformname>|<transformname> : <paramstring>)[,<formatspecifier>]).
where <paramstring>:((<parametername>=<value>)[,<paramstring>]).

NOTE: <transformname> is a <key word> or an <xsl file name>.

Keywords:

Tags: 

Windows Management Instrumentation Command-line (WMIC)

Windows Management Instrumentation (WMI) is a set of extensions to the Windows Driver Model that provides an operating system interface through which instrumented components can provide information and notification. WMI is Microsoft's implementation of the Web-Based Enterprise Management (WBEM) Standard from the Distributed Management Task Force (DMTF).

WMI allows scripting languages like VBScript to manage Microsoft Windows personal computers and servers, both locally and remotely. WMI is preinstalled in Windows Server 2003, Windows XP, Windows Me, and Windows 2000.

Tags: 

Pages

Subscribe to Vanstechelman.eu RSS