Windows Dev Center

RegisterPSSessionConfiguration.Force Property

Provides access to the Force parameter. Introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.Core.Activities
Assembly: Microsoft.PowerShell.Core.Activities (in Microsoft.PowerShell.Core.Activities.dll)

Dim instance As RegisterPSSessionConfiguration
Dim value As InArgument(Of SwitchParameter)

value = instance.Force

instance.Force = value

public InArgument<SwitchParameter> Force { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public InArgument<SwitchParameter> get_Force ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Force (InArgument<SwitchParameter> value)

public function get Force () : InArgument<SwitchParameter>

public function set Force (value : InArgument<SwitchParameter>)

Property Value

Returns InArgument.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft