farag2
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Win 10.ps1
|
@ -761,7 +761,7 @@ IF ($DiskCount -eq 1) |
|
|
} |
|
|
} |
|
|
Else |
|
|
Else |
|
|
{ |
|
|
{ |
|
|
# Больше одного физического диска |
|
|
# Два физических диска |
|
|
$drive = (Get-Disk | Where-Object {$_.BusType -ne "USB" -and $_.IsBoot -eq $false} | Get-Partition | Get-Volume | Where-Object {$_.DriveLetter -ne $null}).DriveLetter + ':' |
|
|
$drive = (Get-Disk | Where-Object {$_.BusType -ne "USB" -and $_.IsBoot -eq $false} | Get-Partition | Get-Volume | Where-Object {$_.DriveLetter -ne $null}).DriveLetter + ':' |
|
|
} |
|
|
} |
|
|
function KnownFolderPath |
|
|
function KnownFolderPath |
|
|