Get-SpbmEntityConfiguration Returns Empty Storage Policy When Using Datastore Default
search cancel

Get-SpbmEntityConfiguration Returns Empty Storage Policy When Using Datastore Default

book

Article ID: 437129

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

When the storage policy of a virtual machine is set to "Datastore Default", executing the following PowerCLI command returns an empty value for the Storage Policy:
Get-VM "VM Name" | Get-HardDisk | Get-SpbmEntityConfiguration

Environment

VMware vCenter Server 8.0.x

Resolution

This is the expected behavior. Reconfigure the virtual machine to use an explicitly defined Storage Policy rather than the implicit "Datastore Default". Once an explicit policy is assigned, the command output will correctly populate the Storage Policy field.

Additional Information

Associate a Storage Policy with a Virtual Machine and Its Hard Disk
VM Storage Policy が "Datastore Default" の場合 Get-SpbmEntityConfiguration の結果が空になる