Move-VM コマンドにて、ストレージの移行を行うと Unable to access file のエラーが発生します
PS C:\Users\Administrator> Move-VM -vm [VM Name] -DataStore [Datastore name] -DiskStorageFormat EagerZeroedThick
Move-VM : YYYY/MM/DD HH:MM:SS Move-VM The operation for the entity "[VM name]" failed with the following message: "Unab
le to access the virtual machine configuration: Unable to access file [Datastore name]"
PowerCLI 12.x.x
ESXi 7.x
vCenter Server 7.x
対象の仮想マシンが登録されている ESXi において指定したデータストアへのアクセスができないためにエラーが発生します。
対象の仮想マシンが登録されている ESXi において、指定したデータストアへのアクセスを可能にします。
参考: ESXi ホスト上のストレージの再スキャンの実行