Get-QLRSqlLogFile

From PowerGUI Wiki

Jump to: navigation, search

Generates the log files list.

Contents

Syntax

Get-QLRSqlLogFile [-Reader] <LogReaderSSWrapper> [<CommonParameters>]

Detailed Description

The Get-QLRSqlLogFile cmdlet returns the list of log files that are attached to the database.



Related Commands

Parameters

Name Description Required? Pipeline Input Default Value
Reader The open LogReader object. This object should be created by the New-QLRSqlReader cmdlet. true false

Input Type

Quest.LogReader.SqlServer.Wrappers.LogReaderSSWrapper

Return Values

Quest.LogReader.SqlServer.Wrappers.LogFileWrapper

Examples

EXAMPLE 1

$lr = New-SQLSqlReader -Online . Northwind Windows
Get-QLRSqlLogFile $lr

These commands return list of all log files that are attached to the Northwind database on the local server.

Personal tools