NewGPLinkCommand Class
The New-GPLink 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.NewGPLinkCommand
Syntax
[CmdletAttribute("New", "GPLink", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216710", DefaultParameterSetName = "LinkbyGUID")]
[CLSCompliantAttribute(false)]
public class NewGPLinkCommand : PSCmdlet
[CmdletAttribute("New", "GPLink", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216710", DefaultParameterSetName = "LinkbyGUID")]
[CLSCompliantAttribute(false)]
public ref class NewGPLinkCommand : PSCmdlet
[<CmdletAttribute("New", "GPLink", SupportsShouldProcess = true,
HelpUri = "https://go.microsoft.com/fwlink/?LinkId=216710",
DefaultParameterSetName = "LinkbyGUID")>]
[<CLSCompliantAttribute(false)>]
type NewGPLinkCommand =
class
inherit PSCmdlet
end
<CmdletAttribute("New", "GPLink", SupportsShouldProcess := True,
HelpUri := "https://go.microsoft.com/fwlink/?LinkId=216710", DefaultParameterSetName := "LinkbyGUID")>
<CLSCompliantAttribute(False)>
Public Class NewGPLinkCommand
Inherits PSCmdlet
Constructors
Name | Description | |
---|---|---|
NewGPLinkCommand() | Creates a new NewGPLinkCommand 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 | |
---|---|---|
CommandOrigin | (Inherited from InternalCommand.) |
|
CommandRuntime | (Inherited from Cmdlet.) |
|
CurrentPSTransaction | (Inherited from Cmdlet.) |
|
Domain | Gets and sets the value of the Domain parameter of the New-GPLink cmdlet. |
|
Enforced | Gets and sets the value of the Enforced parameter of the New-GPLink cmdlet. |
|
Events | (Inherited from PSCmdlet.) |
|
Guid | Gets and sets the value of the Guid parameter of the New-GPLink cmdlet. |
|
Host | (Inherited from PSCmdlet.) |
|
InvokeCommand | (Inherited from PSCmdlet.) |
|
InvokeProvider | (Inherited from PSCmdlet.) |
|
JobManager | (Inherited from PSCmdlet.) |
|
JobRepository | (Inherited from PSCmdlet.) |
|
LinkEnabled | Gets and sets the value of the LinkEnabled parameter of the New-GPLink cmdlet. |
|
MyInvocation | (Inherited from PSCmdlet.) |
|
Name | Gets and sets the value of the Name parameter of the New-GPLink cmdlet. |
|
Order | Gets and sets the value of the Order parameter of the New-GPLink cmdlet. |
|
PagingParameters | (Inherited from PSCmdlet.) |
|
ParameterSetName | (Inherited from PSCmdlet.) |
|
Server | Gets and sets the value of the Server parameter of the New-GPLink cmdlet. |
|
SessionState | (Inherited from PSCmdlet.) |
|
Stopping | (Inherited from Cmdlet.) |
|
Target |
Methods
Remarks
This cmdlet links a Group Policy object (GPO) to a site, domain, or organizational unit (OU). For more information about this cmdlet, see New-GPLink in the Microsoft TechNet library.
For Help at the command line, type:
get-help new-gplink
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