RE: Powershell Fu fail

2011-12-06 Thread Michael B. Smith
t: Tuesday, December 06, 2011 12:50 PM To: MS-Exchange Admin Issues Subject: RE: Powershell Fu fail That worked. Thanks :) DAMIEN SOLODOW Systems Engineer 317.447.6033 (office) 317.447.6014 (fax) HARRISON COLLEGE From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net]<mailto:[mai

Re: Powershell Fu fail

2011-12-06 Thread Wright, Seth - wrightst
Yes. Arguably one of the biggest things Microsoft touts about PowerShell (pipelines) and one of the most useful--and Exchange 2010 craps all over it, especially when you really need it. No, I'm not bitter. ;-) Sigh. --- Seth On Dec 6, 2011, at 12:29 PM, Campbell, Rob wrote: Gr… It would

RE: Powershell Fu fail

2011-12-06 Thread Damien Solodow
That worked. Thanks :) DAMIEN SOLODOW Systems Engineer 317.447.6033 (office) 317.447.6014 (fax) HARRISON COLLEGE From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net] Sent: Tuesday, December 06, 2011 12:30 PM To: MS-Exchange Admin Issues Subject: RE: Powershell Fu fail Gr... It

RE: Powershell Fu fail

2011-12-06 Thread Campbell, Rob
ights fullaccess} From: Damien Solodow [mailto:damien.solo...@harrison.edu] Sent: Tuesday, December 06, 2011 11:17 AM To: MS-Exchange Admin Issues Subject: RE: Powershell Fu fail Isn't % an alias for foreach-object? I tried that but most of them failed with "Pipeline not executed beca

RE: Powershell Fu fail

2011-12-06 Thread Damien Solodow
2:11 PM To: MS-Exchange Admin Issues Subject: RE: Powershell Fu fail get-mailbox -OrganizationalUnit "ou=netfax resources..." |% { Add-MailboxPermission -identity $_.distinguishedname -user "$ Mailbox Access" -accessrights fullaccess} From: Damien Solodow [mailto:damie

RE: Powershell Fu fail

2011-12-06 Thread Michael B. Smith
get-mailbox -OrganizationalUnit "ou=netfax resources..." |% { Add-MailboxPermission -identity $_.distinguishedname -user "$($_.Alias) Mailbox Access" -access fullaccess } $_ only exists in a subexpression. Those groups have to be mail-enabled universal security groups. And when you say that

RE: Powershell Fu fail

2011-12-06 Thread Campbell, Rob
get-mailbox -OrganizationalUnit "ou=netfax resources..." |% { Add-MailboxPermission -identity $_.distinguishedname -user "$ Mailbox Access" -accessrights fullaccess} From: Damien Solodow [mailto:damien.solo...@harrison.edu] Sent: Tuesday, December 06, 2011 11:02 AM To: MS-Exchange Admin Issue