I have mapped IScsi volumes into my windows 2016 server. I have created disk out of them. Now i need to find whether the disk is thin provisioned or not.
I am trying with below cmdlets
Get-Disk and Get-PhysicalDisk
But no luck. How to find whether the disk is thin provisioned or not using powershell?
This is wrong command. You need to traverse back your mount point to iSCSI name/ address etc and query target with this name in mind.
Get-IscsiVirtualDisk cmdlet is what you need.
https://docs.microsoft.com/en-us/powershell/module/iscsitarget/Get-IscsiVirtualDisk