PowerShell for Windows Admins:

PowerShell v2


August 30, 2011  12:51 PM

Webcast: Get the most from PowerShell and WMI



Posted by: Richard Siddaway
PowerShell v2, WMI

I will be presenting the above webcast next week.

Date: Wednesday, September 7, 2011

Time: 12:00 PM - 1:00 PM CST

 

Thats 6pm UK time

 

Register for the web cast at

Bookmark and Share     0 Comments     RSS Feed     Email a friend

August 30, 2011  12:41 PM

Testing services



Posted by: Richard Siddaway
PowerShell v2

A forum question about testing services and if they weren’t running got me thinking. I created an function to solve the question

function test-service{             
			


August 29, 2011  3:05 AM

Deal of the Day–PowerShell



Posted by: Richard Siddaway
Books, PowerShell v2

PowerShell and WMI is Manning’s deal of the day – 50% off print or e-book.

 

The deal also extends to PowerShell in Practice and PowerShell in Action 2E

See www.manning.com...


August 28, 2011  1:39 PM

Reminder: TechEd Australia PowerShell conference



Posted by: Richard Siddaway
PowerShell v2

The TechEd Australia PowerShell conference starts tomorrow at midnight UK time (9am in Australia).  Details from

Bookmark and Share     0 Comments     RSS Feed     Email a friend


August 22, 2011  3:05 PM

TechEd Australia PowerShell conference



Posted by: Richard Siddaway
PowerShell v2

Tuesday August 30th 2011 at 9am EST there is a PowerShell conference at TechEd Australia. 

Details from

http://powershelldownunder.com/featured/teched2011/

The sessions will be available via Live...


August 21, 2011  12:24 PM

Create a process on a remote machine



Posted by: Richard Siddaway
PowerShell v2, WMI

We can use the [wmiclass] to create a process but it doesn’t allow us to set the credentials. We can get round that by using a bit of .NET code. [wmiclass] is as accelerator for System.Management.ManagementClass so we go back to basics

function...


August 18, 2011  1:01 PM

Find the MAC address



Posted by: Richard Siddaway
Network, PowerShell v2, WMI

One thing that has bugged me for years is having to use the /all parameter with ipconfig to get the MAC address. It also doesn’t work on remote machines. bah humbug.

The MSNdis_EthernetCurrentAddress class in the root\wmi namespace offers a quicker way


				
				
  Bookmark and Share     0 Comments     RSS Feed     Email a friend


August 4, 2011  1:40 PM

Authentication, Impersonation and Privileges



Posted by: Richard Siddaway
PowerShell v2, WMI

So, you want to use a new WMI namespace you have discovered that lets you work with IIS.

PS> Get-WmiObject -Namespace 'root\webadministration' -List -ComputerName web01
Get-WmiObject : Access denied
At line:1 char:14
+ Get-WmiObject <<<< ...


August 3, 2011  2:36 AM

Network speeds–the faster ones



Posted by: Richard Siddaway
PowerShell v2

Quick update to

Bookmark and Share     0 Comments     RSS Feed     Email a friend


August 2, 2011  9:02 AM

Using enums



Posted by: Richard Siddaway
PowerShell v2, WMI

Following on my post about using enums http://msmvps.com/blogs/richardsiddaway/archive/2011/08/02/enums.aspx

I thought it...