PowerShell Working with JSON: ConvertTo-Json and ConvertFrom-Json
PowerShell handles JSON natively. Learn to convert objects to JSON, parse JSON from APIs, and save/load JSON config files with examples.
Commands Tips
PowerShell handles JSON natively. Learn to convert objects to JSON, parse JSON from APIs, and save/load JSON config files with examples.
Find any file anywhere on disk with PowerShell. Learn recursive search by name, extension, date, and size with Get-ChildItem examples.
Select-String is PowerShell’s grep. Learn to search one file, a folder, and recursive directories for any text pattern with line numbers.
Rename hundreds of files at once with PowerShell Rename-Item. Learn pattern-based renaming, adding prefixes, and date-stamping files safely.
PowerShell can report folder sizes faster than File Explorer. Learn to sum folder contents recursively and format results in MB or GB.
Export-Csv saves any PowerShell object pipeline to a CSV file. Learn to create clean reports, append data, and control headers and delimiters.
Import-Csv turns CSV files into PowerShell objects instantly. Learn to read CSVs, loop through rows, and use data for bulk automation tasks.
Get-Content reads file text into PowerShell as an array of lines. Learn to read, write, and append files with encoding and large-file tips.
New-Item creates files, folders, symlinks, and registry keys in PowerShell. Learn to create nested directories and new files with content.
Test-Path checks whether a path exists before your script tries to use it. Learn -PathType, -IsValid, and how to use it in if statements.