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
|
|
@ -785,7 +785,7 @@ Else |
|
|
|
# Больше одного физического диска |
|
|
|
$drive = (Get-Disk | Where-Object {$_.BusType -ne "USB" -and $_.IsBoot -eq $false} | Get-Partition | Get-Volume).DriveLetter |
|
|
|
} |
|
|
|
$drive = $drive | ForEach-Object {$_ + ':'} |
|
|
|
$drive = $drive | ForEach-Object {$_ + ':'} | Join-Path -ChildPath $_ -Resolve -ErrorAction SilentlyContinue |
|
|
|
function KnownFolderPath |
|
|
|
{ |
|
|
|
Param ( |
|
|
|