Remove line that only writes "C:" to console output

This commit is contained in:
Nate McMaster 2017-06-28 17:25:57 -07:00 committed by GitHub
parent 38f8f5b548
commit be47c19b43

View file

@ -470,7 +470,6 @@ if ($IsSdkInstalled) {
New-Item -ItemType Directory -Force -Path $InstallRoot | Out-Null
$installDrive = $((Get-Item $InstallRoot).PSDrive.Name);
Write-Host "${installDrive}:";
$free = Get-CimInstance -Class win32_logicaldisk | where Deviceid -eq "${installDrive}:"
if ($free.Freespace / 1MB -le 100 ) {
Say "There is not enough disk space on drive ${installDrive}:"