PowerShell for Windows Admins:

PowerShell v2


August 26, 2010  1:09 PM

WMI and Network Adapters: 1



Posted by: Richard Siddaway
Network, PowerShell v2

Network adapters are a fundamental part of our system – without them our networks grind to a halt because the machines can’t communicate. We have a good tool in ipconfig for looking at NIC information but we can extend this using PowerShell and WMI. Let’s start by seeing what is...

August 23, 2010  12:39 PM

WMI date issue



Posted by: Richard Siddaway
Operating System, PowerShell v2

 

Working with WMI dates can be awkward sometimes. For instance if we look at the last boot up time of our system

$machine = Get-WmiObject -Class Win32_OperatingSystem

PS> $machine.LastBootUpTime
20100823183135.359600+060

We get a non-intuitive...


August 10, 2010  1:13 PM

WMI and office 2



Posted by: Richard Siddaway
PowerShell v2, WMI

it seems that the WMI provider I mentioned last time is effectively discontinued in Office 2010.

I’ll see if I can get a machine set up with Office 2007 to investigate further


August 9, 2010  1:55 PM

WMI at the Office



Posted by: Richard Siddaway
PowerShell v2

If you have Office 2010 installed you should find an msapps12 namespace on your machine.

The classes exposed by this namespace can be found with

Get-WmiObject -Namespace root\msapps12 –List

There are a lot of them! The classes seem to be broken down by Office...


August 8, 2010  12:51 PM

How big’s my dit



Posted by: Richard Siddaway
Active Directory, File System, PowerShell v2, WMI

The ntds.dit file is used to store Active Directory data on a domain controller. Knowing how big this file is getting is a useful piece if information. One way is to log on to each domain controller and test the size using Windows explorer. A better way is to use WMI PS> "server02", "dc02"...


August 6, 2010  12:29 PM

Adding permissions



Posted by: Richard Siddaway
PowerShell v2, Security, WMI

 

In a recent post http://itknowledgeexchange.techtarget.com/powershell/setting-permissions/ I showed how to set...


July 27, 2010  2:00 PM

Recording and slides for July 2010 UG meeting



Posted by: Richard Siddaway
PowerShell v2, Registry, User Group

This months meeting covered working with the registry.

The slides and the demo script are available from

Bookmark and Share     0 Comments     RSS Feed     Email a friend


July 26, 2010  12:41 PM

Tomorrow – July UG meeting



Posted by: Richard Siddaway
PowerShell v2, Registry, User Group, WMI

Tomorrow is the PowerShell UG Live Meeting on the Registry, PowerShell, .NET and WMI.

Full details from

Bookmark and Share     0 Comments     RSS Feed     Email a friend


July 24, 2010  7:29 AM

Remove Registry Key



Posted by: Richard Siddaway
PowerShell v2, Registry

Alternatively we can remove the whole key

...


July 24, 2010  7:27 AM

Remove-RegValue



Posted by: Richard Siddaway
PowerShell v2, Registry

Removing a registry value is a matter of using the DeleteValue() method


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: