MS Powershell Connector paged imports and global variables RRS feed

  • Question

  • With the MS Powershell Connector how can you define global variables or some other means to persist objects acquired in the Begin Import script so they are available to the Import script? 

    The same shared information is also needed in subsequent calls to the Import script to handle paged data sources.

    Does anyone have an example of how they've accomplished paging with the Powershell Connector?


    Saturday, August 9, 2014 3:07 AM

All replies

  • I used Export-CliXml and Import-CliXml, see this article for example script:
    Saturday, August 9, 2014 1:30 PM