Writing numeric value and decimals to WMI

Welcome Forums General PowerShell Q&A Writing numeric value and decimals to WMI

Viewing 0 reply threads
  • Author
    Posts
    • #264962
      Participant
      Topics: 1
      Replies: 0
      Points: 13
      Rank: Member

      Hi,

      I am tying to get the file size of the Outlook OST file, convert it to GB and storing it in WMI. I may store it in string and it will be working. But I am trying to store it with decimals. And I am losing the decimals.

      In this example, arglistOST has a size value of 1,025:

      In this example, arglistOST has a size value of 1,025:

      Size 1,025 and keeping the decimals.

      How may I store the size in numerical value and keeping the decimals?

      • This topic was modified 1 month, 1 week ago by Siocnarf31.
      • This topic was modified 1 month, 1 week ago by Siocnarf31.
      • This topic was modified 1 month, 1 week ago by Siocnarf31.
      • This topic was modified 1 month, 1 week ago by grokkit. Reason: code formatting - please read the guide
Viewing 0 reply threads
  • You must be logged in to reply to this topic.