PowerShell for Windows Admins:

Windows 2008 R2


September 23, 2012  9:40 AM

PowerShell remoting and upgrading to Windows 2012



Posted by: Richard Siddaway
PowerShell 3, Windows 2008 R2, Windows Server 8

I have a number of  virtual machines running Windows 2008 R2 and I upgraded one of them to Windows 2012 – an over the top upgrade rather than a format and clean install

I found that Get-PSSession –Computername didn’t work against that machine.

This parameter now looks...

June 2, 2012  6:34 AM

Using Windows 2012 Active Directory module in a Windows 2008 R2 domain



Posted by: Richard Siddaway
Active Directory, PowerShell 3, Windows 2008 R2, Windows Server 8

A question came up on Tuesdays UK PowerShell Group session about using the Windows 2012 Active Directory module. The recording links are here

Bookmark and Share     0 Comments     RSS Feed     Email a friend


January 24, 2012  4:34 PM

Remoting between PowerShell v3 CTP 2 and PowerShell v2



Posted by: Richard Siddaway
PowerShell 3, PowerShell v2, Windows 2008 R2, Windows 7

One of the questions on tonight’s Live Meeting concerned the compatibility between remoting on PowerShell v2 and PowerShell v3 CTP 2

The difference is that v3 uses a WSMAN 3.0 stack but v2 uses 2.0

I used two machines:

  • Windows 2008 R2 SP 1 with PowerShell...


June 29, 2011  12:42 PM

Network Connection Ids



Posted by: Richard Siddaway
Network, PowerShell v2, Windows 2008 R2, Windows 7, WMI

Yesterday I was looking at changing a Network connection id (the name that shows in Network and Sharing Center when you look at the adapters). I kept getting an error – either COM or number of arguments depending if I was running locally or remotely.

I eventually realised that I must...


May 26, 2011  12:50 PM

root\wmi – speeding the testing



Posted by: Richard Siddaway
PowerShell v2, Windows 2008 R2, Windows 7, WMI

Testing the individual classes in root\wmi is a pain – so its time for some brute force.  I’ll select a group of classes and test the selection

gwmi -Namespace root\wmi -List system* | fw

 

I can then iterate through them calling get-wmiobject.

This...


May 26, 2011  12:42 PM

root\wmi – MS_SystemInformation



Posted by: Richard Siddaway
Hardware, PowerShell v2, Windows 2008 R2, Windows 7, WMI

Continuing our exploration of the murky jungle that is the root\wmi namespace we find a number of classes related to system configuration

gwmi -Namespace root\wmi -List *system* | fw

 

Of theses the only one I could get a respnse from on Windows 7 or Windows 2008 R2...


May 5, 2011  12:50 PM

PAM 0.5–additional info



Posted by: Richard Siddaway
PowerShell v2, Windows 2008 R2, WMI

The reliability and stability metrics are enable by default on Windows 7. On Windows 2008 R2 need to enable them via GPO. Look for Configure Reliability WMI Providers (and enable) in Computer Configuration – Policies – Administrative Templates – Windows Components – Windows Reliability...


May 5, 2011  12:18 PM

PAM 0.5



Posted by: Richard Siddaway
PowerShell v2, PSAM, Windows 2008 R2, Windows 7

Just released PowerShell Admin Modules (PAM) 0.5.  This adds the PAMStability module for working with stability and reliability metrics on Windows 7 and 2008 R2. The following 2 functions are available:

get-stabilityindex
get-reliabilityrecords

see


May 4, 2011  2:03 PM

Reliability Records



Posted by: Richard Siddaway
PowerShell v2, PSAM, Windows 2008 R2, Windows 7, WMI

Want to know if there is something affecting the reliability of you system?  For Windows 7 and Windows 2008 R2 WMI providers some reliability metrics. They are enabled by default on Windows 7. group Policy has to be used to enable them on the server side.  See Computer Settings -...


April 26, 2011  1:08 PM

System Stability part II



Posted by: Richard Siddaway
Operating System, PowerShell v2, Windows 2008 R2, Windows 7, WMI

Last time we looked at the Win32_ReliabilityStabilityMetrics and closed by stating we’d look at the reliability records.  Reliability records are event log records related to system reliability.  The working part of the record is shown below (after the system properties are...


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: