Monthly Archives: November 2011

UK PowerShell Group November–reminder

UK PowerShell Group meeting – Jonathan Medd on “Whats new in PowerCLI 5” details from http://msmvps.com/blogs/richardsiddaway/archive/2011/11/05/powershell-user-group-22-november.aspx

Posted in PowerShell User Group, Virtualisation | Leave a comment

Using calculated fields in subsequent processing

A calculated field can be created in Select-Object or Format-Table. When you use Format-Table processing effectively stops, the pipeline terminates and you are dumping the results to screen. The objects produced by Format-Table are not meant for further processing. If … Continue reading

Posted in Powershell Basics | Leave a comment

Infrastructure Architecture–from the Middle Ages to Now

i often wonder about how we go about performing Infrastructure Architecture in particular and Architecture in general. We spend a lot of time and effort creating frameworks such as Zachman and TOGAF; we create large bodies of data in the … Continue reading

Posted in Architecture, Opinion | Leave a comment

Swapping virtual switches

Virtualisation is a great technique for creating demo labs. I took my laptop with a bunch of VMs of Windows 8/Server 8 to the PowerShell Deep Dive.  Normally I run my “server” laptop and my development laptop on a switch … Continue reading

Posted in PowerShell V2, Virtualisation | 2 Comments

Patch Tuesdays 2012

I’ve shown these functions before but as we head rapidly towards 2012 we need to plan next years schedules.  One perennial for Windows administrators is patching – therefore we need to know patch Tuesdays. This is next years offenders 10 … Continue reading

Posted in IT Security, Powershell | Leave a comment

Set registry key owner

In chapter 7 of PowerShell and WMI I stated that I would post a .NET version of a script to set ownership of a registry key. The WMI method needs Vista or above so we need the .NET version for … Continue reading

Posted in .NET, IT Security, PowerShell V2 | Leave a comment

Hosts file – add an IPv6 address

This builds on adding an IPv4 address – http://msmvps.com/blogs/richardsiddaway/archive/2011/10/24/hosts-file-add-a-record.aspx function add-IPv6hostfilecontent { [CmdletBinding()] param ( [parameter(Mandatory=$true)] [string]$IPAddress, [parameter(Mandatory=$true)] [string]$computer ) $file = Join-Path -Path $($env:windir) -ChildPath “system32\drivers\etc\hosts” if (-not (Test-Path -Path $file)){ Throw “Hosts file not found” } $data = … Continue reading

Posted in Networking, PowerShell V2 | 1 Comment

IPv6 Link local addresses and device identifier

If I run ipconfig on my system the partial results are this Wireless LAN adapter Wireless Network Connection:    Connection-specific DNS Suffix  . : tiscali.co.uk    Link-local IPv6 Address . . . . . : fe80::6d95:b824:6a72:a0a9%11    IPv4 Address. . … Continue reading

Posted in Networking, PowerShell and WMI | Leave a comment

PowerShell User Group 22 November

When: Tuesday, Nov 22, 2011 9:00 PM (GMT)Where: Live Meeting *~*~*~*~*~*~*~*~*~* PowerShell MVP and PowerCLI Jonathan Medd discusses the new features and PowerCLI 5 and how to get the best from them Notes Richard Siddaway has invited you to attend … Continue reading

Posted in PowerShell User Group | Leave a comment

Working with IPv6

A comment was left on one of the articles in my recent series on working with the hosts file asking about using IPv6.  I’ve not used it really as I’ve never had any reason but it seems a good idea … Continue reading

Posted in Networking, PowerShell and WMI, PowerShell V2 | Leave a comment