Quote
- The single quotes output the string without modification
- The double quotes will perform pre-processing operations (such as variables, special characters etc)
Management
Substring
($PSVersionTable.PSVersion).ToString().substring(0,3)
Concatenate
($integer.ToString() + " - " + $string)
Replace
- Replace two string by a tab
$string = $string -replace ' {2,}', "`t"
Trim
$string.Trim()
Length
$string.length