Windows Server 2019 Rdp: License Exclusive

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