Skip to content

erikgraa/PSNVIDIA.DLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PSNVIDIA.DLS

MIT licensed PowerShell Gallery Downloads PowerShell Gallery Version

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

🚀 Features

  • Generate client configuration token
  • Retrieve DLS service instance information
  • Retrieve DLS service instance leases

📄 Prerequisites

PowerShell version

Important

At present only PowerShell 7 is supported, and testing has been done on PowerShell 7.5.1

NVIDIA DLS

Note

This module has been tested on NVIDIA DLS 3.4.1 and 3.5.0

📦 Installation

Install the version that is published to the PowerShell Gallery:

Install-Module -Name PSNVIDIA.DLS

🔧 Usage

Connect to NVIDIA DLS

# Login with the DLS administrator account - the default username is dls_admin
$credential = Get-Credential

Connect-NVDLS -Server 'dls.fqdn' -Credential $credential

Retrieve service instance information

Get-NVDLSInstance

Generate client configuration token

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 from NVIDIA DLS

Disconnect-NVDLS

🙌 Contributing

Any contributions are welcome and appreciated!

Please do so by forking the project and opening a pull request!

✨ Credits

Note

This PowerShell module is unofficial and not supported by NVIDIA in any way

About

PowerShell Module for NVIDIA Delegated License Service tasks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published