Selecting specific shapes
New-VisioRectangle 0 0 1 1
$shapes += New-VisioRectangle 0 0 1 1
$shapes += New-VisioRectangle 0 0 2 3
Select-VisioShape $shapes
New-VisioRectangle 0 0 1 1
$shapes += New-VisioRectangle 0 0 1 1
$shapes += New-VisioRectangle 0 0 2 3
$shapeids = $shapes | ForEach-Object{ $_.ID }
Select-VisioShape $shapeids