Skip to main content

Utilities

General-purpose helpers for everyday tasks. This page groups small utilities that don't need a dedicated section yet.

For full details and examples, run Get-Help Update-CSVDelimiter -Detailed or Get-Help Update-PS7 -Detailed.

Update-CSVDelimiter

Update-CSVDelimiter switches CSV files between comma and semicolon separators while preserving encoding.

Syntax

Update-CSVDelimiter -FilePath <String> [-Encoding <String>] [-ToComma] [-ToSemicolon]
ParameterDescriptionRequiredDefault
EncodingInput/output encoding.NoISO-8859-15
FilePathPath to the CSV file.Yes-
ToCommaConvert ; to ,.NoFalse
ToSemicolonConvert , to ;.NoFalse

Examples

# Convert semicolons to commas
Update-CSVDelimiter -FilePath 'C:\path\to\file.csv' -ToComma

# Convert commas to semicolons with a custom encoding
Update-CSVDelimiter -FilePath 'C:\path\to\file.csv' -Encoding 'UTF8' -ToSemicolon
note
  • Default encoding is ISO-8859-15.
  • The cmdlet overwrites the target file with the updated delimiter.

Update-PS7

Update-PS7 runs the official Microsoft helper script to install or upgrade PowerShell 7 via MSI.

Syntax

Update-PS7
note
  • Downloads aka.ms/install-powershell.ps1 and executes it with -UseMSI.
  • Ideal for keeping managed endpoints on the latest stable PowerShell release.
  • The installer UI appears; run from an elevated session for system-wide upgrades.
  • On Windows PowerShell 5.1, the function enforces TLS 1.2 before downloading.

Questions and answers

Does Update-PS7 install silently?

No. It downloads and runs the official Microsoft script with the interactive MSI (-UseMSI). Use an elevated session for system-wide upgrades.