Using clickable actions in PowerPoint presentations can be super useful to launch Visual Studio Code or PowerShell ISE, and seamlessly open and demo PowerShell code.

However, for security reasons, launching programs via inserted “Action” items is prohibited by default, and there is no easy way to enable it. What’s more, even when you do enable this feature, PowerPoint will revert it back to protected mode after a short period of time.

Here is a quick PowerShell script that you can run right before your presentation to make sure all clickable “Action” items in fact are launching things.

$path = 'HKCU:\Software\Microsoft\Office\16.0\PowerPoint\Security'
Set-ItemProperty -Path $path -Name RunPrograms -Value 1 -Type DWord

PowerShell Conference Europe (psconf.eu) opens June 2, 2020, in Hannover, Germany, and you can be part of it! 4 days, 3 tracks, 80 PowerShell sessions, and 40 renown speakers from around the world (including PowerShell inventor Jeffrey Snover, the PowerShell team with Steve Lee, the Amazon AWS team, and many more) are waiting for questions and discussions, providing authoritative firsthand information, tips and guidance for professional PowerShell scripters.

Find out more at http://powershell.one/psconfeu/psconf.eu-2020/about, download the mobile app with sessions and speakers at http://psconfeu.sessionize.com/, and secure your seat at https://psconf.eu/register.html.

Twitter This Tip! ReTweet this Tip!

Anonymous