Enable Drive AutoRun

This object turns on AutoRun for all plugged-in drives (USB, CD, DVD, etc.).

Requires PowerShell 5.0

Before using this Automation Manager Object, you must install PowerShell 5.0.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

No input parameters required.