# New-OfficeVisioGallery

Generates the OfficeIMO Visio reference gallery as editable .vsdx diagrams.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Visio.VisioGalleryResult`

**Source**

[NewOfficeVisioGalleryCommand.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Visio/NewOfficeVisioGalleryCommand.cs#L17) 

Generates the OfficeIMO Visio reference gallery as editable .vsdx diagrams.

## Syntax

```
New-OfficeVisioGallery
[-NoPackageValidation]
[-NoVisualQualityAnalysis]
[-OutputDirectory] <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
```

[#](#method-new-officevisiogallery-switchparameter-switchparameter-string-switchparameter-switchparameter)

Parameter set: `OutputDirectory`

## Examples

### Generate the Visio reference gallery.

```powershell
New-OfficeVisioGallery -OutputDirectory .\VisioGallery |
                Select-Object Name, FilePath, IsClean
```

Creates polished, editable Visio samples for flowcharts, architecture, network, timeline, swimlane, org chart, and graph diagrams.

## Parameters

**-NoPackageValidation SwitchParameter optional**

Skip structural package validation after gallery documents are generated.

**-NoVisualQualityAnalysis SwitchParameter optional**

Skip visual quality analysis after gallery documents are generated.

**-OutputDirectory String requiredposition: 0**

Directory that receives generated .vsdx gallery documents.

**-WhatIf SwitchParameter optional**

Shows what would happen if the command runs.

**-Confirm SwitchParameter optional**

Prompts for confirmation before running the command.

## 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).

<!-- PowerForge markdown artifact sha256:D56FAC05E4D937AB08A28A78809D0E2AEFF3FB03958DEC6EB425B96BA3EC72F9 -->
