Monthly Archives: December 2014

PowerShell Summit NA 2015

We will be getting extra capacity for the PowerShell Summit NA 2015 in Charlotte. The extra places should become available 11 January 2015 – see for details.  Please check the site for further news

Posted in Powershell, Summit | Leave a comment

PowerShell review of 2014

See my review of 2014 from a PowerShell perspective on the Scripting Guy blog –

Posted in Powershell | Leave a comment

More on dates

My recent post on date conversions seems to have generated a fair bit of confusion and discussion. The original task was to read in a string from a CSV file that contained a date in UK format – DD/MM/YYYY and … Continue reading

Posted in Powershell Basics | Leave a comment

ANR and AD searches

A comment on this post – suggested using ANR – Ambiguous Name Resolution as a method of searching AD. ANR provides a fuzzy search mechanism for AD – think wildcard search. If you perform an ANR search you’ll get … Continue reading

Posted in PowerShell and Active Directory | 2 Comments

Using GivenName and Surname instead of samAccountName

A recent comment on this post – – asked about using the given name and surname rather than the samAccountName in Get-ADUser. Get-ADUser has 4 options when using the –Identity parameter: Account name = samAccountNmae Distinguished Name GUID Security … Continue reading

Posted in PowerShell and Active Directory | 13 Comments

Date conversions

Saw a question regarding the conversion of dates in UK format DD/MM/YYYY to US format MM/DD/YYYY Using 25 December 2014 as an example If you have a dat in US format you can do this £> $sd = ’12/25/2014′£> $d … Continue reading

Posted in Powershell Basics | 4 Comments

Merry Christmas from the PowerShell team

The PowerShell team have produced wave 9 of the DSc resource kit – just in time for Christmas – This wave contains a number of new resources and some updates to existing resources including the Exchange resource. You can … Continue reading

Posted in DSC, Powershell, Windows Server 2012 R2 | Leave a comment

European Summit 2015 call for topics #2

The call for topics for the European PowerShell Summit is still open – Please submit your topics by the deadline of 11 January 2015. A few people have suggested subjects for topics they would like to see: Azure automation … Continue reading

Posted in European Summit, Powershell, | Leave a comment

Delivering PowerShell code with the November preview

Step one of investigating OneGet and PowerShellGet – install the latest preview.  I have the environment I used for the demos at the European PowerShell Summit with a machine set up for DSC. Its currently running the September preview: £> … Continue reading

Posted in PowerShell v5, WMFv5 | Leave a comment

Selecting AD properties

Saw a question on the forums about selecting name properties using the Microsoft AD cmdlets.  By default Get-AdUser returns a limited subset of properties: £> Get-ADUser -identity richard DistinguishedName : CN=Richard,CN=Users,DC=Manticore,DC=orgEnabled           : TrueGivenName         :Name              : RichardObjectClass       : userObjectGUID        : 7c42be70-c6b2-401f-8296-46de9ee7446cSamAccountName    … Continue reading

Posted in PowerShell and Active Directory | Leave a comment