Skip to content

Commit 2c701e7

Browse files
Update secure-standalone.ps1
1 parent 7b0d52d commit 2c701e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

secure-standalone.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if ($paramscheck | Where-Object { $_ } | Select-Object) {
6262
$minfreespace = 10000000000 #10GB
6363
if ($freespace -gt $minfreespace) {
6464
Write-Host "Taking a Restore Point Before Continuing...."
65-
$job = Start-Job -Name Take Restore Point -ScriptBlock {
65+
$job = Start-Job -Name "Take Restore Point" -ScriptBlock {
6666
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore' -Name 'SystemRestorePointCreationFrequency' -PropertyType DWORD -Value 0 -Force
6767
Checkpoint-Computer -Description "RestorePoint $scriptName $date" -RestorePointType "MODIFY_SETTINGS"
6868
}

0 commit comments

Comments
 (0)