Hi guys,
first of all my apologies.. I am a newbie at powershell...
I need to get the DNS Domain Lease given by the DHCP Server via Powershell... does anyone has
realized this before?! Google did not point me to the correct answers so far...
I've seen the following Get Command which displays me a lot of the IP Configuration but how do I get a simple string with only the specific DNS server (e.g. uk.abc.com) from it? ->
Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName . | Select-Object -Property [a-z]* -ExcludeProperty IPX*,WINS*
Thanks in advance,
Markus