Solved

Retrieve Content of subclient by powershell

  • 13 February 2023
  • 3 replies
  • 87 views

Userlevel 2
Badge +8

Hi teams,

i want to retrieve the content of this subclient by powershell.

 

try with “Get-CVSubClient.Content.content” but no way ( )

Help Appreciate

Thanks

icon

Best answer by virgil 14 February 2023, 09:47

View original

3 replies

Userlevel 2
Badge +8

Hi,

 

find the solution

Get-CVSubclient -ClientName ‘Name’ –Name Default -AllProperties | Select @{ Name = 'subClientProperties'; Expression = { $_.subClientProperties.content } }

Userlevel 2
Badge +8

Hi Onno,

i install the latest Powershell SDK from Github

The only infos i can retrieve from subclient are with this command :

Get-CVSubclient -ClientName “NAME” -Name default -AllProperties

In return, it give me a list a properties … → subClientProperties
-------------------
{@{status=8; useLocalContent=False; useLocalArchivalRules=True; canChangeEncryptionSetting=False; hcSubclientProp=; impersonateUser=; planEntity=; cassandraProps=; splunkProps=; proxyClient=; dcPlanEntity=; subClientEntity=; dfsSubclientProp=; fsSubClientProp=; regio…

 

I can’t see the ‘Content’ Properties….

is there a way to pick that ?

Regards

Userlevel 7
Badge +19

@virgil can you please share some additional information like what have you tried already, are you getting an error, are you suing the latest version of the Powershell SDK? Thanks!

Reply