Skip to content

Commit

Permalink
Release 1.9.8 - Added commandlet for oracle remote restore. (#239)
Browse files Browse the repository at this point in the history
* Added commandlet for oracle remote restore.

* Added commandlet to fetch snapshot infromation using v2 api. Included readme doc file for new commandlets.
  • Loading branch information
KavishreeShanmugam11 committed Apr 22, 2024
1 parent 5b45fa5 commit 426d696
Show file tree
Hide file tree
Showing 8 changed files with 816 additions and 6 deletions.
71 changes: 71 additions & 0 deletions docs/cmdlets-reference/find-cohesityobjectsnapshot.md
@@ -0,0 +1,71 @@
# Find-CohesityObjectSnapshot

## SYNOPSIS
List the snapshots for a given object using cohesity v2 REST API.

## SYNTAX

```
Find-CohesityObjectSnapshot [-ObjectId <Int64>] [-JobId <String[]>] [<CommonParameters>]
```

## EXAMPLES

### EXAMPLE 1
```
Find-CohesityObjectSnapshot -ObjectId 12
```

Returns list of snapshot information of specified object with id 12.

### EXAMPLE 2
```
Find-CohesityObjectSnapshot -ObjectId 12 -JobId 1111:2222:12
```

Returns list of snapshot information of specified object with id 12, which is protected through specified protection job.

## PARAMETERS

### -ObjectId
Specifies the id of the Object.

```yaml
Type: Int64
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -JobId
List of protection group id. If specified, this returns only the snapshots of the specified object ID, which belong to the provided protection group IDs.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

## OUTPUTS

### Cohesity.Model.ObjectSnapshot
## NOTES

## RELATED LINKS
[Read More](https://cohesity.github.io/cohesity-powershell-module/#/README)

0 comments on commit 426d696

Please sign in to comment.