From 1b2d9f368fc4693fcc656af42688134e122ffa16 Mon Sep 17 00:00:00 2001 From: farag2 Date: Thu, 27 Dec 2018 19:49:19 +0300 Subject: [PATCH] Update Win 10.ps1 --- Win 10.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Win 10.ps1 b/Win 10.ps1 index 01482145..92d3dcf2 100644 --- a/Win 10.ps1 +++ b/Win 10.ps1 @@ -762,7 +762,7 @@ IF ($DiskCount -eq 1) 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 {