en-US/about_SPProjectServerLicense.help.txt
.NAME
SPProjectServerLicense # Description This resource is used to enable a Project Server license in to a SharePoint 2016 farm. .PARAMETER Ensure Key - string Allowed values: Present, Absent Should a Project Server license be enabled or disabled .PARAMETER ProductKey Write - string What is the product key for Project Server .PARAMETER InstallAccount Write - String POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 .EXAMPLE This example enables Project Server in the current environment Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $SetupAccount ) Import-DscResource -ModuleName SharePointDsc node localhost { SPProjectServerLicense ProjectLicense { Ensure = "Present" ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" PsDscRunAsCredential = $SetupAccount } } } .EXAMPLE This example disables Project Server in the current environment Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $SetupAccount ) Import-DscResource -ModuleName SharePointDsc node localhost { SPProjectServerLicense ProjectLicense { Ensure = "Absent" PsDscRunAsCredential = $SetupAccount } } } |