Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Changing the Name and Label Fields of MemberSet and TableColumnItem dynamically with PowerShell

$
0
0

HI Team

We are developing Powershell cmdlets using C# to pull reports from a Datacenter Management Tool.

The Report class returned by the Tool is filled-in dynamically with the field-name/value pairs, depending on the

report generated.

This being the case,  I am wondering if there is a way to define the Type and Format schemas for the

Report with the ps1xml files.

Though the values can be printed through the use of script-blocks,  wondering if the names of the fields

can be changed by changing the values of the <Name> and <Label> tags at run-time.    Is this possible ?

Can the values of the <Name> of the MemberSet  and <Label> of the TableColumnItem be changed at

run time ?


Viewing all articles
Browse latest Browse all 15028

Trending Articles