RosettaCodeData/Task/Get-system-command-output/PowerShell/get-system-command-output.psh

4 lines
40 B
Plaintext

[string[]]$volume = cmd /c vol
$volume