Windows Server 2019 Rdp License 📍

Would you like a PowerShell script example that simulates this feature for Windows Server 2019?