I am new to Sitecore PowerShell (and PowerShell in general), and I would like to create a script that will add a template as a base template to the list of ChildItem templates in a specific context folder.
Since the __Base pattern is a standard value, not a regular field, I'm not sure if there is syntax available to add a GUID to the multilist field that it uses (restricted channel).
Here is what I tried
$master = Get-Database master; $translationTemplate = $master.Templates["Path/To/Template/Needed/Translatable"]; $calloutTemplate = $master.Templates["Path/To/Example/Callout"];
I can get all the recursive data with Get-ChildItem -recursive, but for a test run, I just want to try it on one element of the template called Callout. Here is a view of $ calloutTemplate showing that it has a BaseTemplates section and a Fields section (which should include the __Base template):

If there is no solution in PowerShell for Sitecore, can the Sitecore Rocks Query CRUD statement work?
source share