RemoveItemCommand RemoveItemCommand RemoveItemCommand Class

Definition

Removes the specified item using the namespace providers.

[System.Management.Automation.Cmdlet("Remove", "Item", DefaultParameterSetName="Path", HelpUri="https://go.microsoft.com/fwlink/?LinkID=113373", SupportsShouldProcess=true, SupportsTransactions=true)]
public class RemoveItemCommand : Microsoft.PowerShell.Commands.CoreCommandWithCredentialsBase
type RemoveItemCommand = class
    inherit CoreCommandWithCredentialsBase
Public Class RemoveItemCommand
Inherits CoreCommandWithCredentialsBase
Inheritance
Attributes

Constructors

RemoveItemCommand() RemoveItemCommand() RemoveItemCommand()

Properties

CommandOrigin CommandOrigin CommandOrigin Inherited from InternalCommand
CommandRuntime CommandRuntime CommandRuntime Inherited from Cmdlet
Credential Credential Credential Inherited from CoreCommandWithCredentialsBase
CurrentPSTransaction CurrentPSTransaction CurrentPSTransaction Inherited from Cmdlet
Events Events Events Inherited from PSCmdlet
Exclude Exclude Exclude

Gets or sets the exclude property

Filter Filter Filter

Gets or sets the filter property

Force Force Force

Gets or sets the force property

Host Host Host Inherited from PSCmdlet
Include Include Include

Gets or sets the include property

InvokeCommand InvokeCommand InvokeCommand Inherited from PSCmdlet
InvokeProvider InvokeProvider InvokeProvider Inherited from PSCmdlet
JobManager JobManager JobManager Inherited from PSCmdlet
JobRepository JobRepository JobRepository Inherited from PSCmdlet
LiteralPath LiteralPath LiteralPath

Gets or sets the literal path parameter to the command

MyInvocation MyInvocation MyInvocation Inherited from PSCmdlet
PagingParameters PagingParameters PagingParameters Inherited from PSCmdlet
ParameterSetName ParameterSetName ParameterSetName Inherited from PSCmdlet
Path Path Path

Gets or sets the path property

ProviderSupportsShouldProcess ProviderSupportsShouldProcess ProviderSupportsShouldProcess

Determines if the provider for the specified path supports ShouldProcess

Recurse Recurse Recurse

Gets or sets the recurse property

RetrievedDynamicParameters RetrievedDynamicParameters RetrievedDynamicParameters Inherited from CoreCommandBase
SessionState SessionState SessionState Inherited from PSCmdlet
Stopping Stopping Stopping Inherited from Cmdlet
SupportsShouldProcess SupportsShouldProcess SupportsShouldProcess Inherited from CoreCommandBase

Methods

BeginProcessing() BeginProcessing() BeginProcessing() Inherited from Cmdlet
CurrentProviderLocation(String) CurrentProviderLocation(String) CurrentProviderLocation(String) Inherited from PSCmdlet
DoesProviderSupportShouldProcess(String[]) DoesProviderSupportShouldProcess(String[]) DoesProviderSupportShouldProcess(String[]) Inherited from CoreCommandBase
EndProcessing() EndProcessing() EndProcessing() Inherited from Cmdlet
GetDynamicParameters() GetDynamicParameters() GetDynamicParameters() Inherited from CoreCommandBase
GetResolvedProviderPathFromPSPath(String, ProviderInfo) GetResolvedProviderPathFromPSPath(String, ProviderInfo) GetResolvedProviderPathFromPSPath(String, ProviderInfo) Inherited from PSCmdlet
GetResourceString(String, String) GetResourceString(String, String) GetResourceString(String, String) Inherited from Cmdlet
GetUnresolvedProviderPathFromPSPath(String) GetUnresolvedProviderPathFromPSPath(String) GetUnresolvedProviderPathFromPSPath(String) Inherited from PSCmdlet
GetVariableValue(String) GetVariableValue(String) GetVariableValue(String) Inherited from PSCmdlet
GetVariableValue(String, Object) GetVariableValue(String, Object) GetVariableValue(String, Object) Inherited from PSCmdlet
Invoke() Invoke() Invoke() Inherited from Cmdlet
Invoke<T>() Invoke<T>() Invoke<T>() Inherited from Cmdlet
ProcessRecord() ProcessRecord() ProcessRecord()

Removes the specified items.

ShouldContinue(String, String) ShouldContinue(String, String) ShouldContinue(String, String) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean) Inherited from Cmdlet
ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) ShouldContinue(String, String, Boolean, Boolean, Boolean) Inherited from Cmdlet
ShouldProcess(String) ShouldProcess(String) ShouldProcess(String) Inherited from Cmdlet
ShouldProcess(String, String) ShouldProcess(String, String) ShouldProcess(String, String) Inherited from Cmdlet
ShouldProcess(String, String, String) ShouldProcess(String, String, String) ShouldProcess(String, String, String) Inherited from Cmdlet
ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) ShouldProcess(String, String, String, ShouldProcessReason) Inherited from Cmdlet
StopProcessing() StopProcessing() StopProcessing() Inherited from CoreCommandBase
ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) ThrowTerminatingError(ErrorRecord) Inherited from Cmdlet
TransactionAvailable() TransactionAvailable() TransactionAvailable() Inherited from Cmdlet
WriteCommandDetail(String) WriteCommandDetail(String) WriteCommandDetail(String) Inherited from Cmdlet
WriteDebug(String) WriteDebug(String) WriteDebug(String) Inherited from Cmdlet
WriteError(ErrorRecord) WriteError(ErrorRecord) WriteError(ErrorRecord) Inherited from Cmdlet
WriteInformation(InformationRecord) WriteInformation(InformationRecord) WriteInformation(InformationRecord) Inherited from Cmdlet
WriteInformation(Object, String[]) WriteInformation(Object, String[]) WriteInformation(Object, String[]) Inherited from Cmdlet
WriteObject(Object) WriteObject(Object) WriteObject(Object) Inherited from Cmdlet
WriteObject(Object, Boolean) WriteObject(Object, Boolean) WriteObject(Object, Boolean) Inherited from Cmdlet
WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) WriteProgress(ProgressRecord) Inherited from Cmdlet
WriteVerbose(String) WriteVerbose(String) WriteVerbose(String) Inherited from Cmdlet
WriteWarning(String) WriteWarning(String) WriteWarning(String) Inherited from Cmdlet

Applies to