# Get-OfficeVisioStencilCatalog

Gets built-in or package-backed OfficeIMO Visio stencil catalogs.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: VisioStencilCatalog

**Module**

`PSWriteOffice`

**Aliases**

`VisioStencilCatalog`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Visio.Stencils.VisioStencilCatalog`

**Source**

[GetOfficeVisioStencilCatalogCommand.cs:19](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Visio/GetOfficeVisioStencilCatalogCommand.cs#L19) 

Gets built-in or package-backed OfficeIMO Visio stencil catalogs.

## Syntax

```
Get-OfficeVisioStencilCatalog
[-BuiltIn <OfficeVisioBuiltInStencilCatalog>]
[<CommonParameters>]
```

[#](#method-get-officevisiostencilcatalog-officevisiobuiltinstencilcatalog)

Parameter set: `BuiltIn`

```
Get-OfficeVisioStencilCatalog
[-CatalogName <String>]
[-Category <String>]
[-DefaultHeight <Double>]
[-DefaultWidth <Double>]
[-IdPrefix <String>]
[-IncludeUnsupportedMasters]
[-MasterName <String[]>]
[-NoConnectionPointMetadata]
[-NoLearnMasterDimensions]
[-NoPreviewImageMetadata]
[-Path] <String[]>
[-Recurse]
[<CommonParameters>]
```

[#](#method-get-officevisiostencilcatalog-string-string-double-double-string-switchparameter-string-switchparameter-switchparameter-switchparameter-string-switchparameter)

Parameter set: `Path`

```
Get-OfficeVisioStencilCatalog
[-CatalogName <String>]
[-Category <String>]
[-DefaultHeight <Double>]
[-DefaultWidth <Double>]
[-IdPrefix <String>]
[-IncludeUnsupportedMasters]
-Installed
[-MasterName <String[]>]
[-NoConnectionPointMetadata]
[-NoLearnMasterDimensions]
[-NoPreviewImageMetadata]
[<CommonParameters>]
```

[#](#method-get-officevisiostencilcatalog-string-string-double-double-string-switchparameter-switchparameter-string-switchparameter-switchparameter-switchparameter)

Parameter set: `Installed`

## Examples

### Load and inspect the flowchart stencil catalog.

```powershell
$catalog = Get-OfficeVisioStencilCatalog -BuiltIn Flowchart
Find-OfficeVisioStencil -Catalog $catalog -Query decision -First 3
```

Gets a built-in catalog and searches it before using stencils in a diagram.

## Parameters

**-BuiltIn OfficeVisioBuiltInStencilCatalog optionalsets: BuiltIn**

Built-in OfficeIMO stencil catalog to return.

Possible values: `All`, `BasicShapes`, `Flowchart`, `BlockDiagram`, `Architecture`, `Network`, `Infrastructure`, `Cloud`, `SecurityIdentity`, `ContainersKubernetes`, `DataPlatform`, `CollaborationBusiness`, `Swimlane`, `OrgChart`, `Timeline`, `Sequence`

**-CatalogName String optionalsets: Path, Installed**

Catalog display name when loading package metadata.

**-Category String optionalsets: Path, Installed**

Category assigned to package-backed stencil shapes.

**-DefaultHeight Double optionalsets: Path, Installed**

Default height for package-backed stencils when dimensions cannot be learned.

**-DefaultWidth Double optionalsets: Path, Installed**

Default width for package-backed stencils when dimensions cannot be learned.

**-IdPrefix String optionalsets: Path, Installed**

Stable id prefix for package-backed stencil shapes.

**-IncludeUnsupportedMasters SwitchParameter optionalsets: Path, Installed**

Include unsupported package masters as generic generated masters.

**-MasterName String[] optionalsets: Path, Installed**

Optional master filters for package-backed catalogs.

**-NoConnectionPointMetadata SwitchParameter optionalsets: Path, Installed**

Skip reading source connection point metadata from package master parts.

**-NoLearnMasterDimensions SwitchParameter optionalsets: Path, Installed**

Skip reading master dimensions from package master parts.

**-NoPreviewImageMetadata SwitchParameter optionalsets: Path, Installed**

Skip reading preview image relationship metadata from package master parts.

**-Path String[] requiredposition: 0aliases: FilePath, LiteralPathsets: Path**

Visio package, package directory, or OfficeIMO native stencil manifest path.

**-Recurse SwitchParameter optionalsets: Path**

Search directories recursively.

**-Installed SwitchParameter requiredsets: Installed**

Discover installed Microsoft Visio stencils and templates.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:9A004717C7B630FEF67B80E2E40E68D4FAF2D648E62A9713CD3B843DC402F1E4 -->
