RemoveGPPrefRegistryValueCommand Class

 

The Remove-GPPrefRegistryValue cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.

This API is not CLS-compliant.

Namespace:   Microsoft.GroupPolicy.Commands
Assembly:  Microsoft.GroupPolicy.Commands (in Microsoft.GroupPolicy.Commands.dll)

Inheritance Hierarchy

System.Object
  System.Management.Automation.Internal.InternalCommand
    System.Management.Automation.Cmdlet
      System.Management.Automation.PSCmdlet
        Microsoft.GroupPolicy.Commands.RemoveGPPrefRegistryValueCommand

Syntax

[CmdletAttribute("Remove", "GPPrefRegistryValue", SupportsShouldProcess = true, 
    HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216715", DefaultParameterSetName = "GetByGUID")]
[CLSCompliantAttribute(false)]
public class RemoveGPPrefRegistryValueCommand : PSCmdlet
[CmdletAttribute("Remove", "GPPrefRegistryValue", SupportsShouldProcess = true, 
    HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216715", DefaultParameterSetName = "GetByGUID")]
[CLSCompliantAttribute(false)]
public ref class RemoveGPPrefRegistryValueCommand : PSCmdlet
[<CmdletAttribute("Remove", "GPPrefRegistryValue", SupportsShouldProcess = true,
    HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216715",
    DefaultParameterSetName = "GetByGUID")>]
[<CLSCompliantAttribute(false)>]
type RemoveGPPrefRegistryValueCommand = 
    class
        inherit PSCmdlet
    end
<CmdletAttribute("Remove", "GPPrefRegistryValue", SupportsShouldProcess := True,
    HelpUri := "https://go.microsoft.com/fwlink/?LinkId=216715", DefaultParameterSetName := "GetByGUID")>
<CLSCompliantAttribute(False)>
Public Class RemoveGPPrefRegistryValueCommand
    Inherits PSCmdlet

Constructors

Name Description
System_CAPS_pubmethod RemoveGPPrefRegistryValueCommand()

Creates a new RemoveGPPrefRegistryValueCommand object. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.

Properties

Name Description
System_CAPS_pubproperty CommandOrigin

(Inherited from InternalCommand.)

System_CAPS_pubproperty CommandRuntime

(Inherited from Cmdlet.)

System_CAPS_pubproperty Context

Gets and sets the value of the Context parameter of the Remove-GPPrefRegistryValue cmdlet.

System_CAPS_pubproperty CurrentPSTransaction

(Inherited from Cmdlet.)

System_CAPS_pubproperty Domain

Gets and sets the value of the Domain parameter of the Remove-GPPrefRegistryValue cmdlet.

System_CAPS_pubproperty Events

(Inherited from PSCmdlet.)

System_CAPS_pubproperty Guid

Gets and sets the value of the Guid parameter of the Remove-GPPrefRegistryValue cmdlet.

System_CAPS_pubproperty Host

(Inherited from PSCmdlet.)

System_CAPS_pubproperty InvokeCommand

(Inherited from PSCmdlet.)

System_CAPS_pubproperty InvokeProvider

(Inherited from PSCmdlet.)

System_CAPS_pubproperty JobManager

(Inherited from PSCmdlet.)

System_CAPS_pubproperty JobRepository

(Inherited from PSCmdlet.)

System_CAPS_pubproperty Key

Gets and sets the value of the Key parameter of the Remove-GPPrefRegistryValue cmdlet.

System_CAPS_pubproperty MyInvocation

(Inherited from PSCmdlet.)

System_CAPS_pubproperty Name

Gets and sets the value of the Name parameter of the Remove-GPPrefRegistryValue cmdlet.

System_CAPS_pubproperty Order

Gets and sets the value of the Order parameter of the Remove-GPPrefRegistryValue cmdlet.

System_CAPS_pubproperty PagingParameters

(Inherited from PSCmdlet.)

System_CAPS_pubproperty ParameterSetName

(Inherited from PSCmdlet.)

System_CAPS_pubproperty Server

Gets and sets the value of the Server parameter of the Remove-GPPrefRegistryValue cmdlet.

System_CAPS_pubproperty SessionState

(Inherited from PSCmdlet.)

System_CAPS_pubproperty Stopping

(Inherited from Cmdlet.)

System_CAPS_pubproperty ValueName

Gets and sets the value of the ValueName parameter of the Remove-GPPrefRegistryValue cmdlet.

Methods

Name Description
System_CAPS_protmethod BeginProcessing()

Represents the override for the BeginProcessing method of the Remove-GPPrefRegistryValue cmdlet. (Overrides Cmdlet.BeginProcessing().)

System_CAPS_pubmethod CurrentProviderLocation(String)

(Inherited from PSCmdlet.)

System_CAPS_protmethod EndProcessing()

Represents the override for the EndProcessing method of the Remove-GPPrefRegistryValue cmdlet. (Overrides Cmdlet.EndProcessing().)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetResolvedProviderPathFromPSPath(String, ProviderInfo)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod GetResourceString(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetUnresolvedProviderPathFromPSPath(String)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod GetVariableValue(String)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod GetVariableValue(String, Object)

(Inherited from PSCmdlet.)

System_CAPS_pubmethod Invoke()

(Inherited from Cmdlet.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod ProcessRecord()

Represents the override for the ProcessRecord method of the Remove-GPPrefRegistryValue cmdlet. (Overrides Cmdlet.ProcessRecord().)

System_CAPS_pubmethod ShouldContinue(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldContinue(String, String, Boolean, Boolean, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldContinue(String, String, Boolean, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String, ShouldProcessReason)

(Inherited from Cmdlet.)

System_CAPS_protmethod StopProcessing()

(Inherited from Cmdlet.)

System_CAPS_pubmethod ThrowTerminatingError(ErrorRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TransactionAvailable()

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteCommandDetail(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteDebug(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteError(ErrorRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteInformation(InformationRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteInformation(Object, String[])

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteObject(Object)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteObject(Object, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteProgress(ProgressRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteVerbose(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteWarning(String)

(Inherited from Cmdlet.)

Remarks

This cmdlet removes one or more Registry preference items from either Computer Configuration or User Configuration in a Group Policy object (GPO). For more information about this cmdlet, see Remove-GPPrefRegistryValue in the Microsoft TechNet library.

For Help at the command line, type:

get-help remove-gpprefregistryvalue

Thread Safety

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

See Also

Microsoft.GroupPolicy.Commands Namespace

Return to top