Quantcast
Channel: VMware Communities: Message List - vSphere™ Storage
Viewing all articles
Browse latest Browse all 5826

remove Datastore from single ESXi Host.

$
0
0

I followed the Datastore Mount/Unmount Detach/Attach functions for single host from Re: Unmout Datastore from 1 host

 

I get the below error when I run the command. Any guess what could be doing wrong here?

 

Unmount-Datastore -WhatIf -VMHost $arrVMHostsForUnmount -Datastore $arrDStores

Unmount-Datastore : A parameter cannot be found that matches parameter name 'WhatIf'.

At line:1 char:26

+ Unmount-Datastore -WhatIf <<<<  -VMHost $arrVMHostsForUnmount -Datastore $arrDStores

    + CategoryInfo          : InvalidArgument: (:) [Unmount-Datastore], ParameterBindingException

    + FullyQualifiedErrorId : NamedParameterNotFound,Unmount-Datastore


Viewing all articles
Browse latest Browse all 5826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>