To set a registry value, use the following command:

sp -path HKCU:\Software\Microsoft\Office\PowerPoint\Addins\Officetimeline -name LoadBehavior -value 16

To read a registry value, use:

gp -path HKCU:\Software\Microsoft\Office\PowerPoint\Addins\Officetimeline -name LoadBehavior

sp is alias for get-itemProperty and gp is alias for set-ItemProperty.

Advertisements