Remove-PSDrive


Removes a drive from its location.

Snap-In: Microsoft.PowerShell.Management

Syntax:

Remove-PSDrive

 [-Name] <String[]> [-PSProvider <String[]>] [-Scope <String>] [-Force] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm] 

Description:

Used to remove an existing drive. When a provider name and no drive name is specified, then all drives exposed by that provider are removed. An error will result if the current working location is set to a container on a drive that is being removed.



Windows PowerShell. TFM
Internet Forensics
ISBN: 982131445
EAN: 2147483647
Year: 2004
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net