This PowerShell module lets one accomplish various tasks with the NVIDIA Delegated License Service (DLS) and is available in the PowerShell Gallery
Tip
Read the related blog post at https://blog.graa.dev/PowerShell-NVIDIADLS
- Generate client configuration token
- Retrieve DLS service instance information
- Retrieve DLS service instance leases
Important
At present only PowerShell 7 is supported, and testing has been done on PowerShell 7.5.1
Note
This module has been tested on NVIDIA DLS 3.4.1
and 3.5.0
Install the version that is published to the PowerShell Gallery:
Install-Module -Name PSNVIDIA.DLS
# Login with the DLS administrator account - the default username is dls_admin
$credential = Get-Credential
Connect-NVDLS -Server 'dls.fqdn' -Credential $credential
Get-NVDLSInstance
Note
Unless the Path parameter is passed, the file with the token will end up in the current working directory
New-NVDLSClientConfigurationToken -Path C:\Tokens -PassThru
Optionally create a token with a specific expiration date, e.g. 3 months from today:
New-NVDLSClientConfigurationToken -Expiry (Get-Date).AddMonths(3)
Disconnect-NVDLS
Any contributions are welcome and appreciated!
Please do so by forking the project and opening a pull request!
Note
This PowerShell module is unofficial and not supported by NVIDIA in any way