osiexchange
asked on
Problem with PoweShell command
This should be an easy one for all you PS gurus. I am running the command below to try and export to a csv file a Management Role Entry and all the associated parameters with that entry.
Get-ManagementRoleEntry *\set-mailbox |export-csv c:\setmailbox.csv
The problem is there are so many parameters, they get truncated with a .... in the PS window and when I pipe the output to a file, it doesn't show any of the parameters at all. The column just says Microsoft.Exchange.Collect ions.ReadO nlyCollect ion`1[Syst em.String]
I am just thinking there is too much to output so it just puts that in its place. What I am trying to do here is just find out all the parameters associated with the role entry set-mailbox as it applies to the Role Mail Recipients so I can create a custom role entry to added to a new role group I wish to create.
Get-ManagementRoleEntry *\set-mailbox |export-csv c:\setmailbox.csv
The problem is there are so many parameters, they get truncated with a .... in the PS window and when I pipe the output to a file, it doesn't show any of the parameters at all. The column just says Microsoft.Exchange.Collect
I am just thinking there is too much to output so it just puts that in its place. What I am trying to do here is just find out all the parameters associated with the role entry set-mailbox as it applies to the Role Mail Recipients so I can create a custom role entry to added to a new role group I wish to create.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER