Skip to main content

More examples

Practical recipes that show common ways to use Nebula.Tools.

Generate multiple passwords and copy them

New-RandomPassword -Count 5 -PasswordLength 16 -Clipboard

Convert CSV delimiters in bulk

Get-ChildItem 'C:\Exports' -Filter *.csv |
ForEach-Object {
Update-CSVDelimiter -FilePath $_.FullName -ToComma
}

Discover updates with previews only

Find-ModulesUpdates -Scope User -Provider Auto |
Sort-Object Name |
Format-Table Name, InstalledVersion, LatestVersion, Scope

Update modules and clean superseded versions

Update-Modules -Scope User -Provider Auto -CleanupOld

Remove old versions for one module

Remove-OldModuleVersions -Name 'Az' -Keep 1 -WhatIf

Keep PowerShell 7 current

Update-PS7   # launches the official MSI-based installer