Exporting Command to CSV
Hello Everyone, I have run this command but the output it truncated in the shell window. Get-Mailbox -Server SERVERNAME | Get-MailboxPermission | where { ($_.AccessRights -eq FullAccess) -and ($_.IsInherited -eq $false) -and ($_.User -like DOMAIN\USERNAME) -and -not ($_.User -like NT AUTHORITY\SELF) } I need to either see the entire output in the shell or export to CSV. What is the command to do so? Any help will be appreciated.
July 27th, 2012 10:35am

Hi The easiest way to see truncated information in to put | Out-GridView at the end of your command. You could also just add | Select Identity,User so that only those properties are displayed. Cheers, Steve
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2012 10:44am

GridView worked perfectly! Thanks Steve!
July 27th, 2012 10:53am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics