MMC, CSV and PowerShell

This is just a quick tip. Many GUI administrative tools use the Microsoft Management Console framework. If you want to use data from one of these tools with PowerShell there’s an easy way via our old friend CSV. With a container-type object selected in the left hand window you can right-click and choose Export List. This will allow you to save the detail in the right hand window as a comma (or tab) separated text file that you can access using Import-CSV. Unfortunately this doesn’t appear to be available with every MMC based tool, but many that I come across have this useful facility.

 

Advertisements
This entry was posted in PowerShell. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s