# Import-OfficePowerPointSlide

Imports a slide from another PowerPoint presentation.

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 **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointSlide`

**Source**

[ImportOfficePowerPointSlideCommand.cs:22](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/ImportOfficePowerPointSlideCommand.cs#L22) 

Imports a slide from another PowerPoint presentation.

## Syntax

```
Import-OfficePowerPointSlide
[-InsertAt <Int32>]
[-Presentation <PowerPointPresentation>]
-SourceIndex <Int32>
-SourcePresentation <PowerPointPresentation>
[<CommonParameters>]
```

[#](#method-import-officepowerpointslide-int32-powerpointpresentation-int32-powerpointpresentation)

Parameter set: `SourcePresentation`

```
Import-OfficePowerPointSlide
[-InsertAt <Int32>]
[-Presentation <PowerPointPresentation>]
-SourceIndex <Int32>
-SourcePath <String>
[<CommonParameters>]
```

[#](#method-import-officepowerpointslide-int32-powerpointpresentation-int32-string)

Parameter set: `SourcePath`

## Description

Can import from an open presentation or directly from a source file path.

## Examples

### Import the first slide from another deck.

```powershell
New-OfficePowerPoint -Path .\Examples\Documents\PowerPointImportTarget.pptx {
    Add-OfficePowerPointSlide -Layout 1 -PassThru | Set-OfficePowerPointSlideTitle -Title 'Target deck'
    Import-OfficePowerPointSlide -SourcePath .\Examples\Documents\SourceDeck.pptx -SourceIndex 0 -InsertAt 1
}
```

Imports the first slide from another deck into the target presentation.

## Parameters

**-InsertAt Int32 optional**

Optional target insertion index; omit to append.

**-Presentation PowerPointPresentation optionalpipeline: True (ByValue)**

Target presentation to update (optional inside DSL).

**-SourceIndex Int32 required**

Zero-based slide index in the source presentation.

**-SourcePresentation PowerPointPresentation requiredsets: SourcePresentation**

Source presentation to import from.

**-SourcePath String requiredaliases: Pathsets: SourcePath**

Path to the source presentation.

## 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:01F91F8CB5FDB9CDF99467E53AB7C607EACC516324788788F2BFA4EF455C23EA -->
