How can I set the result of a specific PowerShell query as a variable?

前端 未结 0 502
再見小時候
再見小時候 2020-12-11 17:34

I read out which drives are present with the following command:

Get-WmiObject -Class MSFT_PhysicalDisk -Namespace root\\Microsoft\\Windows\\Storage | Select FriendlyN

相关标签:
回答
  • 消灭零回复
提交回复
热议问题