Anlage des Repos
This commit is contained in:
12
test/Get-Drives.ps1
Normal file
12
test/Get-Drives.ps1
Normal file
@@ -0,0 +1,12 @@
|
||||
#[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
|
||||
Reference in New Issue
Block a user