We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7685c91 commit 6a6bdb5Copy full SHA for 6a6bdb5
src/ci/scripts/free-disk-space-windows.ps1
@@ -5,7 +5,7 @@ $ErrorActionPreference = 'Stop'
5
Get-Volume | Out-String | Write-Output
6
7
# Exclude directory from Defender to make this faster
8
-Add-MpPreference -ExclusionPath C:\
+#Add-MpPreference -ExclusionPath C:\
9
10
$available = $(Get-Volume C).SizeRemaining
11
@@ -30,3 +30,5 @@ Get-Volume | Out-String | Write-Output
30
31
$saved = ($(Get-Volume C).SizeRemaining - $available) / 1gb
32
Write-Output "total space saved $saved GB"
33
+
34
+exit 1
0 commit comments