PowerShell Script to check if a Sitecore item exists in XMC environment endpoints

Remember my old post regarding a simple GUI-based tool that will check preview and edge endpoints in a Sitecore XMC environment to find if an item exists? 

Simple setup:

Preview Endpoint Querying Overview:


Edge Endpoint Querying Overview:



Tool in action:


Github Url

Now, here is a simple PowerShell version that uses the PSGraphQL module to go and fetch the item name from both preview and edge endpoints but is lightweight since you don't need to flex much to run a PowerShell script! So, now you can easily find if that nagging item is missing in edge endpoint and publish just the needed item.

Preview Endpoint querying overview:


Edge Endpoint querying overview:


######

######


PS in action:



Comments

Popular Posts