Dela via


RemotingCapability Enum

Definition

Defines the various types of remoting behaviour that a cmdlet may desire when used in a context that supports ambient / automatic remoting.

public enum class RemotingCapability
public enum RemotingCapability
type RemotingCapability = 
Public Enum RemotingCapability
Inheritance
RemotingCapability

Fields

Name Value Description
None 0

In the presence of ambient remoting, this command should still be run locally.

PowerShell 1

In the presence of ambient remoting, this command should be run on the target computer using PowerShell Remoting.

SupportedByCommand 2

In the presence of ambient remoting, this command supports its own form of remoting which can be used instead to target the remote computer.

OwnedByCommand 3

In the presence of ambient remoting, the command assumes all responsibility for targeting the remote computer; PowerShell Remoting is not supported.

Applies to