Hello,
I am using pwoershell to get the alias value of the mailboxes using the below one liner so I can use the file to move those mailboxes using a different powershell code. However, I am looking for a way to delete the first line of the output file that contains the alias header. does anyone know of to integrate this in the same command below?
get-mailbox
-ResultSize 150 | where{$_.servername -eq myservername } | select alias | Export-Csv c:\users.txt -NoTypeInformation