RE: ActiveSync Inventory

2012-01-17 Thread Michael B. Smith
If by "good" you mean "easy" - unfortunately not.

The information is included in an FAI in the user's mailbox. You could write a 
utility with Redemption or CDO to get at it, but I've never seen one. That 
doesn't mean that one doesn't exist already, though...

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: itli...@imcu.com [mailto:itli...@imcu.com]
Sent: Tuesday, January 17, 2012 1:14 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Is there a good way to do this for Exchange 2003?

From: Michael B. Smith 
[mailto:mich...@smithcons.com]<mailto:[mailto:mich...@smithcons.com]>
Posted At: Tuesday, January 17, 2012 1:08 PM
Posted To: itli...@imcu.com<mailto:itli...@imcu.com>
Conversation: ActiveSync Inventory
Subject: RE: ActiveSync Inventory

$allResults = Get-Mailbox -ResultSize Unlimited

$easArray = @()

foreach( $mailbox in $allResults )
{
$easResult = Get-ActiveSyncDeviceStatistics -Mailbox 
$mailbox.Identity |
select @{ n = "UserprincipalName"; e = { 
$mailbox.UserPrincipalName } },
DeviceFriendlyName, Devicetype, 
DeviceUserAgent, Identity
if( $easResult ) { $easArray += $easResult }
}

$easArray | Export-Csv -NoTypeInformation -Path C:\Test.csv

$allResults = $null
$easArray = $null

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Tuesday, January 17, 2012 12:03 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hey Michael,

I am trying to export this to a csv and am having a little trouble.
I know its the export-csv command but not having much luck.
What do you suggest?

From: mich...@smithcons.com<mailto:mich...@smithcons.com>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Sun, 15 Jan 2012 22:52:29 +
Thought I'd sent this on Friday, but apparently not:

$allResults = Get-Mailbox -ResultSize Unlimited

foreach( $mailbox in $allResults )
{
   Get-ActiveSyncDeviceStatistics -Mailbox $mailbox.Identity |
  select @{ n = "UserprincipalName"; e = { 
$mailbox.UserPrincipalName } },
 DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity
}

$allResults = $null

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.

From: jimruppre...@ku.edu<mailto:jimruppre...@ku.edu>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist
---
To m

RE: ActiveSync Inventory

2012-01-17 Thread itli...@imcu.com
Is there a good way to do this for Exchange 2003?

 

From: Michael B. Smith [mailto:mich...@smithcons.com] 
Posted At: Tuesday, January 17, 2012 1:08 PM
Posted To: itli...@imcu.com
Conversation: ActiveSync Inventory
Subject: RE: ActiveSync Inventory

 

$allResults = Get-Mailbox -ResultSize Unlimited

 

$easArray = @()

 

foreach( $mailbox in $allResults ) 

{ 

$easResult = Get-ActiveSyncDeviceStatistics -Mailbox
$mailbox.Identity | 

select @{ n = "UserprincipalName"; e = {
$mailbox.UserPrincipalName } }, 

DeviceFriendlyName,
Devicetype, DeviceUserAgent, Identity

if( $easResult ) { $easArray += $easResult }

}

 

$easArray | Export-Csv -NoTypeInformation -Path C:\Test.csv

 

$allResults = $null

$easArray = $null

 

Regards,

 

Michael B. Smith

Consultant and Exchange MVP

http://TheEssentialExchange.com

 

From: Dan Hyatt [mailto:d...@danhyatt.com] 
Sent: Tuesday, January 17, 2012 12:03 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

 

Hey Michael,

I am trying to export this to a csv and am having a little trouble.   
I know its the export-csv command but not having much luck.
What do you suggest?



From: mich...@smithcons.com
To: exchangelist@lyris.sunbelt-software.com
Subject: RE: ActiveSync Inventory
Date: Sun, 15 Jan 2012 22:52:29 +

Thought I'd sent this on Friday, but apparently not:

 

$allResults = Get-Mailbox -ResultSize Unlimited

 

foreach( $mailbox in $allResults ) 

{ 

   Get-ActiveSyncDeviceStatistics -Mailbox $mailbox.Identity | 

  select @{ n = "UserprincipalName"; e = {
$mailbox.UserPrincipalName } }, 

 DeviceFriendlyName, Devicetype, DeviceUserAgent,
Identity 

}

 

$allResults = $null

 

Regards,

 

Michael B. Smith

Consultant and Exchange MVP

http://TheEssentialExchange.com

 

From: Dan Hyatt [mailto:d...@danhyatt.com] 
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

 

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.  



From: jimruppre...@ku.edu
To: exchangelist@lyris.sunbelt-software.com
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +

I don't have an answer to your question, but I'm wondering if this
script actually runs for you? It throws an error for me.

 

"Pipeline not executed because a pipeline is already executing.
Pipelines cannot be executed concurrently.

+ CategoryInfo  : OperationStopped:
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],

   PSInvalidOperationException

+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

 

-jim

 

From: Dan Hyatt [mailto:d...@danhyatt.com] 
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

 

Hey guys,

I am trying to export a list that would include the following ActiveSync
Device attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the
userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics
-Mailbox:$_.Identity} | fl DeviceFriendlyName, Devicetype,
DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel

---
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

---
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

---
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


---
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: ActiveSync Inventory

2012-01-17 Thread Michael B. Smith
$allResults = Get-Mailbox -ResultSize Unlimited

$easArray = @()

foreach( $mailbox in $allResults )
{
$easResult = Get-ActiveSyncDeviceStatistics -Mailbox 
$mailbox.Identity |
select @{ n = "UserprincipalName"; e = { 
$mailbox.UserPrincipalName } },
DeviceFriendlyName, Devicetype, 
DeviceUserAgent, Identity
if( $easResult ) { $easArray += $easResult }
}

$easArray | Export-Csv -NoTypeInformation -Path C:\Test.csv

$allResults = $null
$easArray = $null

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Tuesday, January 17, 2012 12:03 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hey Michael,

I am trying to export this to a csv and am having a little trouble.
I know its the export-csv command but not having much luck.
What do you suggest?

From: mich...@smithcons.com<mailto:mich...@smithcons.com>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Sun, 15 Jan 2012 22:52:29 +
Thought I'd sent this on Friday, but apparently not:

$allResults = Get-Mailbox -ResultSize Unlimited

foreach( $mailbox in $allResults )
{
   Get-ActiveSyncDeviceStatistics -Mailbox $mailbox.Identity |
  select @{ n = "UserprincipalName"; e = { 
$mailbox.UserPrincipalName } },
 DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity
}

$allResults = $null

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.

From: jimruppre...@ku.edu<mailto:jimruppre...@ku.edu>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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: ActiveSync Inventory

2012-01-17 Thread Paul Hutchings
If it helps any, I usually use this, probably not very elegant but seems to do 
what I need:

$Mailboxes = Get-Mailbox
$Mailboxes | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
Select 
Identity,DeviceType,DeviceUserAgent,DeviceID,LastSyncAttemptTime,LastSuccessSync
 | Export-CSV -Path C:\temp\activesync.csv


From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: 17 January 2012 17:03
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hey Michael,

I am trying to export this to a csv and am having a little trouble.
I know its the export-csv command but not having much luck.
What do you suggest?

From: mich...@smithcons.com<mailto:mich...@smithcons.com>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Sun, 15 Jan 2012 22:52:29 +
Thought I'd sent this on Friday, but apparently not:

$allResults = Get-Mailbox -ResultSize Unlimited

foreach( $mailbox in $allResults )
{
   Get-ActiveSyncDeviceStatistics -Mailbox $mailbox.Identity |
  select @{ n = "UserprincipalName"; e = { 
$mailbox.UserPrincipalName } },
 DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity
}

$allResults = $null

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.

From: jimruppre...@ku.edu<mailto:jimruppre...@ku.edu>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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<mailto: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<mailto: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<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

--
MIRA Ltd

Watling Street, Nuneaton, Warwickshire, CV10 0TU, England
Registered in England and Wales No. 402570
VAT Registration  GB 100 1464 84

The contents of this e-mail are confidential and are solely for the use of the 
intended recipient.  If you receive this e-mail in error, please delete it and 
notify us either by e-mail, telephone or fax.  You should not copy, forward or 
otherwise disclose the content of the e-mail as this is prohibited.

---
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: ActiveSync Inventory

2012-01-17 Thread Dan Hyatt

Hey Michael,

I am trying to export this to a csv and am having a little trouble.   
I know its the export-csv command but not having much luck.
What do you suggest?

From: mich...@smithcons.com
To: exchangelist@lyris.sunbelt-software.com
Subject: RE: ActiveSync Inventory
Date: Sun, 15 Jan 2012 22:52:29 +











Thought I’d sent this on Friday, but apparently not:
 
$allResults = Get-Mailbox -ResultSize Unlimited
 
foreach( $mailbox in $allResults )

{

   Get-ActiveSyncDeviceStatistics -Mailbox $mailbox.Identity |

  select @{ n = "UserprincipalName"; e = { 
$mailbox.UserPrincipalName } },

 DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

}
 
$allResults = $null
 

Regards,
 
Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

 


From: Dan
 Hyatt [mailto:d...@danhyatt.com] 

Sent: Friday, January 13, 2012 12:28 PM

To: MS-Exchange Admin Issues

Subject: RE: ActiveSync Inventory


 

Hi Jim,



Yes it works...  Just need the UPN.





We are on Exchange 2007.  




From:
jimruppre...@ku.edu

To: exchangelist@lyris.sunbelt-software.com

Subject: RE: ActiveSync Inventory

Date: Fri, 13 Jan 2012 17:21:29 +

I don’t have an answer to your question, but I’m wondering if this script 
actually runs for you? It throws an
 error for me.
 
“Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace)
 [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed”
 
-jim
 


From: Dan
 Hyatt [mailto:d...@danhyatt.com] 

Sent: Friday, January 13, 2012 10:35 AM

To: MS-Exchange Admin Issues

Subject: ActiveSync Inventory


 

Hey guys,



I am trying to export a list that would include the following ActiveSync Device 
attributes.



DisplayName, Login, SMTP Address, Devicetype.



I found this script which has everything I need except for the userlogin.



Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity



How would I best also return that data?



Thanks,



Daniel

---

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


---

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 
  
---
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: ActiveSync Inventory

2012-01-15 Thread Michael B. Smith
Thought I'd sent this on Friday, but apparently not:

$allResults = Get-Mailbox -ResultSize Unlimited

foreach( $mailbox in $allResults )
{
   Get-ActiveSyncDeviceStatistics -Mailbox $mailbox.Identity |
  select @{ n = "UserprincipalName"; e = { 
$mailbox.UserPrincipalName } },
 DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity
}

$allResults = $null

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.

From: jimruppre...@ku.edu<mailto:jimruppre...@ku.edu>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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<mailto: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: ActiveSync Inventory

2012-01-14 Thread Michael B. Smith
Welcome to remote powershell.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Rupprecht, James R [mailto:jimruppre...@ku.edu]
Sent: Friday, January 13, 2012 12:21 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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: ActiveSync Inventory

2012-01-13 Thread Garcia-Moran, Carlos
Yup I run it on our 2010 or a Tools server that has the 2010 Admin Consoles



From: Adm [mailto:sms...@gmail.com]
Sent: Friday, January 13, 2012 3:18 PM
To: MS-Exchange Admin Issues
Subject: Re: ActiveSync Inventory

Run this on any Exchange 2010 server?
On Fri, Jan 13, 2012 at 1:30 PM, Garcia-Moran, Carlos 
mailto:cgarciamo...@spragueenergy.com>> wrote:
Try this works pretty well for me

Thx!

Carlos

$csvRows=@()
"=="
"Start Mailbox Retrieve"
"=="
$mbx = get-casmailbox -ResultSize unlimited | where 
{$_.hasactivesyncdevicepartnership -eq $true -and $_.identity -notlike 
"*CAS_{*"} ;
"=="
"End Mailbox Retrieve"
"=="
$mbx | foreach {
"Processing: "+$_.name
$name = $_.name;
$device = get-activesyncdevicestatistics -mailbox $_.identity;
if($device){
foreach($dev in $device){
" Device: "+$dev.DeviceType
$csvRows += $dev
}
}
}
"=="
"Start CSV Write"
"=="
$csvRows | Export-Csv "c:\Temp\activesync.csv" -NoType
"=="
"End CSV Write"
"======"

From: Dan Hyatt [mailto:d...@danhyatt.com<mailto:d...@danhyatt.com>]
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.
____
From: jimruppre...@ku.edu<mailto:jimruppre...@ku.edu>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist


_
This e-mail, including attachments, contains information that is
confidential and may be protected by attorney/client or other privileges.
This e-mail, including attachments, constitutes non-public information
intended to be conveyed only to the designated recipient(s). If you are not
an intended recipient, you are hereby notified that any unauthorized use,
dissemination, distribution or reproduction of this e-mail, including
attachments, is strictly prohibited and may be unlawful. If you have
received this e-mail in error, please notify me by e-mail reply and delete
the original message and any attachments from your system.
_
  

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



--
smsadm

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.c

Re: ActiveSync Inventory

2012-01-13 Thread Adm
Run this on any Exchange 2010 server?

On Fri, Jan 13, 2012 at 1:30 PM, Garcia-Moran, Carlos <
cgarciamo...@spragueenergy.com> wrote:

>  Try this works pretty well for me
>
> ** **
>
> Thx!
>
> ** **
>
> Carlos
>
> ** **
>
> $csvRows=@()
>
> “==”
>
> “Start Mailbox Retrieve”
>
> “==”
>
> $mbx = *get-casmailbox* *-ResultSize* unlimited | where 
> {$_.hasactivesyncdevicepartnership
> -eq $true -and $_.identity -notlike “*CAS_{*”} ;
>
> “==”
>
> “End Mailbox Retrieve”
>
> “==”
>
> $mbx | *foreach* {
>
> “Processing: “+$_.name
>
> $name = $_.name;
>
> $device = get-activesyncdevicestatistics -mailbox $_.identity;
>
> if($device){
>
> foreach($dev in $device){
>
> ” Device: “+$dev.DeviceType
>
> $csvRows += $dev
>
> }
>
> }
>
> }
>
> “==”
>
> “Start CSV Write”
>
> “==”
>
> $csvRows | *Export-Csv* “c:\Temp\activesync.csv” *-NoType*
>
> “==”
>
> “End CSV Write”
>
> “======”
>
> ** **
>
> *From:* Dan Hyatt [mailto:d...@danhyatt.com]
> *Sent:* Friday, January 13, 2012 12:28 PM
> *To:* MS-Exchange Admin Issues
> *Subject:* RE: ActiveSync Inventory
>
> ** **
>
> Hi Jim,
>
> Yes it works...  Just need the UPN.
>
>
> We are on Exchange 2007.  
>  --
>
> From: jimruppre...@ku.edu
> To: exchangelist@lyris.sunbelt-software.com
> Subject: RE: ActiveSync Inventory
> Date: Fri, 13 Jan 2012 17:21:29 +
>
> I don’t have an answer to your question, but I’m wondering if this script
> actually runs for you? It throws an error for me.
>
>  
>
> “Pipeline not executed because a pipeline is already executing. Pipelines
> cannot be executed concurrently.
>
> + CategoryInfo  : OperationStopped:
> (Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
>
>PSInvalidOperationException
>
> + FullyQualifiedErrorId : RemotePipelineExecutionFailed”
>
>  
>
> -jim
>
>  
>
> *From:* Dan Hyatt [mailto:d...@danhyatt.com]
> *Sent:* Friday, January 13, 2012 10:35 AM
> *To:* MS-Exchange Admin Issues
> *Subject:* ActiveSync Inventory
>
>  
>
> Hey guys,
>
> I am trying to export a list that would include the following ActiveSync
> Device attributes.
>
> DisplayName, Login, SMTP Address, Devicetype.
>
> I found this script which has everything I need except for the userlogin.
>
> *Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics
> -Mailbox:$_.Identity} | fl DeviceFriendlyName, Devicetype, DeviceUserAgent,
> Identity*
>
> How would I best also return that data?
>
> Thanks,
>
> Daniel
>
> ---
> 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
>
> ---
> 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
>
> _
> This e-mail, including attachments, contains information that is
> confidential and may be protected by attorney/client or other privileges.
> This e-mail, including attachments, constitutes non-public information
> intended to be conveyed only to the designated recipient(s). If you are not
> an intended recipient, you are hereby notified that any unauthorized use,
> dissemination, distribution or reproduction of this e-mail, including
> attachments, is strictly prohibited and may be unlawful. If you have
> received this e-mail in error, please notify me by e-mail reply and delete
> the original message and any attachments from your system.
> _
>   ­­
>
> ---
> 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
>



-- 
smsadm

---
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: ActiveSync Inventory

2012-01-13 Thread Garcia-Moran, Carlos
Hmmm Doesn't it show on the Identity Column? It does on mine, you have to 
curate the CSV a little

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Friday, January 13, 2012 2:05 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Looks good too but doesn't include the users login.  :(

From: cgarciamo...@spragueenergy.com<mailto:cgarciamo...@spragueenergy.com>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 18:30:00 +
Try this works pretty well for me

Thx!

Carlos

$csvRows=@()
"=="
"Start Mailbox Retrieve"
"=="
$mbx = get-casmailbox -ResultSize unlimited | where 
{$_.hasactivesyncdevicepartnership -eq $true -and $_.identity -notlike 
"*CAS_{*"} ;
"=="
"End Mailbox Retrieve"
"=="
$mbx | foreach {
"Processing: "+$_.name
$name = $_.name;
$device = get-activesyncdevicestatistics -mailbox $_.identity;
if($device){
foreach($dev in $device){
" Device: "+$dev.DeviceType
$csvRows += $dev
}
}
}
"=="
"Start CSV Write"
"=="
$csvRows | Export-Csv "c:\Temp\activesync.csv" -NoType
"=="
"End CSV Write"
"======"

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.
________
From: jimruppre...@ku.edu<mailto:jimruppre...@ku.edu>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

_
This e-mail, including attachments, contains information that is
confidential and may be protected by attorney/client or other privileges.
This e-mail, including attachments, constitutes non-public information
intended to be conveyed only to the designated recipient(s). If you are not
an intended recipient, you are hereby notified that any unauthorized use,
dissemination, distribution or reproduction of this e-mail, including
attachments, is strictly prohibited and may be unlawful. If you have
received this e-mail in error, please notify me by e-mail reply and delete
the original message and any attachments from your system.
_
 ---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_fo

RE: ActiveSync Inventory

2012-01-13 Thread Dan Hyatt

Looks good too but doesn't include the users login.  :(

From: cgarciamo...@spragueenergy.com
To: exchangelist@lyris.sunbelt-software.com
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 18:30:00 +











Try this works pretty well for me
 
Thx!
 
Carlos
 
$csvRows=@()
“==”
“Start Mailbox Retrieve”
“==”
$mbx
=
get-casmailbox
-ResultSize
unlimited | where {$_.hasactivesyncdevicepartnership
-eq
$true
-and
$_.identity
-notlike
“*CAS_{*”} ;
“==”
“End Mailbox Retrieve”
“==”
$mbx |
foreach {
“Processing: “+$_.name
$name = $_.name;
$device = get-activesyncdevicestatistics -mailbox $_.identity;
if($device){
foreach($dev in $device){
” Device:
“+$dev.DeviceType
$csvRows += $dev
}
}
}
“==”
“Start CSV Write”
“==”
$csvRows |
Export-Csv
“c:\Temp\activesync.csv”
-NoType
“==”
“End CSV Write”
“==”
 


From: Dan Hyatt [mailto:d...@danhyatt.com]


Sent: Friday, January 13, 2012 12:28 PM

To: MS-Exchange Admin Issues

Subject: RE: ActiveSync Inventory


 

Hi Jim,



Yes it works...  Just need the UPN.





We are on Exchange 2007.  




From:
jimruppre...@ku.edu

To: exchangelist@lyris.sunbelt-software.com

Subject: RE: ActiveSync Inventory

Date: Fri, 13 Jan 2012 17:21:29 +

I don’t have an answer to your question, but I’m wondering if this script 
actually runs for you? It throws an error for me.
 
“Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed”
 
-jim
 


From: Dan Hyatt
[mailto:d...@danhyatt.com] 

Sent: Friday, January 13, 2012 10:35 AM

To: MS-Exchange Admin Issues

Subject: ActiveSync Inventory


 

Hey guys,



I am trying to export a list that would include the following ActiveSync Device 
attributes.



DisplayName, Login, SMTP Address, Devicetype.



I found this script which has everything I need except for the userlogin.



Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity



How would I best also return that data?



Thanks,



Daniel

---

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


---

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



_
This e-mail, including attachments, contains information that is
confidential and may be protected by attorney/client or other privileges.
This e-mail, including attachments, constitutes non-public information
intended to be conveyed only to the designated recipient(s). If you are not
an intended recipient, you are hereby notified that any unauthorized use,
dissemination, distribution or reproduction of this e-mail, including
attachments, is strictly prohibited and may be unlawful. If you have
received this e-mail in error, please notify me by e-mail reply and delete
the original message and any attachments from your system.
_

  ­­  
---

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: ActiveSync Inventory

2012-01-13 Thread Garcia-Moran, Carlos
Try this works pretty well for me

Thx!

Carlos

$csvRows=@()
"=="
"Start Mailbox Retrieve"
"=="
$mbx = get-casmailbox -ResultSize unlimited | where 
{$_.hasactivesyncdevicepartnership -eq $true -and $_.identity -notlike 
"*CAS_{*"} ;
"=="
"End Mailbox Retrieve"
"=="
$mbx | foreach {
"Processing: "+$_.name
$name = $_.name;
$device = get-activesyncdevicestatistics -mailbox $_.identity;
if($device){
foreach($dev in $device){
" Device: "+$dev.DeviceType
$csvRows += $dev
}
}
}
"=="
"Start CSV Write"
"=="
$csvRows | Export-Csv "c:\Temp\activesync.csv" -NoType
"=="
"End CSV Write"
"=========="

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Friday, January 13, 2012 12:28 PM
To: MS-Exchange Admin Issues
Subject: RE: ActiveSync Inventory

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.

From: jimruppre...@ku.edu<mailto:jimruppre...@ku.edu>
To: 
exchangelist@lyris.sunbelt-software.com<mailto:exchangelist@lyris.sunbelt-software.com>
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]<mailto:[mailto:d...@danhyatt.com]>
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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<mailto: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<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

_
This e-mail, including attachments, contains information that is
confidential and may be protected by attorney/client or other privileges.
This e-mail, including attachments, constitutes non-public information
intended to be conveyed only to the designated recipient(s). If you are not
an intended recipient, you are hereby notified that any unauthorized use,
dissemination, distribution or reproduction of this e-mail, including
attachments, is strictly prohibited and may be unlawful. If you have
received this e-mail in error, please notify me by e-mail reply and delete
the original message and any attachments from your system.
_

---
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: ActiveSync Inventory

2012-01-13 Thread Dan Hyatt

Hi Jim,

Yes it works...  Just need the UPN.


We are on Exchange 2007.  

From: jimruppre...@ku.edu
To: exchangelist@lyris.sunbelt-software.com
Subject: RE: ActiveSync Inventory
Date: Fri, 13 Jan 2012 17:21:29 +











I don’t have an answer to your question, but I’m wondering if this script 
actually runs for you? It throws an error for me.
 
“Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed”
 
-jim
 


From: Dan Hyatt [mailto:d...@danhyatt.com]


Sent: Friday, January 13, 2012 10:35 AM

To: MS-Exchange Admin Issues

Subject: ActiveSync Inventory


 

Hey guys,



I am trying to export a list that would include the following ActiveSync Device 
attributes.



DisplayName, Login, SMTP Address, Devicetype.



I found this script which has everything I need except for the userlogin.



Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity



How would I best also return that data?



Thanks,



Daniel

---

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 
  
---
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: ActiveSync Inventory

2012-01-13 Thread Rupprecht, James R
I don't have an answer to your question, but I'm wondering if this script 
actually runs for you? It throws an error for me.

"Pipeline not executed because a pipeline is already executing. Pipelines 
cannot be executed concurrently.
+ CategoryInfo  : OperationStopped: 
(Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],
   PSInvalidOperationException
+ FullyQualifiedErrorId : RemotePipelineExecutionFailed"

-jim

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Friday, January 13, 2012 10:35 AM
To: MS-Exchange Admin Issues
Subject: ActiveSync Inventory

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | 
fl DeviceFriendlyName, Devicetype, DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto: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

ActiveSync Inventory

2012-01-13 Thread Dan Hyatt

Hey guys,

I am trying to export a list that would include the following ActiveSync Device 
attributes.

DisplayName, Login, SMTP Address, Devicetype.

I found this script which has everything I need except for the userlogin.

Get-Mailbox | ForEach {Get-ActiveSyncDeviceStatistics 
-Mailbox:$_.Identity} | fl DeviceFriendlyName, Devicetype, 
DeviceUserAgent, Identity

How would I best also return that data?

Thanks,

Daniel
  
---
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