Monday , January 21 2019
Home - Development - Powershell Get-Counters in a usable form from CookedValue

Powershell Get-Counters in a usable form from CookedValue

Sometime ago now I was given the challenge to get the value out of a get-counter in a Powershell, I thought the answer snippet should be posted for future reference.

The following Powershell command gives a value buried with result information.

The result is given:

To get the true value to be used in other powershell code we need to find the cooked value.

The following line returns just the value:

Which just returns the value only: 66.8695878637932

I hope this will be useful to others?

 

Check Also

Mac Outlook 2016 Screen/View Crashed and Flashing black

The Outlook 2016 client has been trusted workhorse for email since the full release.  However …

2 comments

  1. Very usefull !
    Great Thanks ! 🙂

    Jean

  2. I thank you. My remaining hair thanks you, too.

Leave a Reply

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