# Search-CVClientFileSystem

The `Search-CVClientFileSystem` cmdlet creates a browse query for the client file system.

Before you can use this cmdlet, you must log on to your CommCell environment using the `Connect-CVServer` cmdlet. For more information, see Connecting to a CommCell Environment with PowerShell.

## Syntax

    Search-CVClientFileSystem -Name $[String] [-SubclientName $[String]] [-Path $[String]] [-BackupSetId $[String]] [-CopyPrecedence $[int32]] [-JobId $[String]] [-Proxy $[String]] [-MediaAgent $[String]] [$[CommonParameters]]
    Search-CVClientFileSystem -Id $[int32] [-SubclientName $[String]] [-Path $[String]] [-BackupSetId $[String]] [-CopyPrecedence $[int32]] [-JobId $[String]] [-Proxy $[String]] [-MediaAgent $[String]] [$[CommonParameters]]
    Search-CVClientFileSystem -ClientObject $[Object] [-SubclientName $[String]] [-Path $[String]] [-BackupSetId $[String]] [-CopyPrecedence $[int32]] [-JobId $[String]] [-Proxy $[String]] [-MediaAgent $[String]] [$[CommonParameters]]

## Required Parameters

Parameter | Description | Data type | Values | Accepts pipeline input? | Accepts wildcard characters? | Type of parameter
--- | --- | --- | --- | --- | --- | ---
`-Name` | The name of the client. | String |  | No | No | Named
`-Id` | The ID of the client. | Int32 | The default value is 0. | No | No | Named
`-ClientObject` | An object that represents the client. | Object |  | Yes, by: Value Property name | No | Named

## Optional Parameters

### Commvault Parameters

Parameter | Description | Data type | Values | Accepts pipeline input? | Accepts wildcard characters? | Type of parameter
--- | --- | --- | --- | --- | --- | ---
`–SubclientName` | The subclient name for the browse query. | String |  | No | No | Named
`–Path` | The path for the browse query. | String |  | No | No | Named
`–BackupSetId` | The ID of the backup set. | Int32 |  | No | No | Named
`–CopyPrecedence` | Specify the client with copy precedence for the browse query. | Int32 | Valid values are: Primary (default) Secondary Cloud | No | No | Named
`–J`obId | The Job ID browse query. | Int32 |  | No | No | Named
`–`Proxy | The proxy for browse query. | String |  | No | No | Named
MediaAgent | The MediaAgent for the browse query. | String |  | No | No | Named

### Microsoft PowerShell Parameters

You can use the following Microsoft PowerShell parameters:

- Debug

- ErrorAction

- ErrorVariable

- OutBuffer

- OutVariable

- PipelineVariable

- Verbose

- WarningAction

- WarningVariable

- Force

- Confirm

- WhatIf

Note

Only a few cmdlets support Force, Confirm, and WhatIf parameters.

For more information, see "About Common Parameters" in the Microsoft PowerShell documentation.

## Input

This cmdlet does not support input.

## Output

A PSCustomObject that contains the job submission results.

## Examples

### Create a Browse Query for a Client By Name

This example creates a browse query for the carbonwincs client.

    Search-CVClientFileSystem -Name $[carbonwincs]

### Create a Browse Query for a Client By ID

This example creates a browse query for client 2.

    Search-CVClientFileSystem -Id $[2]

×

Loading...