Skip to content

Commit 5f34967

Browse files
Update source/Public/Test-SqlDscIsLoginEnabled.ps1
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 6475ec1 commit 5f34967

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/Public/Test-SqlDscIsLoginEnabled.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
Returns whether the server login is enabled or disabled.
44
55
.DESCRIPTION
6-
Returns whether the server login is enabled or disabled.
7-
6+
Tests the state of a SQL Server login and returns a Boolean result.
7+
When a Server object is provided, the login is resolved using
8+
Get-SqlDscLogin (optionally refreshing the server logins first).
9+
When a Login object is provided, its current state is evaluated directly.
810
.PARAMETER ServerObject
911
Specifies current server connection object.
1012

0 commit comments

Comments
 (0)