PCloud PSM - CreateCredFile-Helper.ps1 returning error "Cannot process argument transformation on parameter 'MSG'..."
187
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:02 PM
Symptom
When running CreateCredFile-Helper.ps1 script to reset cred file for PCloud PSM, the following error (in red) is encountered:
=======================================
Starting Create CredFile helper script
TLS 1.2 is properly configured.
Found CPM installation
Found PSM installation
================ ResetCredFile Guide ================
Displaying Only Detected Idira Services:
Please select an option:
1. Idira Password Manager (CPM)
2. Idira Privileged Session Manager (PSM)
Q. Press Q to Quit
Select: 2
There was an error running the script. Error Source:; Message: Error in the flow of Resetting component PSM credentials file.
->Source:System.Management.Automation; Message: Exception calling "InitPVWAURL" with "0" argument(s): "Cannot process argument transformation on parameter 'MSG'. Cannot convert value to type System.String."
->Source:System.Management.Automation; Message: Cannot process argument transformation on parameter 'MSG'. Cannot convert value to type System.String.
->Source:System.Management.Automation; Message: Cannot process argument transformation on parameter 'MSG'. Cannot convert value to type System.String.
->Source:System.Management.Automation; Message: Cannot convert value to type System.String.
->Source:System.Management.Automation; Message: Cannot convert value to type System.String.
Logoff Session...
Create CredFile helper script ended
=======================================
Environment
12.0;12.1;12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1;14.0 Privilege Cloud Privilege Cloud PSM PCloud PSM
Cause
The following files are missing or corrupted.
Under <drive>:\Program Files (x86)\CyberArk\PSM\Temp:
PVConfiguration.xml
Policies.xml
Resolution
1. Obtain the working version of the files.
1a. If there is another PSM server which is running well, copy the files from the working PSM over to this affected PSM server.
1b. Otherwise, obtain the files from any other component server, or open a support case and request the support engineer to share a copy of the files from backend Vault, and place them onto the affected PSM server.
1b. Otherwise, obtain the files from any other component server, or open a support case and request the support engineer to share a copy of the files from backend Vault, and place them onto the affected PSM server.
2. Then, run the CreateCredFile-Helper.ps1 script again.