Posts

Showing posts from January, 2023
Image
  Auto Import of Objects from Dev to Test system I got a requirement to develop a solution so that technical changes can be moved automatically from Dev to Test system. Why we want to do this -  1) If developers have direct access on test system then there is a high risk that they will be developing directly on test system and this results in poor documentation, plus more issues when things move to prod. 2) Well there are custom solutions available, but the additional features that are being delivered are not needed. How i did this -  1) Created a powershell script. 2) Created a bat file. 3)  Created a directory to store the imported files. 4) Created a task in application server to run the bat file. Detailed Steps -  1) Powershell script -  2) create a notepad file and save it as .bat file with following code -  3) Look for task scheduler - 4) Create a task -  5) Specify path of your bat file, define the intervals when you want to run the task. Powershell Script -  Save this as AutoIm