Get-VmsArchiveStorage¶
SYNOPSIS¶
Gets the ArchiveStorage objects representing the children of a given live storage configuration.
SYNTAX¶
DESCRIPTION¶
Gets the ArchiveStorage objects representing the children of a given live storage configuration.
REQUIREMENTS
- Requires VMS connection and will attempt to connect automatically
EXAMPLES¶
EXAMPLE 1¶
Gets all archive storage configurations associated with the live storage configuration named 'Primary', on the recording server named 'Recorder 1'.
EXAMPLE 2¶
$camera | Get-VmsStorage | Get-VmsArchiveStorage | Sort-Object RetainMinutes -Descending |Select-Object -First 1
Gets the oldest archive path associated with $camera.
PARAMETERS¶
-Name¶
Specifies the name of the storage configuration to return. Supports wildcards.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: *
Accept pipeline input: False
Accept wildcard characters: True
-Storage¶
Specifies a Storage object such as you get from Get-VmsStorage
Type: Storage
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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.