<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:weblogs' matching tags 'Windows Server 2008' and 'PowerShell'</title><link>http://msmvps.com/search/SearchResults.aspx?q=app:weblogs&amp;tag=Windows+Server+2008,PowerShell&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:weblogs' matching tags 'Windows Server 2008' and 'PowerShell'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>How Active Directory PowerShell CMDLETS find a DC running Active Directory Web Services</title><link>http://msmvps.com/blogs/ad/archive/2010/01/25/how-active-directory-powershell-cmdlets-find-a-dc-running-active-directory-web-services.aspx</link><pubDate>Mon, 25 Jan 2010 06:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1753371</guid><dc:creator>BrianM</dc:creator><description>&lt;p&gt;If you have been playing with the the AD PowerShell cmdlets you know that it requires a few things to run, first Windows Server 2008 R2 or Windows 7, the .NET Framework 3.5.1 and of course if you want to manage an AD domain you need Active Directory Web Services (ADWS) installed on at least one domain controller.&amp;#160; &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;By the way ADWS requires TCP port 9389&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So how in the world does a Windows 7 system know how to find a DC running ADWS?&amp;#160; Well your client running PowerShell will use the normal DC locator process.&amp;#160; First the client will determine which site it is in &lt;em&gt;nltest /dsgetsite&lt;/em&gt; and then it will determine the closest DC &lt;em&gt;nltest /dsgetdc:&amp;lt;FQDN Domain&amp;gt;.&amp;#160; &lt;/em&gt;It is looking at the DC for the following flag:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;DS_WEB_SERVICE_REQUIRED&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;More info on that flag can be found &lt;a href="http://msdn.microsoft.com/en-us/library/ms675983.aspx" target="_blank"&gt;here&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;Now what if you don’t have Server 2008 R2 DCs?&amp;#160; With Server 2003 and Server 2008 a problem occurs because the Net Logon service of those domain controllers does not recognize the &lt;em&gt;DS_WEB_SERVICE_REQUIRED&lt;/em&gt; flag.&amp;#160; There are two hotfixes (one for what ever version of AD you are running) available to fix that in those environments.&amp;#160; &lt;a href="http://support.microsoft.com/kb/969429" target="_blank"&gt;Server 2003&lt;/a&gt; and &lt;a href="http://support.microsoft.com/kb/967574" target="_blank"&gt;Server 2008&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After you install this hotfix the AD PowerShell module and Active Directory Administrative Center will be able to locate DCs that have &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=008940c6-0296-4597-be3e-1d24c1cf0dda" target="_blank"&gt;Active Directory Management Gateway Service&lt;/a&gt; installed, similar to Active Directory Web Services (ADWS) on a Windows Server 2008 R2-based computer. &lt;/p&gt;</description></item><item><title>PowerShell Script Center</title><link>http://msmvps.com/blogs/ad/archive/2009/10/14/powershell-script-center.aspx</link><pubDate>Wed, 14 Oct 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1749809</guid><dc:creator>BrianM</dc:creator><description>&lt;p&gt;I’m sure a lot of you have been playing with PowerShell.&amp;#160; If not you better get on it!!!&amp;#160; I’m not as far along as I wish I was but there is help out there.&amp;#160; One great place is to see what others have done.&amp;#160; Microsoft’s TechNet Scripting Center has a place where you can upload your own scripts and search what others have done.&amp;#160; This is great for a community of learning developers…did I just say developers…ewwwww.&amp;#160; :)&lt;/p&gt;  &lt;p&gt;This &lt;a href="http://gallery.technet.microsoft.com/ScriptCenter/en-us/site/search?f%5B0%5D.Type=SearchText&amp;amp;f%5B0%5D.Value=active%20directory&amp;amp;f%5B1%5D.Type=RootCategory&amp;amp;f%5B1%5D.Value=activedirectory&amp;amp;f%5B1%5D.Text=Active%20Directory" target="_blank"&gt;link&lt;/a&gt; provides a shortcut to filter just the Active Directory related scripts.&amp;#160; From here you can find scripts on Computer Accounts, Domains, Groups, Monitoring, OUs, Searching Active Directory, Sites and Subnets and User Accounts!&lt;/p&gt;  &lt;p&gt;If you want to just view all the PowerShell scripts just hit this URL - &lt;a title="http://gallery.technet.microsoft.com/ScriptCenter/en-us" href="http://gallery.technet.microsoft.com/ScriptCenter/en-us"&gt;http://gallery.technet.microsoft.com/ScriptCenter/en-us&lt;/a&gt;.&amp;#160; Here you will scripts on Active Directory, Applications, Backup and System Restore, Databases, Desktop Management, Group Policy, Hardware, Interoperability and Migration, Local Account Management, Logs and monitoring, Messaging &amp;amp; Communication, Multimedia, Networking, Office, Operating System, Other Directory Services, Printing, Remote Desktop Services, Scripting Techniques, Security, Servers, Storage, System Center, Using the Internet and Windows Update.&amp;#160; WOW that is a wealth of info.&lt;/p&gt;  &lt;p&gt;Enjoy and please share if you have any cool ones yourself.&lt;/p&gt;</description></item></channel></rss>