A basic, reasonably strong password generator that avoids some more problematic special characters
function Get-Password()
{
$strUcase = Get-Random -Count 2 -InputObject (65..90) | % {[char]$_}
$strLcase = Get-Random -Count 2 -InputObject (97..122) | % {[char]$_}
$strSymbol = Get-Random -Count 1 -InputObject "!","^","-","_","."
$strNumber = Get-Random -Count 1 -InputObject (50..57) | % {[char]$_}
$strLcase2 = Get-Random -Count 2 -InputObject (97..122) | % {[char]$_}