GetGPPermissionsCommand Class
The Get-GPPermissions 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.GetGPPermissionsCommand
Syntax
[CmdletAttribute("Get", "GPPermission", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216702",
DefaultParameterSetName = "SourcebyGUID")]
[CLSCompliantAttribute(false)]
[OutputTypeAttribute(new Type[] { ... })]
public class GetGPPermissionsCommand : PSCmdlet
[CmdletAttribute("Get", "GPPermission", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216702",
DefaultParameterSetName = "SourcebyGUID")]
[CLSCompliantAttribute(false)]
[OutputTypeAttribute(new array<Type^>^ { ... })]
public ref class GetGPPermissionsCommand : PSCmdlet
[<CmdletAttribute("Get", "GPPermission", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216702",
DefaultParameterSetName = "SourcebyGUID")>]
[<CLSCompliantAttribute(false)>]
[<OutputTypeAttribute([| ... |])>]
type GetGPPermissionsCommand =
class
inherit PSCmdlet
end
<CmdletAttribute("Get", "GPPermission", HelpUri := "https://go.microsoft.com/fwlink/?LinkId=216702",
DefaultParameterSetName := "SourcebyGUID")>
<CLSCompliantAttribute(False)>
<OutputTypeAttribute(New Type() { ... })>
Public Class GetGPPermissionsCommand
Inherits PSCmdlet
Constructors
Name | Description | |
---|---|---|
GetGPPermissionsCommand() | Creates a new GetGPPermissionsCommand 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 | |
---|---|---|
All | Gets and sets the value of the All parameter of the Get-GPPermissions cmdlet. |
|
CommandOrigin | (Inherited from InternalCommand.) |
|
CommandRuntime | (Inherited from Cmdlet.) |
|
CurrentPSTransaction | (Inherited from Cmdlet.) |
|
DomainName | Gets and sets the value of the DomainName parameter of the Get-GPPermissions cmdlet. |
|
Events | (Inherited from PSCmdlet.) |
|
Guid | Gets and sets the value of the Guid parameter of the Get-GPPermissions cmdlet. |
|
Host | (Inherited from PSCmdlet.) |
|
InvokeCommand | (Inherited from PSCmdlet.) |
|
InvokeProvider | (Inherited from PSCmdlet.) |
|
JobManager | (Inherited from PSCmdlet.) |
|
JobRepository | (Inherited from PSCmdlet.) |
|
MyInvocation | (Inherited from PSCmdlet.) |
|
Name | Gets and sets the value of the Name parameter of the Get-GPPermissions cmdlet. |
|
PagingParameters | (Inherited from PSCmdlet.) |
|
ParameterSetName | (Inherited from PSCmdlet.) |
|
Server | Gets and sets the value of the Server parameter of the Get-GPPermissions cmdlet. |
|
SessionState | (Inherited from PSCmdlet.) |
|
Stopping | (Inherited from Cmdlet.) |
|
TargetName | Gets and sets the value of the TargetName parameter of the Get-GPPermissions cmdlet. |
|
TargetType | Gets and sets the value of the TargetType parameter of the Get-GPPermissions cmdlet. |
Methods
Remarks
This cmdlet gets the permission level for one or more security principals on a specified Group Policy object (GPO). For more information about this cmdlet, see Get-GPPermissions in the Microsoft TechNet library.
For Help at the command line, type:
get-help get-gppermissions
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