CmdID / PowerShell / Cmdlets / Set
Set-GPLink
Sets the properties of the specified GPO link. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-Domain, -DomainNameSpecifies the domain for this cmdlet.-EnforcedSpecifies whether the GPO link is enforced.-Guid, -ID, -GPOIDSpecifies the GPO of the link by its globally unique identifier (GUID).-LinkEnabledSpecifies whether the GPO link is enabled.-Name, -DisplayNameSpecifies the GPO of the link by its display name.-OrderSpecifies the link order for the GPO link.-Server, -DCSpecifies the name of the domain controller that this cmdlet contacts to complete the operation.-TargetSpecifies the Lightweight Directory Access Protocol (LDAP) distinguished name of the site, domain, or OU of the link.-WhatIf, -wiShows what would happen if the cmdlet runs.