Reply to Message

View discussion in a popup

Replying to:
mammadshah
Contributor
Contributor

Hello,

I am trying to remove all non-accessible datastore and found this discussion. could you explain the following line in the script

$detach = @{

        device = $_.DeviceUID

    }

I have executed the following and found no outcome.

  1. what is _.DeviceUID
  2. How its defines and removed Datastore/inaccessible data store ?

PS C:\Users\vmuser>$detach = @{device = $_.DeviceUID }

PS C:\Users\vmuser> echo $detach

Name                           Value

----                           -----

device

PS C:\Users\vmuser>

thanks

Reply
0 Kudos