File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 Write-Output " WinGet is not installed, downloading and installing WinGet..."
4545 }
4646 else {
47- Write-Output " Checking if it's any newer version of WinGet to download and install..."
47+ Write-OutPut " Checking if it's any newer version of WinGet to download and install..."
4848 }
4949
5050 # Collecting information from GitHub regarding latest version of WinGet
7979 Write-Output " WinGet has a newer version $ ( $GitHubInfo.Tag ) , downloading and installing it..."
8080 Invoke-WebRequest - UseBasicParsing - Uri $GitHubInfo.DownloadUrl - OutFile $GitHubInfo.OutFile
8181
82- Write-Output " Installing version $ ( $GitHubInfo.Tag ) of WinGet..."
82+ Write-Verbose " Installing version $ ( $GitHubInfo.Tag ) of WinGet..."
8383 Add-AppxPackage $ ($GitHubInfo.OutFile )
8484 }
8585 else {
Original file line number Diff line number Diff line change 6464 # Importing appx with -usewindowspowershell if your using PowerShell 7 or higher
6565 if ($PSVersionTable.PSVersion.Major -ge 7 ) {
6666 import-module appx - usewindowspowershell
67- Write-Output " == This messages is expected if you are using PowerShell 7 or higher =="
67+ Write-Output " `n === This messages is expected if you are using PowerShell 7 or higher === `n "
6868 }
6969
7070 # Getting system information
8181
8282 # Starts to check for updates of the installed software
8383 Start-RSWinGet
84+
85+ Write-OutPut " `n === \\\ Script Finished /// ===`n "
8486}
You can’t perform that action at this time.
0 commit comments