header image

Archive for December, 2012

This is the list of proposed sessions for 2013. It is subject to change depending on circumstances. All sessions are delivered by Live Meeting on Tuesdays at 7:30 UK time 29 January – PowerShell and Active Directory 26 February – PowerShell Advanced Functions 26 March – PowerShell cmdlets for Hyper-V 30 April – Notes from […]

under: PowerShell User Group

WMF compatibility

Posted by: | December 20, 2012 | No Comment |

The Windows Management Framework 3.0 has been released as a Windows update. However there are some compatibility issues as documented on the PowerShell team blog.  if you haven’t see the post it here http://blogs.msdn.com/b/powershell/archive/2012/12/20/windows-management-framework-3-0-compatibility-update.aspx

under: PowerShell V3

Renaming a user

Posted by: | December 19, 2012 | No Comment |

I was asked about searching a user name for a string and replacing it so that the object is renamed. This is a three stage activity.  First get the user. Two modify the name. Three rename the object.  In active directory the name attribute has the LDAP name of cn but the Microsoft AD cmdlets […]

under: PowerShell and Active Directory

PowerShell Deep Dives

Posted by: | December 18, 2012 | No Comment |

PowerShell Deep Dives is a book put together by the PowerShell community.  I’m editing one of the sections and have contributed some of the chapters. Manning have just started releasing it on their MEAP program.  The full book will hopefully be ready in the spring. Best of all the royalties are being donated to worthwhile […]

under: Books, Deep Dive, PowerShell original

Registry oddity

Posted by: | December 14, 2012 | No Comment |

Looking at modifying the registry on a virtual machine while its offline. I mount the VHDX file and can run this  to load the registry PS> reg load HKLM\VHDSYS h:\windows\system32\config\system The operation completed successfully. If I perform a reg unload at this point everything works but if I access the registry – for instance PS> […]

under: PowerShell original, Registry

This is the list of installed modules in PowerShell v3 on Windows 8 AppLocker Appx BitLocker BitsTransfer BranchCache CimCmdlets DirectAccessClientComponents Dism DnsClient International iSCSI ISE Kds Microsoft.PowerShell.Diagnostics Microsoft.PowerShell.Host Microsoft.PowerShell.Management Microsoft.PowerShell.Security Microsoft.PowerShell.Utility Microsoft.WSMan.Management MMAgent MsDtc NetAdapter NetConnection NetLbfo NetQos NetSecurity NetSwitchTeam NetTCPIP NetworkConnectivityStatus NetworkTransition PKI PrintManagement PSDiagnostics PSScheduledJob PSWorkflow PSWorkflowUtility ScheduledTasks SecureBoot SmbShare SmbWitness Storage TroubleshootingPack […]

under: PowerShell V3, Windows 7, Windows 8

I’ve had two projects in mind for a while.  First I need to build a new WSUS server in my virtual environment & secondly I want to automate as much of the VM creation and configuration as possible. Oh – and I’m not using SC Virtual Machine Manager.  I’ll be using the Hyper-V cmdlets that […]

under: Hyper-V, PowerShell V3, Virtualization, Windows Server 2012

The recording, slides and demo scripts from tonight’s session on PowerShell Jobs is available from https://skydrive.live.com/?cid=43cfa46a74cf3e96#cid=43CFA46A74CF3E96&id=43CFA46A74CF3E96%2140429

under: PowerShell User Group, PowerShell V3

Clearing AD values

Posted by: | December 11, 2012 | No Comment |

A reader left a comment on this post http://msmvps.com/blogs/richardsiddaway/archive/2012/12/09/bulk-modifications-using-set-aduser.aspx I was asked to show how to use the –Clear parameter. Using the same CSV file this works: $users = Import-Csv -Path C:\Scripts\adtest.csv # Loop through CSV and update users if the exist in CVS file foreach ($user in $users) { #Search in specified OU and […]

under: PowerShell and Active Directory

Keep taking the tablets

Posted by: | December 10, 2012 | No Comment |

Tablets seem to be all the rage at the moment. I’ve been working with three different types over the last month or so and thought I’d share my observations. These are base on my personal circumstances and needs – yours may be quite different. The 3 tablets are in order that I started using them: […]

under: General

Older Posts »