01-03-2021, 09:58 PM
(This post was last modified: 01-03-2021, 11:43 PM by poohbear.
Edit Reason: spelling
)
I'm having trouble using the Powershell command NewRDBaseItemImportCsv.
The concept is simple; our master list of hosts is in a csv file that I want to sync to the VisionApp database whenever it changes. In order to do this, I wrote a Powershell script that calls the command above anytime the csv file changes.
This works fine for new or existing hosts, but it doesn't seem to sync deleted ones. For instance, if I remove a line in the csv file and call the command (even with the -sync and -overwrite parameters), it doesn't delete a host that has been removed. There are no errors in the log.
Any ideas? I am using ASG Remote Desktop 2019.
The concept is simple; our master list of hosts is in a csv file that I want to sync to the VisionApp database whenever it changes. In order to do this, I wrote a Powershell script that calls the command above anytime the csv file changes.
This works fine for new or existing hosts, but it doesn't seem to sync deleted ones. For instance, if I remove a line in the csv file and call the command (even with the -sync and -overwrite parameters), it doesn't delete a host that has been removed. There are no errors in the log.
Any ideas? I am using ASG Remote Desktop 2019.