< Back

Get-ListSessions

Sat Jan 18, 2020 8:45 pm

NAME Get-ListSessions



SYNOPSIS

omnirpt -report list_sessions





SYNTAX

Get-ListSessions [[-Specification] <String>] [[-SessionType] <String>] [[-Hours] <Int32>] [[-Days] <Int32>]

[[-Timeframe] <String>] [[-Mode] <String>] [[-Status] <String>] [-WithMedia] [<CommonParameters>]





DESCRIPTION

Converts the list_sessions report to a PowerShell array





PARAMETERS

-Specification <String>



Required? false

Position? 1

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-SessionType <String>



Required? false

Position? 2

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-Hours <Int32>



Required? false

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Days <Int32>



Required? false

Position? 4

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Timeframe <String>



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Mode <String>



Required? false

Position? 6

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-Status <String>

full,incr,trans,etc...



Required? false

Position? 7

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-WithMedia [<SwitchParameter>]

fetch for Media label and pool name



Required? false

Position? named

Default value False

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



OUTPUTS



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



PS C:\\>Get-ListSessions -Specification *daily* -SessionType Backup













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



PS C:\\>Get-ListSessions -Specification *full* -Days 7















RELATED LINKS

https://github.com/jorioux/PowerDP