Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [powershell]

Windows Powershell modules that allow to easily interact with the SDL Tridion / SDL Web content management system and perform various administrative tasks.

4
votes
2answers
69 views

Queue Publisher filtering in Tridion 8.5

In the Tridion Management Console in 2013 we can configure a publisher server for publishing to stage and another for publishing to live, by adding the publishing target tcmid into the Publication ...
3
votes
1answer
44 views

Unable to Install CME and TTM on port 80

We are Installing CMS and Topology using PowerShell scripts. In our installation scenario we have two servers in a load balanced configuration.When we run the CMS installer both in the GUI and as a ...
2
votes
1answer
61 views

“New-IshSession : One or more errors occurred” dont know why it is showing this error?

Import-Module 'Posh-SSH' $ishBaseUrl = "https://<link>" $ishUsername = "<username>" $ishPassword = "<password>" $targetOutputName = "DocPortal" echo "" ; "Job started: $(Get-Date)" ; ...
4
votes
2answers
147 views

CD microservices installation for LIVE and STAGING targets

I want to set up CD instance for two targets in Tridion Topology Manager - Live & Staging. As I understand I need to install CD services both for Live & Staging (as a result I will have pairs ...
5
votes
1answer
56 views

How to setup Content Delivery for a standard Staging/Live web deployment using Topology Manager

I am in the process of setting up w Web 8.5 Content Delivery environment for a standard DXA-based website. I followed the documentation and executed these four commands: Add-TtmCdTopologyType -Id ...
5
votes
1answer
111 views

SDL Tridion 2013 SP1 - PowerShell scripts to publish Content in Publications

Using below article we can publish a Page using Powershell script. http://sharedbyjan.blogspot.in/2014/01/publish-stuff-from-powershell.html Is there any way we can publish all SG’s within the ...
2
votes
1answer
50 views

syntax error when installing the DXA 1.7 Audience Manager module

I'm installing the DXA 1.7 Audience Manager module to a .NET web application on my local laptop (Windows 10) as per below doc link. Install of module to Web 8.5 Content Manager was successful. https:/...
2
votes
1answer
43 views

CME error: Item of type 'CmEnvironmentData' with id 'Tridioncm_DEVSQLCMSDSQL2016CMSD' does not exist

Trying to set a Publication Mapping on the Publication Properties in the CME I get this error: Item of type 'CmEnvironmentData' with id 'Tridioncm_DEVSQLCMSDSQL2016CMSD' does not exist. An error ...
5
votes
2answers
99 views

Unpublish item using Powershell

I have been working with a PowerShell script to publish things, and it has worked perfectly. I am now trying to extend it to be able to unpublish items as well, but have not found the right command ...
1
vote
2answers
92 views

How to remove Schema fields using PowerShell script

I want to remove Schema fields using a PowerShell script. Any one have suggestion and solutions?
7
votes
1answer
96 views

How to use the CoreService PowerShell module using username + password

Using my favourite PowerShell module I was wondering how to access the Core Service using username and password instead of using the current user's Windows credentials. The commands in the PowerShell ...
6
votes
1answer
177 views

Where can I find detailed information on available Topology manager scripts

Need information on all available Powershell Scripts to manage the Topology Manager environment
2
votes
1answer
124 views

Granting Read access to Category for specific Groups using PowerShell Scripts

For reference please see the script running for updating the category with specific groups and granting read permission:- $groupI = (Get-TridionGroup -GroupName "Group I").Id $groupIRead = @{} $...
10
votes
2answers
213 views

Reading ApplicationData in Powershell

I've been playing with a script to get the Application Data on all publications - at the moment I just want to write it out to see what's in there. I've confirmed several publications have tm: (...
10
votes
2answers
271 views

Delete components which are in use

I want to remove a publication with over 5000 components. First I unpublished all pages. Then I ran a decommission script. When finished, I deleted all pages. Now are only the components left. I ...
3
votes
3answers
89 views

Error in Bundle Workflow Schema addition in PowerShell

SUMMARY Whilst creating and populating a Bundle using PowerShell - I'd also like to assign a specific Bundle Schema to the Bundle so that I am able to then start the workflow process associated with ...
4
votes
1answer
44 views

Error in Virtual Folder Type creating Bundle in PowerShell

I've finally worked through a number of syntactical challenges translating the Core Service API into PowerShell instructions for the seemingly simple task of creating a Bundle via PowerShell. Using ...
6
votes
2answers
374 views

Deleting old versions of Tridion items recursively for large publications

I have read the documentation on how to purge old items. It describes using the Remove-TcmItemsOldVersions PowerShell script to do this. I am running into a number of issues with the script We have ...
3
votes
2answers
97 views

Clear-TcmPublicationTarget failing with a timeout

I am receiving a SQL time out when trying to use the Clear-TcmPublicationTarget command in Powershell. Has anybody seen this before and knows how to fix it?
5
votes
1answer
235 views

How do I purge queues in SDL Tridion using powershell without having to confirm the purge?

I try to purge the queues in SDL Tridion with help of powershell. I want to run this scripted without GUI invention. But I can't figure out how I can get rid of the Confirm question. PS C:\Users\...
3
votes
2answers
190 views

How to decomission a publishing target with PowerShell?

I tried to decomission a publishing target with PowerShell and Peter's Tridion Powershell Modules. Running this simple script did not work for me, I keep getting the error Method invocation failed ...
2
votes
2answers
148 views

HTTP Error 500.19 - Internal Server Error

I am installing the reference implementation. after running the web application powershell script i am unable to open the page. the page says HTTP Error 500.19 - Internal Server Error. Detailed Error ...
4
votes
2answers
644 views

Tridion 2013SP1 Purge Publishing Transactions with Powershell Problem

I get an error when purging a large number of publishing transactions which indicates that there is a problem with the size of the received message size being greater than 10,485,760. I have checked ...
6
votes
1answer
86 views

TRI Import.ps1 fails for websites-only

I am trying to import the SDL Tridion Reference Implementation using the supplied import.ps1 power-shell script but getting the following error indicating something amiss with default templates. I've ...
6
votes
1answer
603 views

“Access is denied for the user:<>” Tridion Powershell Module

I am trying to install/configure the Tridion Powershell Module for coreservice API calls to our CMA running Tridion 2013 SP1 -- environment is configured and working correctly end to end including ...
3
votes
2answers
225 views

Automated CME functional validation after upgrade, hotfix or patch installation

We are planning to automate our test cases used to validate that Tridion CME is functional as usual or not after any upgrade, hotfix or patch installation. We have good count of GUI extensions, ...
2
votes
2answers
164 views

how can I get list of Workflow processes started after date via core-service API?

I'm trying to get a list of workflow processes started after a given date. I am using PowerShell to call the core service API. I'm doing the below to get a list of active processes. that does give me ...
3
votes
1answer
228 views

core service creation of nested keywords

I'm trying to create keyword using core service API through PowerShell. I can do this for keywords at top-level under a category $keyword = [Tridion.ContentManager.CoreService.Client.KeywordData]$...
4
votes
2answers
105 views

core-service via PowerShell load of all users not returning all user data

I am curious if this is my issue, a defect, or something else. I am using PowerShell to connect to CME via core-service and load all users (excluding the "predefined" users). I get the user objects, ...
4
votes
1answer
146 views

can't parse Component Content XML via XPath

I am using the PowerShell module to fetch a component via core service. My end goal is to update it and save it. however, I am failing to get started on the XML parsing aspect of things. So, this part ...
6
votes
2answers
314 views

How can I install the Clear-TcmPublicationTarget commandlet?

Apparently it is an out of the box Clear-TcmPublicationTarget cmdlet, but I never found it in my Tridion 2013 SP1 box. Source: Ricks comment http://www.tridiondeveloper.com/decommission-a-publication-...
5
votes
2answers
27k views

Powershell: You cannot call a method on a null-valued expression

I have followed instructions to install Tridion Powershell modules as per this post: How do I configure or set up the tridion-powershell-modules in PowerShell?. I have set the Execution Policy to ...
5
votes
1answer
487 views

How can I publish a page by using PowerShell

How can I publish a page by leveraging PowerShell, instead of building yet another C# console application? This is a practical theoretical question, based on Timer Jobs in Tridion.
5
votes
1answer
545 views

MaxItemsInObjectGraph quota Exceeded (2013GA CoreService via Powershell)

I am working on a PowerShell Script that connects to the CoreService in 2013 GA My script encounters the following error. I have checked all over and found many pointers to solutions but, so far none ...
11
votes
3answers
983 views

How do I configure or set up the tridion-powershell-modules in PowerShell?

I came across the tridion-powershell-modules project. It offers some handy PowerShell commands which help setting up a CoreService connection and some examples like listing the publication. What do I ...
5
votes
3answers
684 views

Tridion 2013 - Purge Old Version from Powershell

Anyone running into issue trying to purge old version from powershell in Tridion 2013? I am running the following command: Remove-TcmItemsOldVersions –ContainerItemIds(Get-TcmRepository).id –...
7
votes
1answer
333 views

How to call the broker from Powershell?

I would like to query the broker database from a PowerShell script, but don't know where to start... from the PS prompt* I manage to load the Tridion.ContentDelivery.Interop.dll *This is done from a ...
3
votes
1answer
119 views

How to create a PublicationTarget in PowerShell? (need some assistance)

I am trying to create a new PublicationTarget with PowerShell, using the 2010 CoreService interface. I have to following code within a function (separated for clarity): (first block of code, seems ...
5
votes
1answer
942 views

Reindexing Search in 2013

In SDL Tridion 2011, there was an executable to rebuild the Solr search collection. How do we re-index search in 2013 ?
9
votes
1answer
294 views

How to Publish from PowerShell?

The following PowerShell code to publish an array of pages fails, because the arguments or parameters are in the wrong format. Example code: $client.publish($toPublish, $publishInstruction, @($...
12
votes
3answers
170 views

How to set RenderMode property in PowerShell?

The PowerShell code to instantiate an object is something like this: $rm = new-object coreservice.RenderMode the default value of RenderMode is Publish: PS > $rm Publish listing its members ...
7
votes
3answers
1k views

Why does impersonation fail in the 2013 core service?

I've been modifying a local fork of the Tridion Powershell Module to work with a preview version of 2013. This is mostly a matter of fixing up the binding and endpoint to the relevant 2013 values. At ...
9
votes
3answers
564 views

Core Service client in PowerShell

I am trying Andrey's way to create a Core Service client in Powershell and having this issue. I recreate the example on my Windows 7 machine. So far I learned I have run PowerShell ISE as root and ...