Archive for June 1st, 2007

PowerShell Dinner @ TechEd

Following the DEC tradition we are planning to have a PowerShell community dinner at TechEd next week. A small and cozy get-together with Microsoft folks, ISVs, and PowerShell community members attending the show. Everyone seemed to love the ones we had at DEC and MMS so the TechEd PowerShell dinner should be as good as the ones before.

We are thinking of having it Wednesday night (but could move to Tuesday is this works better).

If you are attending the show and can make it to the PowerShell dinner please get in touch with me by leaving a comment, sending an email to Dmitry.Sotnikov(at)quest.com, calling on my cell phone or using any other mean of communication you can think of.

See you at the show! Make sure you attend the sessions, make it to the dinner, or just find me by the Quest booth and say hi.

Tags: , , , , , ,

PowerShell: Connecting to a specific DC

This is a question which comes from time to time: how do you make the AD cmdlets work against a particular Domain Controller?

As you probably know you don’t actually need to explicitly connect to a DC to run the cmdlets. If you need a list of users in your domain you just install the cmdlets and run Get-QADUser. This PowerShell cmdlet just runs against the closest DC of the current domain and retrieves the data.

However, what happens if your workstation is not a part of the domain? Or if you are managing a multi-domain/multi-forest environment and want to connect to a different domain than the one in which you are?

In that case the Connect-QADService cmdlet comes really handy. You just run:

Connect-QADService -service 'server.company.com'

And you are connected to that specific domain controller for all subsequent cmdets.

Tags: , , , , , , ,


My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

June 2007
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

%d bloggers like this: