DirectoryServices Drive for More Than One Domain?

Aug 28, 2008 at 6:56 PM
I love the DirectoryServices drive that PSCX creates.  However, I manage three domains in three forests.  They all trust each other and my admin account is an admin in all three forests.  How can I create a drive mapped to the current domain I'm working in?  In other words, PSCX creates a drive for the domain your user account belongs to, but if my user account is in DomainA, how do I make a drive for DomainB while I'm logged into a machine in DomainB?

Aug 28, 2008 at 7:50 PM

ps c:\> new-psdrive -Name domainB -PSProvider directoryservices -Root domainB
ps c:\> cd domainB:
ps domainb:\>

Hope this helps,

- Oisin