12 lines
364 B
PowerShell
12 lines
364 B
PowerShell
#[System.IO.DriveInfo]::getdrives() | Where-Object {$_.DriveType -eq 'Fixed'} | Select Name
|
|
|
|
New-Variable -Name lw -Value $null
|
|
|
|
$lw = [System.IO.DriveInfo]::getdrives() | Where-Object {$_.DriveType -eq 'Fixed'} #| DESC #| Select-object Name # | Out-GridView
|
|
|
|
foreach ($dr in $lw)
|
|
{
|
|
Write-Host "Laufwerk: " $dr
|
|
}
|
|
|
|
#Get-Command -CommandType cmdlet | Out-GridView |