< Back
Get-SQLRestoreSessions
Post
NAME Get-SQLRestoreSessions
SYNOPSIS
Returns an array with latest SQL restore sessions
SYNTAX
Get-SQLRestoreSessions [[-Days] <Int32>] [<CommonParameters>]
DESCRIPTION
Fetches the session messages of each SQL restore sessions and returns a PowerShell array
PARAMETERS
-Days <Int32>
Required? false
Position? 1
Default value 1
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-SQLRestoreSessions -Days 2
RELATED LINKS
https://github.com/jorioux/PowerDP
SYNOPSIS
Returns an array with latest SQL restore sessions
SYNTAX
Get-SQLRestoreSessions [[-Days] <Int32>] [<CommonParameters>]
DESCRIPTION
Fetches the session messages of each SQL restore sessions and returns a PowerShell array
PARAMETERS
-Days <Int32>
Required? false
Position? 1
Default value 1
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-SQLRestoreSessions -Days 2
RELATED LINKS
https://github.com/jorioux/PowerDP