Get-VisioShape
Enumerate currently selected shapes
$shapes = Get-VisioShapeGet all shapes on page regardless of selection
$shapes = Get-VisioShape *Get all shapes on page by name
$shapes = Get-VisioShape "Shapename"NOTE: Wildcards are NOT supported
Get selected shapes included shapes inside groups
$shapes = Get-VisioShape -RecursiveLast updated