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)

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

value = instance.Force

instance.Force = value

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

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

CompilerGeneratedAttribute 
public function get Force () : InArgument<SwitchParameter>

CompilerGeneratedAttribute 
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


Show:
© 2015 Microsoft