PowerShell CIM CmdLets – Working with lazy properties

You may also like...

2 Responses

  1. DexterPOSH says:

    Hey Maik,
    This is really useful information, I did not know it exist.
    Thanks for sharing.


  2. Hey, thanks for this info, really saved me some time. I was asked to review some code that’s in WMI, but the same principle applies.

    $wmi = Get-WmiObject -Namespace root\sms\site_IS1 -Class SMS_AuthorizationList -Filter ‘CI_ID = 16819446’

    Other examples I found used the WMI class to just convert the path, but doing this precludes using credentials, and didn’t fit my workflow.

Leave a Reply

Your email address will not be published. Required fields are marked *

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.

This site uses Akismet to reduce spam. Learn how your comment data is processed.