TcXaeMgmt Version 7.X | Get-TcLicense DESCRIPTION This Cmdlet gets information about TwinCAT licenses from the target system. To contact the target system, it must be available as actual route or the local system. EXAMPLES Example 1 PS> Get-TcLicense Get the the valid licenses from the local system.
Example 2 PS> $session = New-TcSession -Route PLC-East -Port 30 PS> Get-TcLicense -Status All -name *scope* -session $session OrderID Name Validity ExpireTime Available Used VolumeNo ------- ---- -------- ---------- --------- ---- -------- TF3300 TC3 Scope Server Valid CPU 0 0 TE1300 TC3 Scope View Professional Valid CPU 0 0 Create a session to the License Server on target 'PLC-East' and return all valid and invalid licenses that contain 'scope' in their name.
Example 3 PS> Get-TcLicense -Route PLC-East -Status Valid OrderID Name Validity ExpireTime Available Used VolumeNo ------- ---- -------- ---------- --------- ---- -------- TC1000 TC3 ADS Valid CPU 0 0 TC1200 TC3 PLC Valid CPU 1 0 TC1100 TC3 IO Valid CPU 0 0 TF5000 TC3 NC PTP Valid CPU 0 0 TF5020 TC3 NC PTP Axes Pack unlim.. Valid CPU 0 0 TF5110 TC3 Kinematic Transformat.. Valid CPU 0 0 TF6311 TC3 TCP/UDP RT Valid CPU 0 0 ... Connect to the License Server on target 'PLC-East' and return all valid licenses. Example 4 PS> Get-TcLicense -NetId 172.17.60.153.1.1 -Status Invalid | format-list Id : 4c256767-e6e6-4af5-bd68-9f7abad0c200 Name : TC3 ADS ExpireTime : 8/17/2017 12:00:00 AM ValidityCode :
Expired Valid : False AvailableLicenses : 0 UsedLicenses : 0 VolumeNo : 0 Id : 66689887-ccbd-452c-ac9a-039d997c6e66 Name : TC3 PLC ExpireTime : 8/17/2017 12:00:00 AM ValidityCode : Expired Valid : False AvailableLicenses : 0 UsedLicenses : 0 VolumeNo : 0 Id : 3ff18e97-7754-401b-93fb-70544de28a13 Name : TC3 IO ExpireTime : 8/17/2017 12:00:00 AM ValidityCode : Expired Valid : False AvailableLicenses : 0 TE1000 157 Version: 1.5.0