Select-VisioShape
Select all shapes
Select-VisioShape AllSelecting specific shapes
New-VisioRectangle 0 0 1 1
$shapes += New-VisioRectangle 0 0 1 1
$shapes += New-VisioRectangle 0 0 2 3
Select-VisioShape $shapesYou can pass in IDs of 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 $shapeidsLast updated