Get-SqlLinkedServerLogin

Gets an SMO LinkedServerLogin object.

Syntax

Get-SqlLinkedServerLogin [-sqlserver] <Object> [<CommonParameters>]

Detailed Description

The Get-SqlLinkedServerLogin function gets a collection of SMO LinkedServerLogin objects for the specified SQL Server.

Related Commands

* Get-SqlLinkedServerLogin

Parameters

Name Description Required? Pipeline Input Default Value
sqlserver    true  false   

Input Type

None You cannot pipe objects to Get-SqlLinkedServerLogin

Return Values

Microsoft.SqlServer.Management.Smo.LinkedServerLogin Get-SqlLinkedServerLogin returns a Microsoft.SqlServer.Management.Smo.LinkedServerLogin object.

Notes

Additional properties including the DataSource property are returned.

Examples

EXAMPLE 1

Get-SqlLinkedServerLogin "Z002\sql2K8"
This command gets a collection of SMO LinkedServerLogin objects for SQL Server Z002\SQL2K8.