I am using ImDisk Virtual Disk Driver Version 2.0.10 on Windows 10.
I want to format a RAM disk in my PowerShell script (it runs a benchmark) without administrator authority, so I am trying to format the RAM disk with Format-Volume Powershell cmdlet.
The format-Volume cmdlet can take MSFT_Partition or MSFT_Volume object as an argument, so I have tried "Get-Volume", "Get-CimInstance Win32_Volume" and "Get-CimInstance Win32_DiskPartition". But these cmdlets seem to ignore the RAM disk created with ImDisk Toolkit.
Is there any way to get MSFT_Partition or MSFT_Volume object for the RAM disk created with ImDisk Toolkit?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Such features are unfortunately not available for ImDisk virtual disks. This is because it is based on a rather old driver design and it does not interact with the Volume Mount Manager in Windows.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using ImDisk Virtual Disk Driver Version 2.0.10 on Windows 10.
I want to format a RAM disk in my PowerShell script (it runs a benchmark) without administrator authority, so I am trying to format the RAM disk with Format-Volume Powershell cmdlet.
The format-Volume cmdlet can take MSFT_Partition or MSFT_Volume object as an argument, so I have tried "Get-Volume", "Get-CimInstance Win32_Volume" and "Get-CimInstance Win32_DiskPartition". But these cmdlets seem to ignore the RAM disk created with ImDisk Toolkit.
Is there any way to get MSFT_Partition or MSFT_Volume object for the RAM disk created with ImDisk Toolkit?
Such features are unfortunately not available for ImDisk virtual disks. This is because it is based on a rather old driver design and it does not interact with the Volume Mount Manager in Windows.
Thank you for the comment. I will try to format the RAM disk by using format command and with administrator authority.