I need some assistance importing XPO via power shell or by writing a shell script or some windows Job (Please not I only want to automate this for importing the XPO and not for importing model or mode store)
Every time when I’m done with developing my requirement in DEV environment, I manually export an XPO to a particular location.
I would like to know if importing XPO from this location can be automated or not? I would like to do the following during the automated process.
When I run a shell script following should happen.
- it should ask me to browse and select the .xpo file
- Aftre selecting the XPO files (press enter key or by some user action) the process should start importing
the XPO (Assume that there are no conflicts and no manual compare is needed)
- After importing the XPO it should provide options to generate full CIL or incremental CIL following Data
- In the end a log file with errors captured during import (if any) or a successful import message.
I think this is a familiar process, I’m very curious if anyone has built such a script already or tried something similar?
Any info or if anyone help me to have such a script would be highly appreciated.
many thanks in advance.