Parameters Command Line Parameters param() and $args Pipelines Pass objects down the pipeline. Objects Working with objects. Date&Time Date and Time Format patterns (DateTimeFormatInfo) Redirection Spool output to a file. Tab Completion for Cmdlets, Filenames & Variables. Transaction Manage transactions.
Escape chars, delimiters, Here Strings and quotes. Comparison -like, -lt, -gt, -eq, -ne, -match DataTypes PowerShell data types Functions and Filters Write a named block of code. Function Input Processing (Begin..Process..End) Methods ToUpper, PadRight, Substring etc. Operators Format strings and arrays @( ) -f [ ] $( ) :: & Regular Expressions Search for a string. Replace Search and Replace in strings and files. Wildcards Match multiple items. Variables and basic Operators (+ - / =) Arrays and Hash tables. Automatic variables ($_, $Args etc) Preference variables ($DebugPreference etc) Ref vars Pass a reference variable to a function.
Environment variables,PowerShell providers.
Scripts and Functions
Run a script How to run a PowerShell script. Comments How to comment your scripts. $Profile The PowerShell startup $Profile. Base36 Convert numbers to/from base 36. CD - Jump to the previous working directory. DelOlder Delete files and folders older than n days. DisplayRes Get the display resolution of multiple computers. eMail Function to send emails. Open Here Open PowerShell from any folder. Check-Backups Check multiple locations for files that have changed. Get-DiskSpace List the free disk space for multiple computers. Password expiry Reminder email pshInfo List Ram, Disk Space, Service pack, Uptime. Get-Bandwidth List the average IO for a Network interface. psp PowerShell Ping. InstalledApps List the applications installed. HotFixInfo List machines with a KB hotfix installed. ServiceStatus List installed services and service status. StampMe Rename a file with the current Date/Time. Touch Change the date/time of a file/folder.
Links to other websites, books etc...
© Copyright SS64.com 1999-2013
Some rights reserved