Delete Mapped Drive

Delete a mapped drive.

Input Parameters

Name Type Required Description
Drive String Yes The letter of the mapped drive.
User Name String Yes The user that mapped the drive.

The User Name configured must be the name of the user account that created the mapped drive. Configuring a different name for this object will cause the policy to fail.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Drive String Yes Z:\
User Name String Yes Domain\Username