M
M
Maxim Sholomov2021-09-10 12:07:16
PowerShell
Maxim Sholomov, 2021-09-10 12:07:16

Why are the PhysicalLocation values ​​of drives different on Windows 2019 and 2022?

There are two virtual servers, on VMware. It is necessary to get the correspondence of disks in the system with VMware itself
613b24aea490d130612244.png

On Windows Server 2019 returns a normal value, which corresponds to the value from VMware On Windows Server 2022 for some reason like this
Get-PhysicalDisk | foreach {$_.PhysicalLocation}
SCSI0

PCI Slot 160 : Bus 3 : Device 0 : Function 0 : Adapter 2 : Port 0 : Target 0 : LUN 0

How to get the same physical disk location as on windows 2019 using powershell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Grishin, 2021-09-10
@vesper-bot

I'm afraid not.
https://docs.microsoft.com/en-us/previous-versions... mentions PhysicalLocation as " free-form string indicating where the hardware is located" and read-only access type, and if suddenly (namely, this and it looks like) Microsoft wanted to change its format, then there is little that can be done to counterbalance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question