-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[new-doc] how to generate and use format.ps1xml file (iss #865) #6059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
issue #865 |
| ``` | ||
|
|
||
| The default table output reveals some issues: | ||
| 1. **SubscriptionId** property values duplicates the **Id** property values, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's important to call out these
- The selected fields don't feit in a standard window
- The columns are not displayed in oirder of importance to the customer for doign their work
| 2. Run the New-FormatPs1Xml cmdlet to generate the format.ps1xml file. | ||
|
|
||
| --- | ||
| We presume that for the [output type](https://github.com/Azure/azure-powershell/blob/preview/documentation/development-docs/azure-powershell-design-guidelines.md#output-type) you created a new class that, for example, wraps a returning .NET SDK type, rather to use PSObject. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
..., rather than PSObject.
markcowl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor change, otherwise LGTM.
By the way, how does a user specify the ordering of fields in the output display? This is especially important for tabel formats. If we don't have a facility, we should consider adding one.
|
@markcowl |
Description
Checklist
CONTRIBUTING.mdplatyPSmodule