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

Re : Bulk Configure Resource Fields

$
0
0

You need to check with the vendor but it is possible using an SQL query and I have posted a solution else where in this forum.  You cannot search the tables for a resource name as they encrypt it.  But if you have other criteria you can use, like the DNS Name or the IP address, then you can construct a query to update multiple row.

first construct a query to display the rows you are interested in, e.g.

Select * from [PassTrix] . [dbo] . [Ptrx_Resource] where RESOURCEDESC like '%Resource imported from domain : %' and IPADDRESS like 'LON%'

If this shows what you need then you can update like this

UPDATE [PassTrix] . [dbo] . [Ptrx_Resource]

SET [LOCATION] = 'London'

, [RESOURCEDESC] = 'London Workstation'

-- ,[PORT]=3389
-- ,[SSHPORT]=22
-- ,DOMAINNAME='MYDOMAINNAME'

DEPARTMENT = 'Service Desk'

where RESOURCEDESC like '%Resource imported from domain : %' and IPADDRESS like 'LON%'


NOTE: MAKE A BACKUP BEFORE DOING THIS!


https://clan8blog.wordpress.com/


Viewing all articles
Browse latest Browse all 1872

Trending Articles