Skip to content

Commit

Permalink
Initial commit for #698
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapbrasser committed Jan 5, 2021
1 parent 407775d commit 0f4aead
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions Rubrik/Public/Get-RubrikVAppSnapshot.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,42 @@
function Get-RubrikVAppSnapshot
{
<#
.SYNOPSIS
Retrieves details on one or more virtual machines known to the Rubrik cluster as a vCD-managed vApp
.SYNOPSIS
Retrieves details on one or more virtual machines known to the Rubrik cluster as a vCD-managed vApp
.DESCRIPTION
The Get-RubrikVAppSnapshot cmdlet pulls detailed information from a vCD vApp snapshot
.DESCRIPTION
The Get-RubrikVAppSnapshot cmdlet pulls detailed information from a vCD vApp snapshot
.NOTES
Written by Matt Elliott for community usage
Twitter: @NetworkBrouhaha
GitHub: shamsway
.NOTES
Written by Matt Elliott for community usage
Twitter: @NetworkBrouhaha
GitHub: shamsway
.LINK
https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikvappsnapshot
.LINK
https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikvappsnapshot
.EXAMPLE
Get-RubrikVAppSnapshot -id '01234567-8910-1abc-d435-0abc1234d567'
This returns details on the specific snapshot.
.EXAMPLE
Get-RubrikVAppSnapshot -id '01234567-8910-1abc-d435-0abc1234d567'
This returns details on the specific snapshot.
#>

[CmdletBinding()]
Param(
# ID of the snapshot
[Parameter(ValueFromPipelineByPropertyName = $true)]
# ID of the vApp
[Parameter(
ParameterSetName = 'vAppID',
Mandatory=$true
)]
[ValidateNotNullOrEmpty()]
[String]$id,
# Name of the vApp
[Parameter(
ParameterSetName = 'vAppName',
Mandatory=$true
)]
[ValidateNotNullOrEmpty()]
[String]$Name,
# Rubrik server IP or FQDN
[String]$Server = $global:RubrikConnection.server,
# API version
Expand Down

0 comments on commit 0f4aead

Please sign in to comment.