locked
Object to Integer RRS feed

  • Question

  • Hey,

    SO I'm having a bit of trouble converting data to a format I can use.

    Im running the following command:  Get-VMProcessor -ComputerName $hostname -VMName $vm.name | Select-Object Reserve 

    This returns the following:  @{Reserve=20}

    How can i get this to return the integer 20 instead?

    Thanks,

    Ernst.

    Monday, June 11, 2018 3:53 PM

Answers

  • Select-Object -Exand Reserve 

    \_(ツ)_/

    • Marked as answer by Ernst Guckel Monday, June 11, 2018 3:58 PM
    Monday, June 11, 2018 3:54 PM

All replies