Browse Source

Update Win 10.ps1

pull/3/head
farag2 6 years ago
committed by GitHub
parent
commit
c3427aaa51
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Win 10.ps1

2
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 (

Loading…
Cancel
Save