Skip to content

Commit ca0d324

Browse files
committed
Add remarks
1 parent a9cb77e commit ca0d324

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clean-disk.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://gallery.technet.microsoft.com/scriptcenter/Clean-up-your-C-Drive-bc7bb3ed
2-
2+
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/DreamThief/PowerShellGit/master/clean-disk.ps1'))
33
Function Cleanup {
44
<#
55
.CREATED BY:

run-WInUpdate.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/DreamThief/PowerShellGit/master/run-WInUpdate.ps1'))
2+
13
cls
24

35
#Define update criteria.
@@ -26,7 +28,7 @@ $Downloader.Updates = $SearchResult
2628

2729
$Downloader.Download()
2830

29-
write-host "Installing the needful" -ForegroundColor Blue
31+
write-host "Installing the needful" -ForegroundColor green
3032

3133
$Installer = New-Object -ComObject Microsoft.Update.Installer
3234

0 commit comments

Comments
 (0)