pspete / PoShPACLI

Powershell Module for CyberArk PACLI
MIT License
72 stars 20 forks source link

CAS8N028E CCAGI18NString can't create Collation object. Probably I18N data file is missing. #44

Closed prasenjeet closed 7 years ago

prasenjeet commented 7 years ago

Hi pspete ,

I am getting below error while running powershell script

CAS8N028E CCAGI18NString can't create Collation object. Probably I18N data file is missing.

The issue is coming at line $filesList = C:\PACLI\PACLI.exe FILESLIST VAULT='Cloud' USER='PowerShellPACLIUser' SAFE='PasswordManager_info' FOLDER='Root\Policies' OUTPUT'(NAME)'

Is there any equivalent powershell command for FILESLIST ? I want to get all the file list detail from the safe . Thanks, Prasenjeet T

pspete commented 7 years ago

Hi @prasenjeet

Is this an issue with PoShPACLI?

FILESLIST is available via the Get-PVFileList function

prasenjeet commented 7 years ago

Hi Pete ,

Yes . This is the issue while using PoshPACLI.

I am using all other PoSHPACLI commands to open/ close safe PasswordManager_Info except the FILESLIST Where I am using normal PACLI command and assigned to power shell variable . Let me try to see if I can use Get-PVFileList function.

Thanks, Prasenjeet T

pspete commented 7 years ago

I was just checking as I did not recognize the command as part of the module.... I have seen this exact command working in another project recently, so it should work. If you still get issues, please share the debug output.

pspete commented 7 years ago

Example command to save all file details from safe to variable:

#Initialise
Initialize-PoShPACLI -pacliFolder D:\PACLI -pacliExe Pacli.exe
#Logon - open safe - get file list
$filesList = Start-PVPACLI | New-PVVaultDefinition -address $vaultIP -vault "Cloud" |
    Connect-PVVault -user $PacliUser -password $password |
    Open-PVSafe -safe PasswordManager_info |
    Get-PVFileList -folder Root\Policies
pspete commented 7 years ago

Hi @prasenjeet - did you get this to work?

prasenjeet commented 7 years ago

Hi Pete, Thanks for your suggestion . I tried to download new PoShPACLI and it is working . Earlier I was using different set of PoSHPACLI commands like Start-PACLI, Add-VaultDefinition, Connect-Vault ,Open-Safe .

Thanks for your help . Prasenjeet T

pspete commented 7 years ago

yes there has been some significant updates recently.... good to hear it is now working. please let me know if you run into any other issues.