Excel 103 commands Build, read, convert, validate, repair, compare, and publish XLS and XLSX workbook workflows.
New-OfficeExcelAdd-OfficeExcelTableAdd-OfficeExcelPivotTableTest-OfficeDocumentConvert-OfficeDocumentExamples/Excel/Example-ExcelImportExport.ps1 Copy
$rows |
Export-OfficeExcel -Path .\Revenue.xlsx -Sheet 'Revenue' -TableName 'Revenue' -Title 'Regional Revenue'
Import-OfficeExcel -Path .\Revenue.xlsx -Sheet 'Revenue' -Range 'A2:C5' |
Format-Table -AutoSizeExcel guide → Command reference →
Word 81 commands Create, inspect, update, review, merge, protect, and convert DOC and DOCX documents.
New-OfficeWordAdd-OfficeWordTableGet-OfficeWordReviewInvoke-OfficeWordMailMergeConvert-OfficeDocumentExamples/Word/Example-WordBasic.ps1 Copy
New-OfficeWord -Path .\Revenue.docx {
Add-OfficeWordSection {
Add-OfficeWordParagraph -Text 'Executive Summary' -Style Heading1
Add-OfficeWordTable -InputObject $data -Style 'GridTable1LightAccent2' {
Add-OfficeWordTableCondition -FilterScript { $_.Revenue -gt 100000 } -BackgroundColor '#e6fffb'
}
}
}Word guide → Command reference →
PDF 80 commands Author, inspect, transform, sign, annotate, extract, preflight, and combine PDF files.
New-OfficePdfMerge-OfficeDocumentTest-OfficeDocumentSet-OfficePdfSignatureExamples/Pdf/Example-PdfOperations.ps1 Copy
Merge-OfficeDocument -Path $first, $second -OutputPath $joined
Split-OfficeDocument -Path $joined -OutputDirectory $splitDirectory -Prefix 'part'
Add-OfficePdfStamp -Path $joined -OutputPath $stamped -Text 'REVIEWED' -Page '1'
Convert-OfficeDocument -To Markdown -Path $stamped -AsStringPDF guide → Command reference →
PowerPoint 53 commands Compose, inspect, update, import, theme, and render repeatable presentation decks.
New-OfficePowerPointAdd-OfficePowerPointSlideAdd-OfficePowerPointChartGet-OfficePowerPointSlidePowerPoint guide → Command reference →
Markdown 33 commands Compose typed Markdown, parse documents, and convert between Markdown and HTML or Word.
New-OfficeMarkdownAdd-OfficeMarkdownTableConvert-OfficeDocumentRead-OfficeDocumentMarkdown guide → Command reference →
Visio 20 commands Create, inspect, arrange, and export VSDX diagrams with built-in and imported stencils.
New-OfficeVisioAdd-OfficeVisioStencilShapeGet-OfficeDocumentInfoExport-OfficeDocumentImageVisio guide → Command reference →
Project 20 commands Create schedules, inspect tasks and resources, exchange mapped tables, and save qualified native or XML projects.
New-OfficeProjectInvoke-OfficeProjectScheduleSave-OfficeProjectImport-OfficeProjectTableProject guide → Command reference →
TOML 12 commands Edit TOML files without losing comments or layout, and read and write TOML configuration and lock files as PowerShell objects.
Open-OfficeTomlSet-OfficeTomlNodeImport-OfficeTomlExport-OfficeTomlTOML guide → Command reference →
YAML 12 commands Edit YAML files without losing comments or layout, merge overlays, and convert between YAML and objects.
Open-OfficeYamlSet-OfficeYamlNodeConvertFrom-OfficeYamlTest-OfficeYamlExamples/Yaml/Example-YamlEditMergeConvert.ps1 Copy
Open-OfficeYaml -Path $values {
Set-OfficeYamlNode -Select 'image.tag' -Value '1.26'
Set-OfficeYamlNode -Select 'resources.limits' -Value ([ordered]@{ cpu = '500m'; memory = '256Mi' })
}YAML guide → Command reference →
OpenDocument 11 commands Compose, read, convert, and save ODT, ODS, and ODP workflows.
New-OfficeOpenDocumentAdd-OfficeOpenDocumentParagraphSet-OfficeOpenDocumentCellSave-OfficeOpenDocumentOpenDocument guide → Command reference →
Document operations and capabilities 11 commands Inspect, compare, validate, repair, protect, combine, split, and convert documents through the shared native operations.
Get-OfficeDocumentCapabilityNew-OfficeWordPdfOptionsConvert-OfficeDocumentDocument operations and capabilities guide → Command reference →
Email 9 commands Read and write messages and mailbox artifacts through the managed OfficeIMO.Email engine.
Open-OfficeEmailOpen-OfficeEmailMailboxSave-OfficeEmailSave-OfficeEmailMailboxEmail guide → Command reference →
Reader, extraction, and OCR 9 commands Detect formats and extract normalized documents, chunks, tables, visuals, assets, OCR text, and ingest results.
New-OfficeDocumentReaderRead-OfficeDocumentExport-OfficeDocumentAssetSearch-OfficeDocumentExamples/Reader/Recipe-Reader-SearchFolder.ps1 Copy
Search-OfficeDocument -Path '.\Documents' -Pattern 'Retention' -Recurse -MaximumResults 0 |
Select-Object DocumentType, Path, MatchReader, extraction, and OCR guide → Command reference →
Access 9 commands Read native database schemas and rows, and create qualified table databases without ACE or COM.
New-OfficeAccessGet-OfficeAccessRowAdd-OfficeAccessRowSave-OfficeAccessAccess guide → Command reference →
RTF 8 commands Create, open, edit, inspect, and bridge Rich Text Format documents.
New-OfficeRtfOpen-OfficeRtfUpdate-OfficeRtfTextConvert-OfficeDocumentRTF guide → Command reference →
EPUB 8 commands Read, create, and save EPUB publications from chapters, resources, and metadata.
New-OfficeEpubAdd-OfficeEpubChapterGet-OfficeEpubChapterSave-OfficeEpubEPUB guide → Command reference →
Confluence Cloud 7 commands Plan and publish pages, preserve managed sections, and transfer attachments through OfficeIMO.Confluence.
New-OfficeConfluenceSessionPublish-OfficeConfluencePageSet-OfficeConfluenceManagedSectionSend-OfficeConfluenceAttachmentConfluence Cloud guide → Command reference →
HTML assets 5 commands Export images and review surfaces used by document-to-HTML workflows.
New-OfficeHtmlRenderOptionsExport-OfficeDocumentImageHTML assets guide → Command reference →
Archive migration and evidence 5 commands Inspect package safety and provenance, convert iWork and offline OneNote content, and retain fidelity evidence.
Get-OfficeDocumentInfoGet-OfficeDocumentProvenanceOpen-OfficeIWorkOpen-OfficeOneNoteArchive migration and evidence guide → Command reference →
Before sharing 5 commands Find and remove comments, authors, hidden content and image metadata, and check Content Credentials and AI labels before a file leaves your team.
Get-OfficeHiddenDataRemove-OfficeHiddenDataNew-OfficeHiddenDataOptionsGet-OfficeDocumentProvenanceExamples/Workflows/Recipe-CleanBeforeSharing.ps1 Copy
Get-ChildItem -LiteralPath $outgoing -File | Get-OfficeHiddenData
Get-ChildItem -LiteralPath $outgoing -File |
Remove-OfficeHiddenData -OutputDirectory $shareBefore sharing guide → Command reference →
CSV 4 commands Create, import, inspect, and export delimited data with typed options.
ConvertTo-OfficeCsvImport-OfficeCsvExport-OfficeCsvCSV guide → Command reference →
LaTeX 3 commands Read, create, update, and save bounded LaTeX interoperability workflows.
Open-OfficeLatexNew-OfficeLatexReadOptionsConvert-OfficeDocumentSave-OfficeLatexLaTeX guide → Command reference →
AsciiDoc 3 commands Read, create, update, and save bounded AsciiDoc workflows.
Open-OfficeAsciiDocNew-OfficeAsciiDocReadOptionsConvert-OfficeDocumentSave-OfficeAsciiDocAsciiDoc guide → Command reference →
Cross-format visuals 1 command Convert reusable visual artifacts for Word, Excel, PowerPoint, and PDF placement.
Cross-format visuals guide → Command reference →
Google Workspace 1 command Create an authenticated session for native Google Docs, Sheets, and Slides operations.
New-OfficeGoogleWorkspaceSessionGoogle Workspace guide → Command reference →