Powershell can't display all the property RRS feed

  • Question

  • Hi Guys

      I'd like to query the ConnectionInfo property from the Win32_OfflineFilesItem class

    Class Win32_OfflineFilesItem


      string                                        ItemPath;

      string                                        ParentItemPath;

      string                                        ItemName;

      uint32                                       ItemType;

      Win32_OfflineFilesFileSysInfo      FilesSysInfo;

      Win32_OfflineFilesPinInfo            PinInfo;

      Win32_OfflineChangeInfo            ChangeInfo;

      Win32_OfflineConnectionInfo  ConnectionInfo;

      Win32_OfflineSuspendInfo           SuspendInfo;

      boolean                                      Encrypted;

      boolean                                      Sparse;


      I run this command

      Get-WmiObject -Class Win32_OfflineFilesItem

    =========Below are parts of the command output===========

    However ,the output of "ConnectionInfo" property shows as "System.Management.ManagementBaseObject" ,why ?


    Wednesday, March 11, 2015 5:45 AM


  •   Get-WmiObject -Class Win32_OfflineFilesItem | Select -expand ConnectionInfo


    • Proposed as answer by TonQ Friday, March 13, 2015 12:24 PM
    • Marked as answer by Bill_StewartModerator Thursday, June 18, 2015 6:20 PM
    Thursday, March 12, 2015 9:57 PM