Need to retreive VMHost Datastore value within script loop…

Welcome Forums General PowerShell Q&A Need to retreive VMHost Datastore value within script loop…

Viewing 0 reply threads
  • Author
    Posts
    • #261434
      Participant
      Topics: 4
      Replies: 3
      Points: 43
      Rank: Member

      Hi all,

      I have a powershell script which works perfectly to retrieve all VMWare host disk values which I require specifically for the setting of their Perennial values

      I now have been asked to add the datastore which the disk resides in which I thought would be an easy task however it is not listed in any of the current disk context I am using

      I could use the get-datastore cmdlet earlier on in the script however I cannot see anything which ties the datastore to the disk?

      Anyone know of how I might be able to do this

      Many thanks in advance!

       

       

       

Viewing 0 reply threads
  • You must be logged in to reply to this topic.