Search This Blog

Thursday, December 27, 2012

NETSH set DNS servers priority by index

example for the interface named "LAN", we set higher priority one DNS netsh interface ipv4 add dnsserver "LAN" static 192.168.0.254 index=1

Wednesday, December 26, 2012

Windows 2008 core remote management

The quickest way to enable core remote management is by starting sconfig.cmd and selecting 4) Configure Remote Management You need to do additional manipulations to enable Volume Management also.

Wednesday, November 14, 2012

Powershell script to extract table from html

had to extract table from HTML and this is what I came up with for a particular case:
Note that I had to twick original html files from Cp-1252 to Unicode - using utility from http://sourceforge.net/projects/cp-converter/ I used http://powergui.org/ to debug the script