Skip to content

pizos1/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Windows Utils

PowerShell scripts for Windows maintenance and updates.

Installation

If you don't have a profile yet, create one first:

New-Item -Path $profile -ItemType File -Force

Then open and edit it:

notepad $profile

or

code $profile

Copy the entire utils.ps1 content and paste it into your profile. Save and restart PowerShell.

Usage

update

Run with disk cleanup:

update -Disk

Notes

  • Requires Administrator privileges
  • PSWindowsUpdate module is installed automatically on first run
  • Requires winget for app updates
  • Temp cleanup:
    • $env:TEMP
    • $env:LOCALAPPDATA\Temp
    • C:\Windows\Temp

Requirements

  • Windows 10/11
  • PowerShell 5.1+
  • Administrator rights
  • Internet connection

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors