header image

Archive for December, 2015

Outputting AD data to CSV

Posted by: | December 17, 2015 Comments Off on Outputting AD data to CSV |

  Back in this post https://richardspowershellblog.wordpress.com/2014/12/29/using-givenname-and-surname-instead-of-samaccountname/ I showed how to get AD information using afirst and last names rather than the samAccountName.   A question came up about reading from a CSV containing a list of names and outputting the results to another CSV.   My preference would be to create a single PowerShell pipeline. […]

under: PowerShell and Active Directory

Recent Announcements from the PowerShell Team

Posted by: | December 15, 2015 Comments Off on Recent Announcements from the PowerShell Team |

The PowerShell Team have made a number of interesting  announcements recently:   Feedback is moving from Connect to User Voice http://blogs.msdn.com/b/powershell/archive/2015/12/14/improving-the-powershell-feedback-experience-with-uservoice.aspx This is where you give your feedback and report bugs   For programmers the PowerShell reference assemblies are now available through Nuget.org http://blogs.msdn.com/b/powershell/archive/2015/12/12/powershell-sdk-reference-assemblies-available-via-nuget-org.aspx Meaning you can use Install-Package to get them.  Assemblies for PowerShell […]

under: PowerShell

Formating multiple outputs

Posted by: | December 11, 2015 Comments Off on Formating multiple outputs |

Using Get-WmiObject and Get-Service you can do this: PS> Get-WmiObject -Class Win32_Service -Property StartMode -Filter “Name=’BITS’” | select StartMode StartMode ——— Auto PS> Get-Service -Name BITS | select Status Status —— Running   If you try running the two commands in a script, in ISE or even like this: PS> Get-WmiObject -Class Win32_Service -Property StartMode […]

under: PowerShell Basics

PowerShell Day at Manning

Posted by: | December 8, 2015 Comments Off on PowerShell Day at Manning |

Manning have a set of PowerShell books on their deal of the day for 9 December 2015. The deal includes: Windows PowerShell in Action, Third Edition PowerShell and WMI PowerShell Deep Dives Powershell in Depth, Second Edition PowerShell in Practice Learn Windows PowerShell in a Month of Lunches, Second Edition The deal will go live […]

under: Books, PowerShell

« Newer Posts

Categories