Pleasure! I had acted on suggestions; SPE command snippets are available as GitHub public gist Snippets of SPECommands WorkingWithItemAndRenderings. This blog is in continuation with my previous blog Sitecore XM Cloud Content Migration: Plan and Strategy where I had provided import script, we always had created the data source first and assigned those to rendering items thus error-handling is implemented.
]]>