Browse Source

Update Win 10.ps1

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

2
Win 10.ps1

@ -762,7 +762,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 | ForEach-Object {$_ + ':'}
} }
function KnownFolderPath function KnownFolderPath
{ {

Loading…
Cancel
Save