Прочетете на английски

Споделяне чрез


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.

C++
public enum class 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

Продукт Версии
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0