< Back

Get-LinaStrategy

Fri Jan 10, 2020 9:20 pm

NAME Get-LinaStrategy



SYNOPSIS

Retrieves the strategies on a Lina server.





SYNTAX

Get-LinaStrategy [-Name <String>] [<CommonParameters>]



Get-LinaStrategy [-ID <Int32>] [<CommonParameters>]





DESCRIPTION

Retrieves the strategies on a Lina server. Returns a set of strategies that correspond to the filter criteria

provided.

If TenantID = 0, it is a global strategy across tenants.





PARAMETERS

-Name <String>

Optional : Name of the strategy to retrieve. Wilcards are allowed. For example : *STRAT*



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ID <Int32>

Optional : ID of the strategy to retrieve.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None





OUTPUTS

Array of LinaStrategy Objects





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-LinaStrategy



Retrieves all the strategies.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-LinaStrategy -Name "*STRAT*"



Retrieves all the strategies with STRAT inside their names.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-LinaStrategy -Name "*STRAT*" | Select-Object -Property Name,RPOInMinutes



Displays the list of strategies and their configured RPO in minutes.











RELATED LINKS