Quantcast
Channel: Support Portal
Viewing all articles
Browse latest Browse all 1872

Re : Bulk Update of the resource Description ( or any other attribute ) in PMP

$
0
0

I'm testing directly updating the SQL tables directly to get me out of jail - not everything is encrypted and it looks like it will work.  It would be pretty simple to write a PowerShell front end so I don't see why they don't add this as a feature. 

The IPAddress in the Prtx_Resource table mirrors the resource name which is shown in the web portal - the resourcename column in that table is encrypted so you will be stuck if the IPAddress column does not hold the correct data.

UPDATE [PassTrix].[dbo].[Ptrx_Resource]
 SET [LOCATION]='London'
      ,[RESOURCEDESC]='London Workstation'
      ,[PORT]=3389
      ,[SSHPORT]=22
      ,DOMAINNAME='MYDOMAINNAME'
 where RESOURCEDESC like '%Workstation%' and IPADDRESS like 'LONW%'

This seems to work OK - I'll let you know if I can find any issues with doing this.  Obviously unsupported though.  Next time I'll be more careful that I import the data how I want it to show in the web portal.



Viewing all articles
Browse latest Browse all 1872

Trending Articles