So I am trying to run get-spserviceinstance and redirect the output to a file. Thus, I don't want powershell assuming that my lines are limited to 80 columns.
When I try to use format-wide or format-table, powershell keeps dropping properties.
I want one line per entry, containing ALL characters of the property.
I don't care if the end result is 3000 or more characters. I have a text editor and it can scroll.
When I try things like
PS > get-spServiceInstance | select TypeName,Id,Status,Server | format-table -Wrap -AutoSize -Property TypeName,Id,Status,Server -Groupby Server > d:\temp\services.txt
I was hoping to get the services grouped by machine, but to get all the info. Instead I get
Server: SPServer Name=MyServer
WARNING: 2 columns do not fit into the display and were removed.
TypeName
Id
-------- --
followed by the data.
What can I do to get at least the status included on these lines as well as the full service name and guid?