Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

send as access for each user powershell exchange 2013/2010

Posted on 2014-07-14
2
Medium Priority
?
358 Views
Last Modified: 2014-08-21
I am trying to pull send as access for each user and having a hard time


I am getting this error below

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

here is the code I am running.

$lusers = get-content c:\temp\alias.csv
$lusers | foreach-object {get-mailbox -id $_ } | `
Get-ADpermission | ? {($_.ExtendedRights -like "*send-as*") -and -not ($_.Trustee -like "nt authority\self")}
0
Comment
Question by:techdrive
2 Comments
 
LVL 19

Accepted Solution

by:
suriyaehnop earned 2000 total points
ID: 40195228
$lusers = get-content c:\temp\alias.csv
$lusers | foreach { Get-ADpermission -Identity $_ } | Where{($_.ExtendedRights -like "*send-as*") -and -not ($_.Trustee -like "nt authority\self")}

Open in new window

0
 

Author Comment

by:techdrive
ID: 40276715
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to effectively resolve the number one email related issue received by helpdesks.
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
how to add IIS SMTP to handle application/Scanner relays into office 365.
Loops Section Overview
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question