Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Listing properties added with add-member

$
0
0

Add-member is a great way to extend object properties in powershell.  How can I determine what properties were added with this method?

For example I extend an adcomputer object using add-member with properties
serialnumber  = 1234
Make = Dell
How can I query the object to see those custom properties that had been added to the object?  

I'd like to write a script will read all added properties and store them.
 


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

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