﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><ttl>60</ttl><title>Information</title><link>http://blog.thestautbergs.com</link><lastBuildDate>Wed, 15 Feb 2012 02:43:04 GMT</lastBuildDate><pubDate>Wed, 15 Feb 2012 02:43:04 GMT</pubDate><language>en</language><copyright /><itunes:subtitle> </itunes:subtitle><itunes:author /><itunes:summary /><description /><itunes:owner><itunes:name /><itunes:email>david.stautberg@gmail.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:category text="Arts" /><item><title>Chkdsk utility in Windows 7</title><link>http://blog.thestautbergs.com/2010/07/07/chkdsk-utility-in-windows-7.aspx?ref=rss</link><dc:creator>David Stautberg</dc:creator><description>WINDOWS DESKTOP MANAGEMENT TIPS&lt;BR&gt;How to run the chkdsk utility in Windows 7&lt;BR&gt;Serdar Yegulalp, Contributor&lt;BR&gt;07.06.2010&lt;BR&gt;Rating: -4.00- (out of 5)&lt;BR&gt;&lt;BR&gt;&lt;BR&gt; Enterprise IT tips and expert advice&lt;BR&gt;&lt;BR&gt; Digg This!      StumbleUpon      Del.icio.us&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;The most fragile -- yet critical -- component in any computer is the&lt;BR&gt;hard disk. While hard drives have become much more dependable in the&lt;BR&gt;past 15 years, accidents still happen, and when they do, it's your&lt;BR&gt;data that gets chewed up and spat out like digital bubble gum.&lt;BR&gt;To complement the increased reliability of hard drives, the file&lt;BR&gt;systems used with them have also evolved. In Windows, FAT gave way to&lt;BR&gt;FAT32 and now NTFS (New Technology File System) -- or, rather, NTFS&lt;BR&gt;went from a server-only piece of exotica to the file system used on&lt;BR&gt;the desktop.&lt;BR&gt;&lt;BR&gt;But a few things haven't changed, and one of them is the tool used to&lt;BR&gt;keep the file system consistent when things go wrong: chkdsk.&lt;BR&gt;&lt;BR&gt;What is chkdsk?&lt;BR&gt;Chkdsk's existence is encapsulated in the pronunciation of its name:&lt;BR&gt;check disk. When you run chkdsk from an administrator-level command&lt;BR&gt;line, it analyzes a particular volume -- hard drive, solid-state&lt;BR&gt;drive, removable disk, etc. -- for problems that might indicate an&lt;BR&gt;easily-fixed inconsistency or hardcore data corruption.&lt;BR&gt;&lt;BR&gt;The most common form of the chkdsk command is:&lt;BR&gt;&lt;BR&gt;chkdsk &lt;volume&gt; /f&lt;BR&gt;Where:&lt;BR&gt;&lt;BR&gt;&lt;volume&gt; is a drive letter, e.g., C:&lt;BR&gt;The /f switch tells chkdsk to fix errors and not simply produce a&lt;BR&gt;report about the state of the disk, which is what happens if you run&lt;BR&gt;chkdsk with the volume name as the only parameter and no other&lt;BR&gt;switches.&lt;BR&gt;Note that running without the /f parameter can return incomplete&lt;BR&gt;information about the nature of the problems on a disk, as shown in&lt;BR&gt;Figure 1.&lt;BR&gt;&lt;BR&gt;Figure 1: An instance of chkdsk run without the /f parameter (click to enlarge).&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;If you run chkdsk without /f, the problems discovered may need to be&lt;BR&gt;fixed before other errors can be repaired. Furthermore, you should&lt;BR&gt;always run chkdsk at least one more time to determine if you need to&lt;BR&gt;repair anything afterwards the initial fix.&lt;BR&gt;&lt;BR&gt;Some of the other commonly used switches for chkdsk include the following:&lt;BR&gt;&lt;BR&gt;/v -- Runs chkdsk in verbose mode. It explains in great detail which&lt;BR&gt;actions, if any, are being taken as it runs.&lt;BR&gt;/x -- Dismounts the volume to be checked before the check is run. If&lt;BR&gt;you're checking a nonsystem volume, use this option because it&lt;BR&gt;guarantees that the drive will not be accessed by other programs in&lt;BR&gt;the system during the check process. If you don't pass this parameter&lt;BR&gt;and you try to run chkdsk on a volume that's mounted, you'll be asked&lt;BR&gt;if you want to dismount it first. A volume that the system is using,&lt;BR&gt;-- such as the drive with the /Windows directory, can't be dismounted.&lt;BR&gt;Instead, you'll be asked if you want to run the disk check at the next&lt;BR&gt;reboot.&lt;BR&gt;/r -- Attempts to scan for and recover information from bad sectors on&lt;BR&gt;the disk. This option takes a long time to run -- hours on end for&lt;BR&gt;large drives. As a result, it should be used only if you want to&lt;BR&gt;recover information from a damaged disk that's been taken offline from&lt;BR&gt;its host.&lt;BR&gt;/i and /c -- These two options attempt to speed up checking NTFS&lt;BR&gt;volumes by skipping certain indexes and cycles, respectively, within&lt;BR&gt;the folder structure.&lt;BR&gt;For a full list of options, type chkdsk /? in the command line.&lt;BR&gt;&lt;BR&gt;Note that chkdsk must always be run with elevated privileges. If you&lt;BR&gt;try to run it as a nonadministrative user, it will print the following&lt;BR&gt;error to the console:&lt;BR&gt;&lt;BR&gt;Access Denied as you do not have sufficient privileges. You have to&lt;BR&gt;invoke this utility running in elevated mode.&lt;BR&gt;Chkdsk in action&lt;BR&gt;If chkdsk is needed, it will usually run automatically. For example,&lt;BR&gt;if your system crashes or its power is interrupted, chkdsk may run the&lt;BR&gt;next time the system boots. This happens if one or more of the volumes&lt;BR&gt;in the system has its "dirty bit" set -- a flag on an NTFS volume that&lt;BR&gt;indicates a write was pending for that disk. Chkdsk runs for that&lt;BR&gt;volume to determine if all is well.&lt;BR&gt;&lt;BR&gt;Regardless if chkdsk runs automatically or not, you should always run&lt;BR&gt;it on a volume in the following scenarios:&lt;BR&gt;&lt;BR&gt;If applications behave strangely or certain files cannot be read after&lt;BR&gt;a blue screen of death (BSOD) or an application crash&lt;BR&gt;If a disk was unmounted from the system without warning (as when a&lt;BR&gt;cable comes unplugged), and it doesn't reliably read when remounted&lt;BR&gt;If a disk appears to have suffered physical damage. Even if it's&lt;BR&gt;readable, it's generally best to inspect it completely if the contents&lt;BR&gt;are critical with the /r option.&lt;BR&gt;The end results of any chkdsk operation are written to the application&lt;BR&gt;log with the event ID 26214, as shown in Figure 2.&lt;BR&gt;&lt;BR&gt;Figure 2: The results of a chkdsk operation as written to the&lt;BR&gt;application event log (click to enlarge).&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Chkdsk from the Recovery Console&lt;BR&gt;Chkdsk can also run from the Recovery Console in Windows XP. The&lt;BR&gt;options in the Recovery Console version of chkdsk are limited to /p,&lt;BR&gt;which is the same as /f, and /r.&lt;BR&gt;&lt;BR&gt;More on desktop management&lt;BR&gt;&lt;BR&gt;Book chapter How to run the Chkdsk utility in Windows Vista&lt;BR&gt;&lt;BR&gt;Tools Cleaning up PCs with Sysinternals&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Running chkdsk from the Recovery Console is one way to determine if&lt;BR&gt;the system volume has been damaged, especially if the system was&lt;BR&gt;unexpectedly shut down and you didn't have an opportunity to schedule&lt;BR&gt;a chkdsk operation beforehand.&lt;BR&gt;&lt;BR&gt;Note that running chkdsk from the Recovery Console doesn't log the&lt;BR&gt;output to the application log, since the appropriate services aren't&lt;BR&gt;running.&lt;BR&gt;&lt;BR&gt;Chkdsk and self-healing NTFS in Windows 7&lt;BR&gt;Some of the best new features in Windows Vista and Windows 7 were&lt;BR&gt;slipped in under the hood when no one was looking. This includes&lt;BR&gt;Self-Healing NTFS, a feature that improves how errors detected by the&lt;BR&gt;file subsystem would be isolated, scrubbed and repaired in the&lt;BR&gt;background.&lt;BR&gt;&lt;BR&gt;As a result of this feature, Chkdsk needs to run less often.&lt;BR&gt;&lt;BR&gt;A possible downside of self-healing NTFS is that the spot checks can&lt;BR&gt;silently delete data without the user's knowledge. Personally, I think&lt;BR&gt;this would happen only if you're dealing with flaky disk hardware, but&lt;BR&gt;it's possible to not know about flaky disk hardware until after&lt;BR&gt;something bad occurs.&lt;BR&gt;&lt;BR&gt;To that end, Microsoft added BugCheckOnCorrupt to NTFS. This feature&lt;BR&gt;does exactly what you think it does: If the system discovers NTFS&lt;BR&gt;corruption, it throws a blue screen of death and shuts everything down&lt;BR&gt;instead of attempting to spot fix it.&lt;BR&gt;&lt;BR&gt;This may sound counterintuitive: Why would you want the system to&lt;BR&gt;crash in such a circumstance? But the idea is to stop the system from&lt;BR&gt;doing anything that might corrupt data, including attempting a repair,&lt;BR&gt;which could do more damage.&lt;BR&gt;&lt;BR&gt;Although triggering a bug check may be extreme, it allows you to stop&lt;BR&gt;everything and make an image of the disk, or a backup of the most&lt;BR&gt;crucial data, before attempting a repair operation with chkdsk.&lt;BR&gt;&lt;BR&gt;To turn on BugCheckOnCorrupt, issue the following command from an&lt;BR&gt;admin privilege command line:&lt;BR&gt;&lt;BR&gt;fsutil behavior set BugcheckOnCorrupt 1&lt;BR&gt;Reboot and then issue the following command, again from an&lt;BR&gt;administrative command line, for each drive you want to check:&lt;BR&gt;&lt;BR&gt;fsutil repair set &lt;drive name&gt; 0x10&lt;BR&gt;The command fsutil repair query &lt;drive name&gt; determines the repair&lt;BR&gt;status for a given drive. To disable BugCheckOnCorrupt for a&lt;BR&gt;particular drive, use fsutil repair set &lt;drive name&gt; 0x1; to turn it&lt;BR&gt;off completely systemwide, use fsutil behavior set BugCheckOnCorrupt&lt;BR&gt;0.&lt;BR&gt;&lt;BR&gt;Remember, you don't have to set BugCheckOnCorrupt unless you have&lt;BR&gt;doubts about the quality of your disk hardware.&lt;BR&gt;&lt;BR&gt;Chkdsk and BugCheckOnCorrupt are critical utilities for monitoring&lt;BR&gt;Windows 7 systems. Knowing how to use them can help you when hardware&lt;BR&gt;goes bad.&lt;BR&gt;</description><category>Support Info</category><comments>http://blog.thestautbergs.com/2010/07/07/chkdsk-utility-in-windows-7.aspx#Comments</comments><guid isPermaLink="false">605f9112-c02c-4784-ad5f-5ad37b0f17ce</guid><pubDate>Wed, 07 Jul 2010 16:40:30 GMT</pubDate></item><item><title>Rebuild Exchange 2007 server after a crash</title><link>http://blog.thestautbergs.com/2010/07/07/rebuild-exchange-2007-server-after-a-crash.aspx?ref=rss</link><dc:creator>David Stautberg</dc:creator><description>EXCHANGE SERVER ADMINISTRATION TIPS&lt;BR&gt;Rebuild an Exchange 2007 server after a crash&lt;BR&gt;Brien Posey, Contributor&lt;BR&gt;06.30.2010&lt;BR&gt;Rating: --- (out of 5)&lt;BR&gt;&lt;BR&gt;&lt;BR&gt; Exchange Server tips, tutorials and expert advice&lt;BR&gt;&lt;BR&gt; Digg This!      StumbleUpon      Del.icio.us&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;If you're rebuilding a damaged Exchange 2007 server, the first thing&lt;BR&gt;you need to do is return Windows to a functional state. After&lt;BR&gt;reinstalling Windows you must make sure that your server's disk is&lt;BR&gt;configured identically to how it was on the failed server.&lt;BR&gt;&lt;BR&gt;If Windows wasn't damaged during the crash, it's best to leave the&lt;BR&gt;operating system alone. This will save you work, and will also help to&lt;BR&gt;preserve some of the things that are unique to that server.&lt;BR&gt;&lt;BR&gt;For example, client access servers almost always have SSL certificates&lt;BR&gt;installed. These certificates are stored locally on the server and&lt;BR&gt;they are not a part of Exchange. Because of this, certificates will&lt;BR&gt;have to be reissued unless you're able to preserve the operating&lt;BR&gt;system.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;You also need to install all of Exchange Server's required components,&lt;BR&gt;just as you did when you initially installed Exchange 2007. I also&lt;BR&gt;recommend that you apply the same set of patches to the OS that were&lt;BR&gt;in place before the crash.&lt;BR&gt;&lt;BR&gt;After you've installed and configured Windows, you need to attach it&lt;BR&gt;to the domain. And it's critical that you do this correctly. Your&lt;BR&gt;Exchange Server configuration is tied to the computer account, which&lt;BR&gt;is connected to your old server. Before connecting your server to&lt;BR&gt;Active Directory, you must reset the computer account.&lt;BR&gt;&lt;BR&gt;To reset the computer account, open Active Directory Users and&lt;BR&gt;Computers and select the Computers container. Next, right-click on the&lt;BR&gt;name of the failed server and select the Reset Account command.&lt;BR&gt;Finally, assign your Exchange Server the same name as the failed&lt;BR&gt;server and then join the domain as you normally would. Do not delete&lt;BR&gt;the old server's computer account. If you do, it will be impossible to&lt;BR&gt;rebuild Exchange Server.&lt;BR&gt;&lt;BR&gt;After you've properly configured Windows, it's time to rebuild&lt;BR&gt;Exchange Server 2007. To begin, insert your Exchange installation&lt;BR&gt;media and run the following command:&lt;BR&gt;&lt;BR&gt;Setup.exe /M:RecoverServer&lt;BR&gt;&lt;BR&gt;Be sure that your installation media includes the same service pack&lt;BR&gt;that was previously installed.&lt;BR&gt;&lt;BR&gt;When you execute this command, Setup will:&lt;BR&gt;&lt;BR&gt;Check the prerequisite to ensure that all necessary components are installed&lt;BR&gt;Copy Exchange binaries to the server&lt;BR&gt;Use Active Directory to configure the server.&lt;BR&gt;When I first attempted the recovery process, it would not complete&lt;BR&gt;because my edge synchronization had broken. A TechNet article advised&lt;BR&gt;me to use the Exchange Management Shell (EMS) to remove the edge&lt;BR&gt;subscription, then to manually reestablish it once the server was&lt;BR&gt;functioning.&lt;BR&gt;&lt;BR&gt;At first I was discouraged because the crash had destroyed the&lt;BR&gt;Exchange Management Console and Exchange Management Shell. However, I&lt;BR&gt;was pleasantly surprised to find that the management tools had been&lt;BR&gt;reinstalled and returned to a functional state when I copied the&lt;BR&gt;Exchange binaries. This made it easy to use the&lt;BR&gt;Remove-EdgeSubscription command to remove my edge subscription. After&lt;BR&gt;that, I was able to rerun Setup and rebuild my server.&lt;BR&gt;&lt;BR&gt;About the author: Brien M. Posey, MCSE, is a six-time recipient of&lt;BR&gt;Microsoft's Most Valuable Professional (MVP) award for his work with&lt;BR&gt;Exchange Server, Windows Server, Internet Information Services (IIS),&lt;BR&gt;and File Systems and Storage. Brien has served as CIO for a nationwide&lt;BR&gt;chain of hospitals and was once responsible for the Department of&lt;BR&gt;Information Management at Fort Knox. As a freelance technical writer,&lt;BR&gt;Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D,&lt;BR&gt;Relevant Technologies and other technology companies. You can visit&lt;BR&gt;Brien's personal website at www.brienposey.com.&lt;BR&gt;</description><category>Support Info</category><comments>http://blog.thestautbergs.com/2010/07/07/rebuild-exchange-2007-server-after-a-crash.aspx#Comments</comments><guid isPermaLink="false">9f455cbb-474d-4afb-9999-3bcf5ec79e90</guid><pubDate>Wed, 07 Jul 2010 16:32:06 GMT</pubDate></item><item><title>Alternative Power Shell Commands</title><link>http://blog.thestautbergs.com/2010/07/07/-email-entry-.aspx?ref=rss</link><dc:creator>David Stautberg</dc:creator><description>WINDOWS SYSTEMS AND NETWORK ADMINISTRATION&lt;br /&gt;
Alternative PowerShell commands for Active Directory management&lt;br /&gt;
Brandon Shell, Contributor&lt;br /&gt;
07.06.2010&lt;br /&gt;
Rating: --- (out of 5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Expert advice on Windows-based systems and hardware&lt;br /&gt;
&lt;br /&gt;
Digg This!      StumbleUpon      Del.icio.us&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Previously, we looked at how PowerShell can be used to manage Active&lt;br /&gt;
Directory in Windows Server 2008 R2. In this article, we'll cover some&lt;br /&gt;
alternatives to the Microsoft cmdlets.&lt;br /&gt;
&lt;br /&gt;
The benefit to these other options is that there are no dependencies&lt;br /&gt;
-- well, other than the Active Directory cmdlets themselves. These&lt;br /&gt;
cmdlets are provided by Quest Software and my own open source module,&lt;br /&gt;
called BSonPosh.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recent PowerShell columns&lt;br /&gt;
&lt;br /&gt;
Making Windows PowerShell your own&lt;br /&gt;
&lt;br /&gt;
How to customize your Windows PowerShell environment&lt;br /&gt;
&lt;br /&gt;
The terms and commands you absolutely need to know&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Quest was really the first on the Active Directory scene, and it has&lt;br /&gt;
also been around since the early days of Windows PowerShell (about&lt;br /&gt;
four years), so the cmdlets are very mature. They have no dependencies&lt;br /&gt;
on anything specific, and while the cmdelts work against all "Active&lt;br /&gt;
Directories," they can also target a Quest ActiveRoles Server, which&lt;br /&gt;
provides a much higher degree of object management and security.&lt;br /&gt;
Outside of that, they behave very much the same as the Microsoft&lt;br /&gt;
cmdlets.&lt;br /&gt;
&lt;br /&gt;
The one weakness of these Quest cmdlets is that they don't venture&lt;br /&gt;
into the realm of infrastructure management, which is why I wrote the&lt;br /&gt;
BSonPosh module to fill the gap. To be clear, my module covers far&lt;br /&gt;
more than just Active Directory, but the AD infrastructure management&lt;br /&gt;
coverage is pretty good.&lt;br /&gt;
&lt;br /&gt;
While we don't have the time or space to cover the entire set of&lt;br /&gt;
cmdlets offered by Quest and BSonPosh, we can take a look at a few of&lt;br /&gt;
the more prominent ones in both management categories.&lt;br /&gt;
&lt;br /&gt;
Note: You may notice the Quest cmdlets have a verb prefix of QAD.&lt;br /&gt;
This allows&lt;br /&gt;
them to play nice with other Active Directory cmdlet providers.&lt;br /&gt;
&lt;br /&gt;
Object management (Quest)&lt;br /&gt;
&lt;br /&gt;
Get-QADUser -- gets a specific user object or does a search for user&lt;br /&gt;
objects that match the query&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
# Get the user account for a user with ambiguous name&lt;br /&gt;
resolution (ANR)&lt;br /&gt;
of BSonPosh&lt;br /&gt;
Get-QADUser bsonposh&lt;br /&gt;
&lt;br /&gt;
# Get all the users that have the BSonPosh as manager&lt;br /&gt;
Get-QADUser â€"Manager bsonposh&lt;br /&gt;
# Get all the users that have the last name "Shell"&lt;br /&gt;
using LDAP filter&lt;br /&gt;
Get-QADUser -LDAPFilter "(sn=shell)"&lt;br /&gt;
For more examples:&lt;br /&gt;
Get-help Get-QADUser â€"example&lt;br /&gt;
&lt;br /&gt;
Get-QADComputer -- gets a specific computer object or does a search&lt;br /&gt;
for computer objects that match the query&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
# Get all the computers in a given organization unit (OU)&lt;br /&gt;
Get-QADComputer -SearchRoot "OU=XenDesktop,DC=Dev,DC=Lab"&lt;br /&gt;
&lt;br /&gt;
# Get all the computers with a given role (i.e. member,&lt;br /&gt;
DC, undefined)&lt;br /&gt;
Get-QADComputer â€"ComputerRole DC&lt;br /&gt;
# Find all Windows 7 machines&lt;br /&gt;
Get-QADComputer â€"OSName "Windows 7*"&lt;br /&gt;
For more examples:&lt;br /&gt;
Get-help Get-QADComputer â€"example&lt;br /&gt;
&lt;br /&gt;
Get-QADGroup -- gets a specific group object or does a search for&lt;br /&gt;
group objects that match the query&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
# List all the universal groups&lt;br /&gt;
Get-QADGroup -GroupScope 'Universal'&lt;br /&gt;
&lt;br /&gt;
# Get the group members&lt;br /&gt;
Get-QADGroup "domain Admins" | select -ExpandProperty&lt;br /&gt;
member&lt;br /&gt;
# An easier way to get group members&lt;br /&gt;
Get-ADGroupMember "Domain Admins"&lt;br /&gt;
# Find empty groups&lt;br /&gt;
Get-QADGroup â€"empty $true&lt;br /&gt;
For more examples:&lt;br /&gt;
Get-help Get-QADGroup â€"example&lt;br /&gt;
&lt;br /&gt;
Infrastructure management (BSonPosh)&lt;br /&gt;
&lt;br /&gt;
Get-Forest -- returns the current forest&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
# Get the current forest&lt;br /&gt;
Get-Forest&lt;br /&gt;
&lt;br /&gt;
# Get the forest for a specific domain controller (DC)&lt;br /&gt;
Get-Forest â€"DomainController CoreDC&lt;br /&gt;
For more examples:&lt;br /&gt;
Get-help Get-Forest â€"example&lt;br /&gt;
&lt;br /&gt;
Get-Domain -- returns a domain object&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
# Gets the current domain&lt;br /&gt;
Get-Domain&lt;br /&gt;
&lt;br /&gt;
# Gets the domain of specified DC&lt;br /&gt;
Get-Domain -DomainController CoreDC&lt;br /&gt;
For more examples:&lt;br /&gt;
Get-help Get-Domain â€"example&lt;br /&gt;
&lt;br /&gt;
Get-DomainController -- returns a domain controller object that&lt;br /&gt;
matches the parameters passed&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
# Gets the current domain controller for the user session&lt;br /&gt;
Get-DomainController&lt;br /&gt;
&lt;br /&gt;
# Gets domain controllers with specific names (RegEx)&lt;br /&gt;
Get-DomainController -Filter "mydc(nyc|dr)\d"&amp;gt;&lt;br /&gt;
# Returns all DCs in a given domain&lt;br /&gt;
Get-DomainController â€"Domain Dev.Lab&lt;br /&gt;
For more examples:&lt;br /&gt;
Get-help Get-DomainController-example&lt;br /&gt;
&lt;br /&gt;
Get-FSMO -- returns the operation masters for forest/domain&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
# Returns all the Flexible Single Master Operations&lt;br /&gt;
(FSMO) for the forest&lt;br /&gt;
and domain&lt;br /&gt;
Get-FSMO&lt;br /&gt;
&lt;br /&gt;
# Returns just the domain FSMO&lt;br /&gt;
Get-FSMO â€"Domain&lt;br /&gt;
# Returns the forest FSMO&lt;br /&gt;
Get-FSMO â€"Forest&lt;br /&gt;
For more examples:&lt;br /&gt;
Get-help Get-FSMO â€"example&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is a list of all the cmdlets provided with the Quest Active&lt;br /&gt;
Directory module:&lt;br /&gt;
&lt;br /&gt;
Add-QADGroupMember&lt;br /&gt;
&lt;br /&gt;
Add-QADMemberOf&lt;br /&gt;
&lt;br /&gt;
Add-QADPasswordSettingsObjectAppliesTo&lt;br /&gt;
&lt;br /&gt;
Add-QADPermission&lt;br /&gt;
&lt;br /&gt;
Approve-QARSApprovalTask&lt;br /&gt;
&lt;br /&gt;
Connect-QADService&lt;br /&gt;
&lt;br /&gt;
Convert-QADAttributeValue&lt;br /&gt;
&lt;br /&gt;
Deprovision-QADUser&lt;br /&gt;
&lt;br /&gt;
Disable-QADUser&lt;br /&gt;
&lt;br /&gt;
Disconnect-QADService&lt;br /&gt;
&lt;br /&gt;
Enable-QADUser&lt;br /&gt;
&lt;br /&gt;
Get-QADComputer&lt;br /&gt;
&lt;br /&gt;
Get-QADGroup&lt;br /&gt;
&lt;br /&gt;
Get-QADGroupMember&lt;br /&gt;
&lt;br /&gt;
Get-QADMemberOf&lt;br /&gt;
&lt;br /&gt;
Get-QADObject&lt;br /&gt;
&lt;br /&gt;
Get-QADObjectSecurity&lt;br /&gt;
&lt;br /&gt;
Get-QADPasswordSettingsObject&lt;br /&gt;
&lt;br /&gt;
Get-QADPasswordSettingsObjectAppliesTo&lt;br /&gt;
&lt;br /&gt;
Get-QADPermission&lt;br /&gt;
&lt;br /&gt;
Get-QADPSSnapinSettings&lt;br /&gt;
&lt;br /&gt;
Get-QADRootDSE&lt;br /&gt;
&lt;br /&gt;
Get-QADUser&lt;br /&gt;
&lt;br /&gt;
Get-QARSAccessTemplate&lt;br /&gt;
&lt;br /&gt;
Get-QARSAccessTemplateLink&lt;br /&gt;
&lt;br /&gt;
Get-QARSApprovalTask&lt;br /&gt;
&lt;br /&gt;
Get-QARSOperation&lt;br /&gt;
&lt;br /&gt;
Move-QADObject&lt;br /&gt;
&lt;br /&gt;
New-QADGroup&lt;br /&gt;
&lt;br /&gt;
New-QADObject&lt;br /&gt;
&lt;br /&gt;
New-QADPasswordSettingsObject&lt;br /&gt;
&lt;br /&gt;
New-QADUser&lt;br /&gt;
&lt;br /&gt;
New-QARSAccessTemplateLink&lt;br /&gt;
&lt;br /&gt;
Reject-QARSApprovalTask&lt;br /&gt;
&lt;br /&gt;
Remove-QADGroupMember&lt;br /&gt;
&lt;br /&gt;
Remove-QADMemberOf&lt;br /&gt;
&lt;br /&gt;
Remove-QADObject&lt;br /&gt;
&lt;br /&gt;
Remove-QADPasswordSettingsObjectAppliesTo&lt;br /&gt;
&lt;br /&gt;
Remove-QADPermission&lt;br /&gt;
&lt;br /&gt;
Remove-QARSAccessTemplateLink&lt;br /&gt;
&lt;br /&gt;
Rename-QADObject&lt;br /&gt;
&lt;br /&gt;
Restore-QADDeletedObject&lt;br /&gt;
&lt;br /&gt;
Set-QADGroup&lt;br /&gt;
&lt;br /&gt;
Set-QADObject&lt;br /&gt;
&lt;br /&gt;
Set-QADObjectSecurity&lt;br /&gt;
&lt;br /&gt;
Set-QADPSSnapinSettings&lt;br /&gt;
&lt;br /&gt;
Set-QADUser&lt;br /&gt;
&lt;br /&gt;
Set-QARSAccessTemplateLink&lt;br /&gt;
&lt;br /&gt;
Unlock-QADUser&lt;br /&gt;
And finally, here are all of the Active Directory cmdlets that can be&lt;br /&gt;
found in the BSonPosh module:&lt;br /&gt;
&lt;br /&gt;
ConvertTo-DistinguishedName&lt;br /&gt;
&lt;br /&gt;
ConvertTo-DNSName&lt;br /&gt;
&lt;br /&gt;
ConvertTo-Name&lt;br /&gt;
&lt;br /&gt;
ConvertTo-NetbiosName&lt;br /&gt;
&lt;br /&gt;
ConvertTo-Sid&lt;br /&gt;
&lt;br /&gt;
ConvertTo-UACFLag&lt;br /&gt;
&lt;br /&gt;
Get-ADACL&lt;br /&gt;
&lt;br /&gt;
Get-DCConnectionObject&lt;br /&gt;
&lt;br /&gt;
Get-Domain&lt;br /&gt;
&lt;br /&gt;
Get-DomainController&lt;br /&gt;
&lt;br /&gt;
Get-Forest&lt;br /&gt;
&lt;br /&gt;
Get-FSMO&lt;br /&gt;
&lt;br /&gt;
Get-Schema&lt;br /&gt;
&lt;br /&gt;
Get-SchemaClass&lt;br /&gt;
&lt;br /&gt;
Get-SchemaOID&lt;br /&gt;
&lt;br /&gt;
Get-SchemaProperty&lt;br /&gt;
&lt;br /&gt;
Get-SiteLink&lt;br /&gt;
&lt;br /&gt;
Get-Site&lt;br /&gt;
&lt;br /&gt;
New-ADACE&lt;br /&gt;
&lt;br /&gt;
Set-ADACL&lt;br /&gt;
You can find more on using these PowerShell cmdlets for Active&lt;br /&gt;
Directory object and infrastructure management via the online help for&lt;br /&gt;
Quest cmdlets and the source code for BSonPosh.&lt;br /&gt;
&lt;br /&gt;
Miss a column? Check out our Scripting School archive.&lt;br /&gt;
&lt;br /&gt;
ABOUT THE AUTHOR&lt;br /&gt;
Brandon Shell has been in the IT industry since 1994. He started out&lt;br /&gt;
as a PC tech and general fix-it guy for numerous companies. In 2007,&lt;br /&gt;
he joined the PowerShell MVP ranks, and Shell has spent the past&lt;br /&gt;
several years building his PowerShell knowledge and helping others&lt;br /&gt;
build theirs.</description><category>Support Info</category><comments>http://blog.thestautbergs.com/2010/07/07/-email-entry-.aspx#Comments</comments><guid isPermaLink="false">e8be83c3-6150-423e-ae11-2b52bbcaa68f</guid><pubDate>Wed, 07 Jul 2010 16:21:06 GMT</pubDate></item><item><title>Top 8 questions to ask a potential employer!</title><link>http://blog.thestautbergs.com/2009/05/06/top-8-questions-to-ask-a-potential-employer.aspx?ref=rss</link><dc:creator>David Stautberg</dc:creator><description>&lt;div&gt;

&lt;ol&gt;
 &lt;li&gt;What are your =
company&amp;#8217;s
     strengths and weaknesses compare to its =
competition?&lt;/li&gt;
 &lt;li&gt;What is the =
organizations plane
     for the next five years and how does this department fit =
in?&lt;/li&gt;
 &lt;li&gt;What are the day to =
day
     responsibilities of this job?&lt;/li&gt;
 &lt;li&gt;Could you describe =
your
     companies management and style and the type of employee that fits =
well
     within it?&lt;/li&gt;
 &lt;li&gt;What is the =
company&amp;#8217;s
     policy on providing seminars, workshops, and training so that =
employees
     can keep up with their skills or acquire new =
ones?&lt;/li&gt;
 &lt;li&gt;What kind of work can =
I expect
     to be doing in the first year?&lt;/li&gt;
 &lt;li&gt;How much opportunity =
will I
     have for decision-making in my first =
assignment?&lt;/li&gt;
 &lt;li&gt;Can you describe your =
ideal
     employee.&lt;/li&gt;
&lt;/ol&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;

&lt;/div&gt;</description><category>Support Info</category><comments>http://blog.thestautbergs.com/2009/05/06/top-8-questions-to-ask-a-potential-employer.aspx#Comments</comments><guid isPermaLink="false">52ec95d6-dff2-49e0-977d-480b1ff7401a</guid><pubDate>Wed, 06 May 2009 13:41:13 GMT</pubDate></item></channel></rss>
