Delete pages
Deletes the active page
Remove-VisioPage
Delete specific pages
$pages = Get-VisioPage
# deletes the first page
Remove-VisioPage $pages[0]
# deletes the first and fourth page
Remove-VisioPage $pages[0],$pages[3]
Delete all pages
$pages = Get-VisioPage
Remove-VisioPage $pages
Delete all pages that have "2" in their name
Get-VisioPage | Remove-VisioPage
Last updated