<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dalle &#38; DXter &#187; PowerShell</title>
	<atom:link href="http://poweradmin.se/blog/tag/powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://poweradmin.se/blog</link>
	<description>The Power Administrators</description>
	<lastBuildDate>Wed, 04 Jan 2012 18:18:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Get-SNames</title>
		<link>http://poweradmin.se/blog/2012/01/04/get-snames/</link>
		<comments>http://poweradmin.se/blog/2012/01/04/get-snames/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 18:06:17 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[function]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/?p=2816</guid>
		<description><![CDATA[This is the updated version of my old LName function. I changed the name to Get-SNames instead of Get-LNames because ofthat I know that the correct name is not Last Name and It should be Surname instead. I use It &#8230; <a href="http://poweradmin.se/blog/2012/01/04/get-snames/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2012%252F01%252F04%252Fget-snames%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fwu3bjq%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Get-SNames%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/Groups-Meeting-Light-icon1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Groups-Meeting-Light-icon" border="0" alt="Groups-Meeting-Light-icon" src="http://poweradmin.se/blog/wp-content/uploads/Groups-Meeting-Light-icon_thumb1.png" width="128" height="128"></a></p>
<p><font face="Arial">This is the updated version of my old LName function.</font></p>
<p><font face="Arial">I changed the name to Get-SNames instead of Get-LNames because of<br />that I know that the correct name is not Last Name and It should be Surname instead.</font></p>
<p><font face="Arial">I use It in my create AD lab script and in a couple of other scripts when I <br />need “real” peoples name.</font>
<p><font face="Arial">My thought have been to update It so that I can use names from other countries <br />as well.</font>
<p><font face="Arial">So I came up with an updated version of the function that can create <br />a list from USA and It can also create a list from Sweden, as It could <br />before.</font>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/snamessweden.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="snamessweden" border="0" alt="snamessweden" src="http://poweradmin.se/blog/wp-content/uploads/snamessweden_thumb.png" width="316" height="165"></a><br /><font size="2" face="Arial">The Swedish list is taken from The Gothenburg University</font></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/snamesusa.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="snamesusa" border="0" alt="snamesusa" src="http://poweradmin.se/blog/wp-content/uploads/snamesusa_thumb.png" width="319" height="165"></a><br /><font size="2" face="Arial">The US list is taken from mongabay.com’s name site</font></p>
<p><font face="Arial">I have done some changes to the Swedish list as well.<br />The list is now sorted and saved as UTF-8. The UTF-8 part is for viewing and using names that contains Swedish letters å ä and ö.</font></p>
<p><font face="Arial">The function can be downloaded from </font><a href="http://gallery.technet.microsoft.com/Get-SNames-0b792cc6"><font face="Arial">here</font></a><font face="Arial">.</font></p>
<div class="shr-publisher-2816"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F04%2Fget-snames%2F' data-shr_title='Get-SNames'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F04%2Fget-snames%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F04%2Fget-snames%2F' data-shr_title='Get-SNames'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2012/01/04/get-snames/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get-FNames</title>
		<link>http://poweradmin.se/blog/2012/01/03/get-fnames/</link>
		<comments>http://poweradmin.se/blog/2012/01/03/get-fnames/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 17:28:18 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[function]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/?p=2807</guid>
		<description><![CDATA[Back in 2009 I wrote a Function that took peoples first names from a source in Sweden.It was top 1000 names here in Sweden. I use It in my create AD lab script and in a couple of other scripts &#8230; <a href="http://poweradmin.se/blog/2012/01/03/get-fnames/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2012%252F01%252F03%252Fget-fnames%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Get-FNames%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/Groups-Meeting-Light-icon.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Groups-Meeting-Light-icon" border="0" alt="Groups-Meeting-Light-icon" src="http://poweradmin.se/blog/wp-content/uploads/Groups-Meeting-Light-icon_thumb.png" width="128" height="128"></a></p>
<p><font face="Arial">Back in 2009 I wrote a Function that took peoples first names from a source in Sweden.<br />It was top 1000 names here in Sweden.</font></p>
<p><font face="Arial">I use It in my create AD lab script and in a couple of other scripts when I need “real” peoples name.</font></p>
<p><font face="Arial">My thought have been to update It so that I can use names from other countries as well.<br />So I came up with an updated version of the function that can create a list from USA and It can also create a list from Sweden, as I could before.</font></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image568.png"><font face="Arial"><a href="http://poweradmin.se/blog/wp-content/uploads/image569.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb499.png" width="287" height="150"></a></font></a><br /><font size="2" face="Arial">The names from USA comes from Social Security Online.<br /></font></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image570.png"><font face="Arial"><a href="http://poweradmin.se/blog/wp-content/uploads/image571.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb500.png" width="289" height="150"></a></font></a><br /><font size="2" face="Arial">The Swedish names come from the Gothenburg University.</font></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/notfnamesswe.png"><font face="Arial"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="notfnamesswe" border="0" alt="notfnamesswe" src="http://poweradmin.se/blog/wp-content/uploads/notfnamesswe_thumb.png" width="109" height="244"></font></a><font face="Arial">&nbsp;</font><a href="http://poweradmin.se/blog/wp-content/uploads/notfnamesusa.png"><font face="Arial"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="notfnamesusa" border="0" alt="notfnamesusa" src="http://poweradmin.se/blog/wp-content/uploads/notfnamesusa_thumb.png" width="91" height="244"></font></a></p>
<p><font face="Arial">When you run the function you need to have internet access!</font></p>
<p><font face="Arial">The function can be downloaded from </font><a href="http://gallery.technet.microsoft.com/Get-FNames-8dfde11d"><font face="Arial">here</font></a><font face="Arial">.</font></p>
<div class="shr-publisher-2807"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F03%2Fget-fnames%2F' data-shr_title='Get-FNames'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F03%2Fget-fnames%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F03%2Fget-fnames%2F' data-shr_title='Get-FNames'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2012/01/03/get-fnames/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The TPM Status tool</title>
		<link>http://poweradmin.se/blog/2012/01/02/the-tpm-status-tool/</link>
		<comments>http://poweradmin.se/blog/2012/01/02/the-tpm-status-tool/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 18:59:27 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[GUI]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[gui]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/?p=2791</guid>
		<description><![CDATA[I wrote this tool for my friend DXter a year ago or so.He did an presentation on bitlocker and wanted a tool that showsTPM Information from inside Windows and with an GUI. Now It’s a new year and I have &#8230; <a href="http://poweradmin.se/blog/2012/01/02/the-tpm-status-tool/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2012%252F01%252F02%252Fthe-tpm-status-tool%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22The%20TPM%20Status%20tool%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I wrote this tool for my friend DXter a year ago or so.<br />He did an presentation on bitlocker and wanted a tool that shows<br />TPM Information from inside Windows and with an GUI.</p>
<p>Now It’s a new year and I have been playing around with it and did some changes:</p>
<ul>
<li>Bugfixes
<li>Added my function Get-PingStatus</li>
</ul>
<p>You need to run the script as Administrator!</p>
<p></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image562.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb495.png" width="235" height="244"></a></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image563.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb496.png" width="235" height="244"></a></p>
<p>You can download the tool <a href="http://poweradmin.se/blog/2012/01/02/the-tpm-status-tool/tpmviewer/">here</a>.</p>
<p>The tool is provided “as is”.</p>
<div class="shr-publisher-2791"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F02%2Fthe-tpm-status-tool%2F' data-shr_title='The+TPM+Status+tool'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F02%2Fthe-tpm-status-tool%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2012%2F01%2F02%2Fthe-tpm-status-tool%2F' data-shr_title='The+TPM+Status+tool'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2012/01/02/the-tpm-status-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get-PingStatus</title>
		<link>http://poweradmin.se/blog/2011/12/31/get-pingstatus/</link>
		<comments>http://poweradmin.se/blog/2011/12/31/get-pingstatus/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 19:31:00 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[Ping-Status]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/?p=2783</guid>
		<description><![CDATA[Over at 2009 I wrote a ping status function. The function can now be downloaded from the Script Center Repository at Microsoft.http://gallery.technet.microsoft.com/Get-PingStatus-Function-e375fec3 I use It in my own scripts and just updated It so I hope others can use It &#8230; <a href="http://poweradmin.se/blog/2011/12/31/get-pingstatus/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F12%252F31%252Fget-pingstatus%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FvbukCR%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Get-PingStatus%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/Status-battery-100-icon.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Status-battery-100-icon" border="0" alt="Status-battery-100-icon" src="http://poweradmin.se/blog/wp-content/uploads/Status-battery-100-icon_thumb.png" width="67" height="67"></a></p>
<p>Over at 2009 I wrote a ping status function. <br />The function can now be downloaded from the Script Center Repository at Microsoft.<br /><a title="http://gallery.technet.microsoft.com/Get-PingStatus-Function-e375fec3" href="http://gallery.technet.microsoft.com/Get-PingStatus-Function-e375fec3">http://gallery.technet.microsoft.com/Get-PingStatus-Function-e375fec3</a></p>
<p>I use It in my own scripts and just updated It so I hope others can use It too.</p>
<p><font size="1">.EXAMPLE<br />&nbsp;&nbsp;&nbsp; Get-PingStatus server01<br />.EXAMPLE<br />&nbsp;&nbsp;&nbsp; if (Get-PingStatus server01) { Write-Host &#8220;I&#8217;m up!&#8221; }<br />.EXAMPLE<br />&nbsp;&nbsp;&nbsp; if (!(Get-PingStatus server01)) { Write-Host &#8220;I&#8217;m not up!&#8221; }</font></p>
<div class="shr-publisher-2783"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F12%2F31%2Fget-pingstatus%2F' data-shr_title='Get-PingStatus'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F12%2F31%2Fget-pingstatus%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F12%2F31%2Fget-pingstatus%2F' data-shr_title='Get-PingStatus'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/12/31/get-pingstatus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More Deployment and more PowerShell</title>
		<link>http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/</link>
		<comments>http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 08:24:12 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT 2012]]></category>
		<category><![CDATA[Mindgrape]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SCCM 2012]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/</guid>
		<description><![CDATA[I will blog more about Deployment and PowerShell from now on. This is my second week at Mindgrape. I will be working more with deployment solutions likeMDT 2010/2012, SCCM 2007/2012 and scripting with PowerShelland Windows Servers. Plus application packaging with &#8230; <a href="http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F11%252F28%252Fmore-deployment-and-more-powershell%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fvjx7nb%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22More%20Deployment%20and%20more%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/Drive-Drive-Windows-icon.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Drive-Drive-Windows-icon" border="0" alt="Drive-Drive-Windows-icon" src="http://poweradmin.se/blog/wp-content/uploads/Drive-Drive-Windows-icon_thumb.png" width="128" height="128"></a></p>
<p>I will blog more about Deployment and PowerShell from now on.</p>
<p>This is my second week at <a href="http://www.mindgrape.se/">Mindgrape</a>.</p>
<p>I will be working more with deployment solutions like<br />MDT 2010/2012, SCCM 2007/2012 and scripting with PowerShell<br />and Windows Servers. Plus application packaging with Wise and Admin Studio.</p>
<p>And I will blog at least once a week.</p>
<p>&nbsp;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4d827ba9-e2e7-40d4-834a-b3a8de46a48c" class="wlWriterEditableSmartContent">Technorati-taggar: <a href="http://technorati.com/tags/Deployment" rel="tag">Deployment</a>,<a href="http://technorati.com/tags/Mindgrape" rel="tag">Mindgrape</a>,<a href="http://technorati.com/tags/MDT+2012" rel="tag">MDT 2012</a>,<a href="http://technorati.com/tags/SCCM+2012" rel="tag">SCCM 2012</a>,<a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a></div>
<div class="shr-publisher-2779"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F11%2F28%2Fmore-deployment-and-more-powershell%2F' data-shr_title='More+Deployment+and+more+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F11%2F28%2Fmore-deployment-and-more-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F11%2F28%2Fmore-deployment-and-more-powershell%2F' data-shr_title='More+Deployment+and+more+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Turn on and off the old menu in Windows 8 the PowerShell way</title>
		<link>http://poweradmin.se/blog/2011/09/20/turn-on-and-of-the-old-menu-in-windows-8-the-powershell-way/</link>
		<comments>http://poweradmin.se/blog/2011/09/20/turn-on-and-of-the-old-menu-in-windows-8-the-powershell-way/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 06:56:59 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Classic Menu]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/09/20/turn-on-and-of-the-old-menu-in-windows-8-the-powershell-way/</guid>
		<description><![CDATA[More and more people are talking about turning of the new menu in Windows 8.The Start thing or the Metro. Both in Windows 8 Server and the Windows 8 client. My friend Mikael Nyström wrote how to do this with &#8230; <a href="http://poweradmin.se/blog/2011/09/20/turn-on-and-of-the-old-menu-in-windows-8-the-powershell-way/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F09%252F20%252Fturn-on-and-of-the-old-menu-in-windows-8-the-powershell-way%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Turn%20on%20and%20off%20the%20old%20menu%20in%20Windows%208%20the%20PowerShell%20way%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>More and more people are talking about turning of the new menu in Windows 8.<br />The Start thing or the Metro.</p>
<p>Both in Windows 8 Server and the Windows 8 client.</p>
<p>My friend Mikael Nyström wrote how to do this with reg.exe for Windows 8 Server<br />on his <a href="http://deploymentbunny.com/2011/09/18/windows-8-developer-server-preview-switch-to-classic-start-menu/">blog</a>.</p>
<p>I’m a PowerShell person and I like simple stuff so I created a PowerShell script that will put a Shortcut on the desktop after the first run of the script.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image558.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb491.png" width="102" height="109"></a></p>
<p>And when you click the Shortcut you are back to the new one again and<br />now you have a new shortcut.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image559.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb492.png" width="91" height="126"></a></p>
<p>I have notice that the deletion of the .lnk not shows up directly.<br />So you might have to hit F5 after the run of the script to see only one shortcut.</p>
<p><font color="#ff0000"><img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-pointingup" alt="Pointing up" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-pointingup.png"> The script are made to be in c:\scripts and be named menuwin8.ps1 <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-pointingup" alt="Pointing up" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-pointingup.png"></font></p>
<p><font color="#000000">And you need to change the execution policy before you run the script!</font></p>
<p>Hit the downloads button for the script…</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/menuwin8.ps1_.txt"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="File-Downloads-icon" border="0" alt="File-Downloads-icon" src="http://poweradmin.se/blog/wp-content/uploads/File-Downloads-icon.png" width="80" height="80"></a></p>
<div class="shr-publisher-2762"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F09%2F20%2Fturn-on-and-of-the-old-menu-in-windows-8-the-powershell-way%2F' data-shr_title='Turn+on+and+off+the+old+menu+in+Windows+8+the+PowerShell+way'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F09%2F20%2Fturn-on-and-of-the-old-menu-in-windows-8-the-powershell-way%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F09%2F20%2Fturn-on-and-of-the-old-menu-in-windows-8-the-powershell-way%2F' data-shr_title='Turn+on+and+off+the+old+menu+in+Windows+8+the+PowerShell+way'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/09/20/turn-on-and-of-the-old-menu-in-windows-8-the-powershell-way/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>First look at the new PowerShell FB Module</title>
		<link>http://poweradmin.se/blog/2011/08/18/first-look-at-the-new-powershell-fb-module/</link>
		<comments>http://poweradmin.se/blog/2011/08/18/first-look-at-the-new-powershell-fb-module/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 18:52:13 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Modules]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/08/18/first-look-at-the-new-powershell-fb-module/</guid>
		<description><![CDATA[I saw this module earlier today and I have been looking for something like this for a while so I have been playing around with It for for an hour or so. You can download It here. Install it with &#8230; <a href="http://poweradmin.se/blog/2011/08/18/first-look-at-the-new-powershell-fb-module/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F08%252F18%252Ffirst-look-at-the-new-powershell-fb-module%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22First%20look%20at%20the%20new%20PowerShell%20FB%20Module%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I saw this module earlier today and I have been looking for something   <br />like this for a while so I have been playing around with It for for an hour or so.</p>
<p>You can download It <a href="http://facebookpsmodule.codeplex.com" target="_blank">here</a>. </p>
<p>Install it with the msi file and then open up PowerShell ISE.   <br />Hmmmm, not my favorite thing, but It will not work from the PowerShell prompt.</p>
<p>Then type</p>
<p>Import-Module Facebook</p>
<p>And to make a connection file you need to type</p>
<p>New-FBCconnection</p>
<p>And then login to Facebook</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image530.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb463.png" width="231" height="244" /></a></p>
<p>And grant the “Application” rights to your FB account.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image531.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb464.png" width="196" height="244" /></a></p>
<p>To get a list of the commands for the FB module just type</p>
<p>Get-Command –module Facebook</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image532.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb465.png" width="244" height="91" /></a></p>
<p>&#160;</p>
<p>To get the number of friends you have:</p>
<p>(Get-FBFriends).count</p>
<p>or Get-FBFriends to get a list with name of all FB Friends</p>
<p>&#160;</p>
<p>I like this and I hope to get Remove-FBFriend.</p>
<p>I have lots of FB “Friends” that I got because of some FB Games and It’s hard to delete 600+ users manually <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile14.png" /></p>
<div class="shr-publisher-2686"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F08%2F18%2Ffirst-look-at-the-new-powershell-fb-module%2F' data-shr_title='First+look+at+the+new+PowerShell+FB+Module'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F08%2F18%2Ffirst-look-at-the-new-powershell-fb-module%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F08%2F18%2Ffirst-look-at-the-new-powershell-fb-module%2F' data-shr_title='First+look+at+the+new+PowerShell+FB+Module'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/08/18/first-look-at-the-new-powershell-fb-module/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Problem to add and create deployment shares in MDT 2010</title>
		<link>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/</link>
		<comments>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:54:48 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/</guid>
		<description><![CDATA[I had some problems (major ones) with my local MDT 2010 last night. After a day with lots of scripting against MDT 2010 with PowerShell my MDT 2010 installation just gave me errors when I wanted to add a new &#8230; <a href="http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F07%252F27%252Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Problem%20to%20add%20and%20create%20deployment%20shares%20in%20MDT%202010%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/ammo-4-icon.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ammo-4-icon" border="0" alt="ammo-4-icon" src="http://poweradmin.se/blog/wp-content/uploads/ammo-4-icon_thumb.png" width="100" height="100"></a></p>
<p>I had some problems (major ones) with my local MDT 2010 last night.</p>
<p>After a day with lots of scripting against MDT 2010 with PowerShell my MDT 2010 installation just gave me errors when I wanted to add a new deployment share or when I wanted to open old ones:</p>
<blockquote><p>object reference not set to an instance of an object<br />Microsoft.BDD.Wizards.Controls.DeploymentPointProgress.WizardProcessing</p>
</blockquote>
<p>In my workbench the Deployment Shares folder was empty, no shares there. But when I looked in the user.config file I found that DS004 was in use there.</p>
<p>So my solution was to delete the whole file and restart the workbench.<br />The file can be found here, <font size="2"><strong>C:\Users\currentUser\AppData\Roaming\Microsoft\Microsoft Deployment Toolkit</strong>.</font></p>
<p><font size="2">[Update]<br /></font>DXter sent me this PowerShell oneliner after that I wrote this blog post,&nbsp; </p>
<p>Remove-Item -Path &#8220;$ENV:USERPROFILE\AppData\Roaming\Microsoft\Microsoft Deployment Toolkit\user.config&#8221;</p>
<p>Thanks buddy!</p>
<div class="shr-publisher-2643"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F' data-shr_title='Problem+to+add+and+create+deployment+shares+in+MDT+2010'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F' data-shr_title='Problem+to+add+and+create+deployment+shares+in+MDT+2010'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New release of PowerGUI</title>
		<link>http://poweradmin.se/blog/2011/07/21/new-release-of-powergui/</link>
		<comments>http://poweradmin.se/blog/2011/07/21/new-release-of-powergui/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 19:51:59 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[PowerGUI]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/07/21/new-release-of-powergui/</guid>
		<description><![CDATA[The people from PowerGUI just released a new version. Latest new version is 3.0.0.2015 (2011-07-21). As I often say, PowerGUI is and will always be my favorite PowerShell Editor. And I use the free version. For information about all new &#8230; <a href="http://poweradmin.se/blog/2011/07/21/new-release-of-powergui/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F07%252F21%252Fnew-release-of-powergui%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22New%20release%20of%20PowerGUI%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/image526.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb459.png" width="196" height="131" /></a></p>
<p>The people from PowerGUI just released a new version.   <br />Latest new version is 3.0.0.2015 (2011-07-21).</p>
<p>As I often say, PowerGUI is and will always be my favorite   <br />PowerShell Editor. And I use the free version.</p>
<p>For information about all new features take a look at   <br />Kirks blog post <a href="http://poshoholic.com/2011/07/15/powergui-pro-and-powergui-3-0-are-now-available/" target="_blank">here</a>.</p>
<div class="shr-publisher-2640"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F21%2Fnew-release-of-powergui%2F' data-shr_title='New+release+of+PowerGUI'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F21%2Fnew-release-of-powergui%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F21%2Fnew-release-of-powergui%2F' data-shr_title='New+release+of+PowerGUI'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/07/21/new-release-of-powergui/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PowerShell + AD + QUEST</title>
		<link>http://poweradmin.se/blog/2011/03/15/powershell-ad-quest/</link>
		<comments>http://poweradmin.se/blog/2011/03/15/powershell-ad-quest/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 19:34:02 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[cmdlets]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/03/15/powershell-ad-quest/</guid>
		<description><![CDATA[I have been working with Quest AD cmdlets.Here are my stuff about It… Get it here:http://www.questsoftware.de/powershell/activeroles-server.aspx Install it! Now we need to add the snapin.To find out the name we just write (Get-PSSnapin –Registered).name And then we add it by &#8230; <a href="http://poweradmin.se/blog/2011/03/15/powershell-ad-quest/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F03%252F15%252Fpowershell-ad-quest%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22PowerShell%20%2B%20AD%20%2B%20QUEST%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have been working with Quest AD cmdlets.<br />Here are my stuff about It…</p>
<p>Get it here:<br /><a title="http://www.questsoftware.de/powershell/activeroles-server.aspx" href="http://www.questsoftware.de/powershell/activeroles-server.aspx">http://www.questsoftware.de/powershell/activeroles-server.aspx</a></p>
<p>Install it!</p>
<p>Now we need to add the snapin.<br />To find out the name we just write<strong> (Get-PSSnapin –Registered).name</strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image486.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb419.png" width="494" height="121"></a></p>
<p>And then we add it by writing <strong>Add-PSSnapin Quest.ActiveRoles.ADManagement</strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image487.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb420.png" width="499" height="122"></a></p>
<p>To list the cmdlets we can write <strong>Get-Command *qad*</strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image488.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb421.png" width="501" height="366"></a></p>
<p>To count the cmdlets associated with Quests AD cmdlets we can write<br /><strong>(Get-Command *qad*).count </strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image489.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb422.png" width="503" height="62"></a></p>
<p>This means that we now have 81 new cmdlets loaded <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile8.png"></p>
<p>&nbsp;</p>
<p>In just a oneliner we now can get all users in the AD and export It to a csv file.</p>
<p><strong>Get-QADUser -sizelimit 5000 | select SamAccountName, UserPrincipalName, Name, DN<br />| export-csv C:\scripts\users.txt</strong></p>
<p>&nbsp;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image490.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb423.png" width="505" height="269"></a></p>
<p>And now we can open the csv file in excel and see all the information.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image491.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb424.png" width="505" height="338"></a></p>
<p>And this in under 10 min <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-smile8.png"></p>
<div class="shr-publisher-2481"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F03%2F15%2Fpowershell-ad-quest%2F' data-shr_title='PowerShell+%2B+AD+%2B+QUEST'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F03%2F15%2Fpowershell-ad-quest%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F03%2F15%2Fpowershell-ad-quest%2F' data-shr_title='PowerShell+%2B+AD+%2B+QUEST'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/03/15/powershell-ad-quest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

