$a = [System.IO.DriveInfo]::getdrives()
$a | foreach {
if ($_.DriveType -eq 'Fixed') {
$_
};
}
powershell посмотреть место на локальных дисках
Добавить комментарий
$a = [System.IO.DriveInfo]::getdrives()
$a | foreach {
if ($_.DriveType -eq 'Fixed') {
$_
};
}