tag:blogger.com,1999:blog-798194812750898417.post5558123267730173223..comments2024-03-27T09:53:39.301-07:00Comments on The EXPTA {blog}: Fixing Leading and Trailing Whitespace in Exchange ObjectsJeff Guillet - @exptahttp://www.blogger.com/profile/05278298222887921824noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-798194812750898417.post-44874973668810443632013-03-01T04:02:33.666-08:002013-03-01T04:02:33.666-08:00Hi,
This is great - Remove Spaces From All Public...Hi,<br /><br />This is great - Remove Spaces From All Public Folder Aliases:<br /><br />But is there a way to only get it look at mail-enabled public folders so it doesnt recurse every single public folder in the tree?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-798194812750898417.post-2476265402674288652012-06-27T19:47:20.312-07:002012-06-27T19:47:20.312-07:00This is brilliant - exactly what I was searching f...This is brilliant - exactly what I was searching for. Thanks for sharing it, I'm sure you're not the only one I've helped.Greg Bromagehttp://www.enigma-it.com.aunoreply@blogger.comtag:blogger.com,1999:blog-798194812750898417.post-10871730956759537902011-11-23T22:31:12.977-08:002011-11-23T22:31:12.977-08:00Avi I tried your example and it does't work, a...Avi I tried your example and it does't work, as 'a$' doesn't include the the Public Folders with Warnings<br /><br />$a = Get-PublicFolder -Identity "\" -Recurse -ResultSize Unlimited | Get-MailPublicFolder | Where {$_.Alias -like "* *"}<br />$a | ForEach-Object {Set-MailPublicFolder $_.identity -Alias:($_.Alias -Replace " ","")}<br /><br />Any other clues??David Taignoreply@blogger.comtag:blogger.com,1999:blog-798194812750898417.post-60166572968864073852011-09-19T13:22:55.057-07:002011-09-19T13:22:55.057-07:00I know it's an old question:
The pipeline err...I know it's an old question:<br /><br />The pipeline error occurs because this particular command cannot be processed in a pipeline.<br /><br />For the all users example, you would have to instead do:<br /><br />$a = Get-Mailbox -ResultSize Unlimited<br />$a | Foreach { Set-Mailbox -Identity $_.Identity -DisplayName $_.DisplayName.Trim() }Avi Eisenhttps://www.blogger.com/profile/10323885781053092112noreply@blogger.comtag:blogger.com,1999:blog-798194812750898417.post-83093485702421790572011-03-01T06:42:38.374-08:002011-03-01T06:42:38.374-08:00I get the exact same pipeline error when trying to...I get the exact same pipeline error when trying to fix all folders. Can anyone shed some light?Unknownhttps://www.blogger.com/profile/04609999825146721512noreply@blogger.comtag:blogger.com,1999:blog-798194812750898417.post-70093382347769452362010-11-24T02:20:09.431-08:002010-11-24T02:20:09.431-08:00Hi,
"Remove Spaces From a Single Public Folde...Hi,<br />"Remove Spaces From a Single Public Folder Alias:" works just fine :-)<br /><br />"Remove Spaces From All Public Folder Aliases:" comes with the error seen below :-(<br /><br />Any clue on whats going wrong?<br />I have many many PF so it would be great to get the "All" script to work.<br /><br />Im running on Exchange 2010 sp1.<br /><br />BR & Thanks,<br /><br /><br />Error:<br /><br />Pipeline not executed because a pipeline is already executing. Pipelines cannot be executed concurrently.<br /> + CategoryInfo : OperationStopped: (Microsoft.Power...tHelperRunspace:ExecutionCmdletHelperRunspace) [],<br /> PSInvalidOperationException<br /> + FullyQualifiedErrorId : RemotePipelineExecutionFailedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-798194812750898417.post-45622646989112274012010-08-28T23:47:35.824-07:002010-08-28T23:47:35.824-07:00Great tip
thanks!Great tip<br />thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-798194812750898417.post-80882988200782842312010-03-30T01:22:32.341-07:002010-03-30T01:22:32.341-07:00These are really easy to use PS one-liners which m...These are really easy to use PS one-liners which make the life a lot easier. ThanksThomashttp://www.sf-tools.netnoreply@blogger.com