B
B
Berkutman2019-05-14 11:51:33
PowerShell
Berkutman, 2019-05-14 11:51:33

Powershell, diskpart, software RAID information output?

How to display information about a software raid using powershell, as the diskpart > list volume command does?
Or output via diskpart /s C:\script.txt, where in script.txt "list volume"
Tried like this: diskpart /s C:\script.txt
Output a list of commands instead of executing the list volume
5cda815fbb6e7057298576.png
result Expected result
5cda818a9c0b7350593446.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Tsvetkov, 2019-05-14
@Berkutman

diskpart /s C:\script.txtworks, and lis volit has enough.

A
Alexey Dmitriev, 2019-08-30
@SignFinder

What about the native Get-Disk and Get-Partition cmdlets?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question