PowerShell for Windows Admins:

PowerShell v2


September 27, 2010  3:18 PM

One cmdlet at a time



Posted by: Richard Siddaway
PowerShell v2

PowerShell MVP Jonathan Medd has compiled all of his blog posts on the new cmdlets in PowerShell 2.0 into a downloadable pdf file.

Hugely recommended as a reference to keep on you computer desk top.

get it now from

September 26, 2010  2:16 PM

WMI and Network Adapters: 6



Posted by: Richard Siddaway
Network, PowerShell v2

We have seen how to test for the DNS server in use. What about testing for DHCP?


September 13, 2010  12:21 PM

Scripting Guy Blog



Posted by: Richard Siddaway
DNS, PowerShell v2, WMI

 

The Scripting Guys are having a guest blogger week and first up is me blogging about managing DNS with PowerShell and WMI

Bookmark and Share     0 Comments     RSS Feed     Email a friend


September 12, 2010  5:52 AM

Deleting files older than a certain date



Posted by: Richard Siddaway
File System, PowerShell v2

A question on the ITKE forums asked how files older than a certain date (in this case two months) could be deleted without touching younger files.

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


September 6, 2010  12:47 PM

WMI and Network Adapters: 4



Posted by: Richard Siddaway
Network, PowerShell v2

We have looked at using Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration. 

Get-WmiObject -Class Win32_NetworkAdapter -Filter "NetEnabled='$true'" |
Format-List NetConnectionID, Description, MACAddress, Speed

Get-WmiObject -Class...


September 2, 2010  12:26 PM

September PowerShell User Group



Posted by: Richard Siddaway
PowerShell v2, User Group

 

When: Tuesday, Sep 14, 2010 8:30 PM (BST)
Where: Virtual

*~*~*~*~*~*~*~*~*~*

Jonathan Medd - PowerShell MVP - explains the new remoting features in PowerShell 2.0

Richard Siddaway has invited you to attend an online meeting using Live Meeting. ...


August 31, 2010  2:03 PM

WMI and Network Adapters: 3



Posted by: Richard Siddaway
Network, PowerShell v2

 

We have seen how to query WMI for information on network adapters.  But what we didn’t get was information about the addresses allocated to the NICs.  We need a different class for that

Get-WmiObject -Class Win32_NetworkAdapterConfiguration

However this...


August 30, 2010  3:39 AM

PowerShell in Practice offer



Posted by: Richard Siddaway
Books, PowerShell v2

Today Manning are offering 50% their best selling books including PowerShell in Practice.

 

See www.manning.com to order


August 28, 2010  5:07 AM

WQL wildcards



Posted by: Richard Siddaway
PowerShell v2, WMI

 

Get-WmiObject -Class Win32_NetworkAdapter 

will show us a list of network adapters.  We can narrow this down to a specific adapter

Get-WmiObject -Class Win32_NetworkAdapter -Filter "DeviceId='11'" | fl *

What if we know that there is a...


August 26, 2010  3:14 PM

WMI and Network Adapters: 2



Posted by: Richard Siddaway
Network, PowerShell v2

Ok – just to help out we can do this to see the useful information we need to complete our IPconfig listing

Get-WmiObject -Class Win32_NetworkAdapter -Filter "NetEnabled='$true'" | Format-List NetConnectionID, Description, MACAddress, Speed

This gets a display like...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: