Condividi tramite


RemotingBehavior Enum

Definition

Controls or overrides the remoting behavior, during invocation, of a command that supports ambient remoting.

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

Fields

Name Value Description
None 0

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

PowerShell 1

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

Custom 2

In the presence of ambient remoting, and a command that declares 'SupportedByCommand' remoting capability, run this command on the target computer using the command's custom remoting facilities.

Applies to