ImportGpoCommand.CreateIfNeeded Property
Gets and sets the value of the CreateIfNeeded parameter of the Import-Gpo cmdlet.
This API is not CLS-compliant.
Namespace: Microsoft.GroupPolicy.Commands
Assembly: Microsoft.GroupPolicy.Commands (in Microsoft.GroupPolicy.Commands.dll)
Syntax
[ParameterAttribute]
[ValidateNotNullOrEmptyAttribute]
[CLSCompliantAttribute(false)]
public SwitchParameter CreateIfNeeded { get; set; }
public:
[ParameterAttribute]
[ValidateNotNullOrEmptyAttribute]
[CLSCompliantAttribute(false)]
property SwitchParameter CreateIfNeeded {
SwitchParameter get();
void set(SwitchParameter value);
}
[<ParameterAttribute>]
[<ValidateNotNullOrEmptyAttribute>]
[<CLSCompliantAttribute(false)>]
member CreateIfNeeded : SwitchParameter with get, set
<ParameterAttribute>
<ValidateNotNullOrEmptyAttribute>
<CLSCompliantAttribute(False)>
Public Property CreateIfNeeded As SwitchParameter
Property Value
Type: System.Management.Automation.SwitchParameter
Returns SwitchParameter.
Remarks
This topic is included in this SDK for completeness only.For more information about this cmdlet, see Import-Gpo in the Microsoft TechNet library.
For Help at the command line, type:
get-help import-gpo
See Also
ImportGpoCommand Class
Microsoft.GroupPolicy.Commands Namespace
Return to top