Get-RubrikLogShipping
SYNOPSIS
Retrieves all log shipping configuration objects. Results can be filtered and sorted.
SYNTAX
Get-RubrikLogShipping [-id <String>] [-PrimaryDatabaseId <String>] [[-PrimaryDatabaseName] <String>]
[-SecondaryDatabaseName <String>] [-location <String>] [-status <String>] [-limit <String>] [-offset <String>]
[-sort_by <String>] [-sort_order <String>] [-DetailedObject] [-Server <String>] [-api <String>]
[<CommonParameters>]DESCRIPTION
Retrieves all log shipping configuration objects. Results can be filtered and sorted.
EXAMPLES
EXAMPLE 1
Get-RubrikLogShippingGet all log shipping configurations
EXAMPLE 2
Get all log shipping configurations for the 'AdventureWorks2014' database
EXAMPLE 3
Get all log shipping configurations for a given location (log shipping secondary server)
EXAMPLE 4
Get all log shipping configurations for a given location (log shipping secondary server) and retrieves detailed information about these objects
PARAMETERS
-id
-PrimaryDatabaseId
-PrimaryDatabaseName
-SecondaryDatabaseName
-location
Log Shipping Target Server
-status
-limit
-offset
-sort_by
-sort_order
-DetailedObject
DetailedObject will retrieved the detailed LogShipping object, the default behavior of the API is to only retrieve a subset of the full LogShipping object unless we query directly by ID. Using this parameter does affect performance as more data will be retrieved and more API-queries will be performed.
-Server
Rubrik server IP or FQDN
-api
API version
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.
INPUTS
OUTPUTS
NOTES
Written by Chris Lumnah Twitter: @lumnah GitHub: clumnah Any other links you'd like here
RELATED LINKS
Last updated
Was this helpful?