Pipe array to Powershell script

I created a Powershell script to set a few mailbox properties. I wanted to pipe in an array of mailbox objects, i.e. the results of a Get-Mailbox command, like so: $Mailboxes | C:\Set-MailboxProperties.ps1 However, Set-MailboxProperties.ps1 only processed the first item in the array. Via Google I found this helpful StackOverflow post, How to pass an … Continue reading Pipe array to Powershell script