Skip to content

One line PowerShell scripts to start MS Office apps to start with blank documents

To start a blank PowerPoint presentation:

$PowerPoint=New-Object -ComObject Powerpoint.Application ; 

To start a blank Word document:

$Word=New-Object -ComObject Word.Application ;
$Word.visible=$true ;

To start a blank Excel document:

$Excel=New-Object -ComObject Excel.Application ;
$Excel.visible=$true ;

To start a blank Outlook document:

start outlook

To start a blank OneNote document:

start onenote

Source :

See also  How To Transform JSON Data with jq?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.