Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Export/Import CliXML issue

$
0
0

Hi,

I have a object  of own class which store some properties.
In script  I send this object to PropertyGrid and everything works fine.

To store values of properties I use Export-CliXML  cmdlet.

In the next session I execute Import-CliXML and send this object to PropertyGrid but in such a case all categories are gone as well as all parameters become read-only.

How can I restore this object properly to have writable parameters  with categories ?


[string](0..20|%{[char][int](32+("368583907573698773679000438290898390847970").substring(($_*2),2))})-replace "\s{1}\b"


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>