RE: PowerShell and DC's

2012-03-07 Thread Chris Boller
Hi,



How about get-exchangeserver -status servername | fl current*



and put ,static* on the end to show if you have any static ones



Cheers, Chris




From: Kleciak, Clint D A7IT [clint.klec...@cigna.com]
Sent: 07 March 2012 15:41
To: MS-Exchange Admin Issues
Subject: PowerShell and DC's

Does any know the PS command to find out what DC's Exchange is using?  Ex 2007, 
PowerShell 2.0.

Not much showing much on google unless I am doing something wrong.

thanks
--
CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown.
This email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity to
whom it is intended even if addressed incorrectly.  Please delete it from
your files if you are not the intended recipient.  Thank you for your
compliance.  Copyright (c) 2012 Cigna
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: PowerShell and DC's

2012-03-07 Thread Robinson, Chuck
Get-ExchangeServer | fl Identity, currentdomaincontrollers

Chuck Robinson
___
Sr. Solutions Architect
Microsoft Certified Master: Exchange 2010
MCITP: EA Windows Server 2008

EMC Consulting
Mobile: 973-865-0394
chuck.robin...@emc.com 
www.emc.com/consulting
 
Transforming Information Into Business Results

-Original Message-
From: Kleciak, Clint D A7IT [mailto:clint.klec...@cigna.com] 
Sent: Wednesday, March 07, 2012 10:42 AM
To: MS-Exchange Admin Issues
Subject: PowerShell and DC's

Does any know the PS command to find out what DC's Exchange is using?  Ex 2007, 
PowerShell 2.0. 

Not much showing much on google unless I am doing something wrong.

thanks
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This information 
is intended only for the use of the individual(s) or entity to whom it is 
intended even if addressed incorrectly.  Please delete it from your files if 
you are not the intended recipient.  Thank you for your compliance.  Copyright 
(c) 2012 Cigna 
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



RE: PowerShell and DC's

2012-03-07 Thread Campbell, Rob
Not sure about 2007.  On 2010:

get-exchangeserver -status | select name,*controller*,*catalog*

-Original Message-
From: Kleciak, Clint D A7IT [mailto:clint.klec...@cigna.com] 
Sent: Wednesday, March 07, 2012 9:42 AM
To: MS-Exchange Admin Issues
Subject: PowerShell and DC's

Does any know the PS command to find out what DC's Exchange is using?  Ex 2007, 
PowerShell 2.0. 

Not much showing much on google unless I am doing something wrong.

thanks
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This information 
is intended only for the use of the individual(s) or entity to whom it is 
intended even if addressed incorrectly.  Please delete it from your files if 
you are not the intended recipient.  Thank you for your compliance.  Copyright 
(c) 2012 Cigna 
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


**
Note: 
The information contained in this message may be privileged and confidential 
and 
protected from disclosure.  If the reader of this message is not the intended  
recipient, or an employee or agent responsible for delivering this message to  
the intended recipient, you are hereby notified that any dissemination,   
distribution or copying of this communication is strictly prohibited. If you  
have received this communication in error, please notify us immediately by  
replying to the message and deleting it from your computer. 
**



---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



RE: PowerShell and DC's

2012-03-07 Thread Kleciak, Clint D A7IT
Tried that but only get back {}.  Not using static DC's.

Thanks


-Original Message-
From: Robinson, Chuck [mailto:chuck.robin...@emc.com] 
Sent: Wednesday, March 07, 2012 11:23 AM
To: MS-Exchange Admin Issues
Subject: RE: PowerShell and DC's

Get-ExchangeServer | fl Identity, currentdomaincontrollers

Chuck Robinson
___
Sr. Solutions Architect
Microsoft Certified Master: Exchange 2010
MCITP: EA Windows Server 2008

EMC Consulting
Mobile: 973-865-0394
chuck.robin...@emc.com 
www.emc.com/consulting
 
Transforming Information Into Business Results

-Original Message-
From: Kleciak, Clint D A7IT [mailto:clint.klec...@cigna.com] 
Sent: Wednesday, March 07, 2012 10:42 AM
To: MS-Exchange Admin Issues
Subject: PowerShell and DC's

Does any know the PS command to find out what DC's Exchange is using?  Ex 2007, 
PowerShell 2.0. 

Not much showing much on google unless I am doing something wrong.

thanks
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This information 
is intended only for the use of the individual(s) or entity to whom it is 
intended even if addressed incorrectly.  Please delete it from your files if 
you are not the intended recipient.  Thank you for your compliance.  Copyright 
(c) 2012 Cigna 
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


--
CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This 
information is intended only for the use of the individual(s) or entity to 
whom it is intended even if addressed incorrectly.  Please delete it from 
your files if you are not the intended recipient.  Thank you for your 
compliance.  Copyright (c) 2012 Cigna
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



RE: PowerShell and DC's

2012-03-07 Thread Kleciak, Clint D A7IT
That pulled it out,,,strange if I use: 

Get-ExchangeServer -id ServerName |FL CurrentDomainController 

I get {}.



Your command pulled it out.

thanks

-Original Message-
From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net] 
Sent: Wednesday, March 07, 2012 11:32 AM
To: MS-Exchange Admin Issues
Subject: RE: PowerShell and DC's

Not sure about 2007.  On 2010:

get-exchangeserver -status | select name,*controller*,*catalog*

-Original Message-
From: Kleciak, Clint D A7IT [mailto:clint.klec...@cigna.com] 
Sent: Wednesday, March 07, 2012 9:42 AM
To: MS-Exchange Admin Issues
Subject: PowerShell and DC's

Does any know the PS command to find out what DC's Exchange is using?  Ex 2007, 
PowerShell 2.0. 

Not much showing much on google unless I am doing something wrong.

thanks
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This information 
is intended only for the use of the individual(s) or entity to whom it is 
intended even if addressed incorrectly.  Please delete it from your files if 
you are not the intended recipient.  Thank you for your compliance.  Copyright 
(c) 2012 Cigna 
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


**
Note: 
The information contained in this message may be privileged and confidential 
and 
protected from disclosure.  If the reader of this message is not the intended  
recipient, or an employee or agent responsible for delivering this message to  
the intended recipient, you are hereby notified that any dissemination,   
distribution or copying of this communication is strictly prohibited. If you  
have received this communication in error, please notify us immediately by  
replying to the message and deleting it from your computer. 
**



---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


--
CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This 
information is intended only for the use of the individual(s) or entity to 
whom it is intended even if addressed incorrectly.  Please delete it from 
your files if you are not the intended recipient.  Thank you for your 
compliance.  Copyright (c) 2012 Cigna
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



RE: PowerShell and DC's

2012-03-07 Thread Campbell, Rob
It doesn't check the DCs and GCs if you don't use the -status switch.

-Original Message-
From: Kleciak, Clint D A7IT [mailto:clint.klec...@cigna.com] 
Sent: Wednesday, March 07, 2012 10:44 AM
To: MS-Exchange Admin Issues
Subject: RE: PowerShell and DC's

That pulled it out,,,strange if I use: 

Get-ExchangeServer -id ServerName |FL CurrentDomainController 

I get {}.



Your command pulled it out.

thanks

-Original Message-
From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net]
Sent: Wednesday, March 07, 2012 11:32 AM
To: MS-Exchange Admin Issues
Subject: RE: PowerShell and DC's

Not sure about 2007.  On 2010:

get-exchangeserver -status | select name,*controller*,*catalog*

-Original Message-
From: Kleciak, Clint D A7IT [mailto:clint.klec...@cigna.com]
Sent: Wednesday, March 07, 2012 9:42 AM
To: MS-Exchange Admin Issues
Subject: PowerShell and DC's

Does any know the PS command to find out what DC's Exchange is using?  Ex 2007, 
PowerShell 2.0. 

Not much showing much on google unless I am doing something wrong.

thanks
--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This information 
is intended only for the use of the individual(s) or entity to whom it is 
intended even if addressed incorrectly.  Please delete it from your files if 
you are not the intended recipient.  Thank you for your compliance.  Copyright 
(c) 2012 Cigna 
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


**
Note: 
The information contained in this message may be privileged and confidential 
and protected from disclosure.  If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this 
message to  
the intended recipient, you are hereby notified that any dissemination,   
distribution or copying of this communication is strictly prohibited. If you 
have received this communication in error, please notify us immediately by 
replying to the message and deleting it from your computer. 
**



---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  
This email transmission may contain confidential information.  This information 
is intended only for the use of the individual(s) or entity to whom it is 
intended even if addressed incorrectly.  Please delete it from your files if 
you are not the intended recipient.  Thank you for your compliance.  Copyright 
(c) 2012 Cigna 
==


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


**
Note: 
The information contained in this message may be privileged and confidential 
and 
protected from disclosure.  If the reader of this message is not the intended  
recipient, or an employee or agent responsible for delivering this message to  
the intended recipient, you are hereby notified that any dissemination,   
distribution or copying of this communication is strictly prohibited. If you  
have received this communication in error, please notify us immediately by  
replying to the message and deleting it from your computer. 
**



---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist