Skip to content

[Bug] Test-DbaWindowsLogin searches by SAMAccountName string instead of ObjectSID #7528

Closed
@carpewil

Description

Report

Host used

  • powershell.exe
  • ISE
  • VS Code
  • Other (please specify)

Errors Received

replace THIS text WITH the OUTPUT of -- $ERROR[0] | SELECT *

Steps to Reproduce

Expected Behavior

Actual Behavior

Environmental information

🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
Please provide the output of the below script

[pscustomobject]@{
'PowerShell Version' = $PSVersionTable.PSVersion.ToString()
'dbatools latest installed' = (Get-InstalledModule -Name dbatools).Version
'Culture of OS' = (Get-Culture)
} | fl -force

SQL Server:

/* REPLACE WITH output of @@VERSION */
/* REPLACE WITH output of @@LANGUAGE */

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions