none
WMI and DHCP. Failed to execute method "Get" of object PS_DhcpServerv4ScopeStatistics RRS feed

  • Question

  • I am trying to execute "GET" method  for WMI Class "PS_DhcpServerv4ScopeStatistics" via "WMI Explorer"

    and always getting this error:

    ===============================================

    Failed to execute method Get of object PS_DhcpServerv4ScopeStatistics.
    Error: Unable to cast object of type 'System.String' to type 'System.Array'.

    ===============================================

    Doing it via Powershell seems to be working ok, but I need to use native WMI.

    Issue seems to be related to ScopeID format, but docs says that it is optional parameter.





    Saturday, January 12, 2019 5:49 AM

All replies