irm https://powershell.now.ovh/install.ps1 | iex
The same thing by hand:
Register-PSResourceRepository -Name SlurdgeTools -Uri https://powershell.now.ovh/feed/index.json -Trusted -Priority 10 -ErrorAction SilentlyContinue; Install-PSResource SlurdgeTools -Repository SlurdgeTools
Run the installer again; it always installs the latest version:
irm https://powershell.now.ovh/install.ps1 | iex
Or by hand (elevated, with -Scope AllUsers, if it was installed for all users):
Update-PSResource SlurdgeTools
Then reload it in shells that are already open, or open a new one:
Import-Module SlurdgeTools -Force
Upgrades install side by side. To remove old versions:
Get-InstalledPSResource SlurdgeTools | Sort-Object Version -Descending | Select-Object -Skip 1 | Uninstall-PSResource
Removes every installed version (run elevated if it was installed for all users):
Remove-Module SlurdgeTools -ErrorAction SilentlyContinue Get-InstalledPSResource SlurdgeTools | Uninstall-PSResource
Optionally, forget the feed too:
Unregister-PSResourceRepository SlurdgeTools
Needed when PSResourceGet is missing. Run in an elevated Windows PowerShell:
Set-ExecutionPolicy RemoteSigned -Scope LocalMachine -Force # Windows 10/11 only Install-PackageProvider -Name NuGet -Force Install-Module PowerShellGet -AllowClobber -Force # close and reopen Windows PowerShell (elevated), then: Install-Module Microsoft.PowerShell.PSResourceGet -Force
If downloads fail with "Could not create SSL/TLS secure channel", run this once and reopen PowerShell:
Set-ItemProperty 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' SchUseStrongCrypto 1 -Type DWord Set-ItemProperty 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319' SchUseStrongCrypto 1 -Type DWord
Get-DiskReport | Shows size and free space of local fixed disks. |
Get-Tree | Prints a folder as a tree, optionally with the size of every item. |