GithubHelp home page GithubHelp logo

get-lapspasswords's People

Contributors

j4w avatar kfosaaen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

get-lapspasswords's Issues

Feature Request: Locate Users with Permissions

Is there a way to locate users with the permissions to view/decrypt the Local Admin passwords? Is this information stored in an AD Group that can be queried? This would provide a more targeted attack against those users.

LAPS query loops and dupes?

I ran the Get-LAPSPasswords in the format recommended by the accompanying blog:

Get-LAPSPasswords -DomainController 192.168.1.1 -Credential DEMOkarl | Format-Table

The output was a 3mb file with 18,000+ lines in it. Looking at the output and then sorting it, it appears that each machine is shown 30 times with the same information. It's nothing a little "uniq" can't clean up...but am I doing something wrong to just get this to query once against each machine?

SearchDN Syntax

Hello,
Sorry to ask, please can you provide a sample Syntax for using the SearchDN Parameter.
I only want to export LAPS passwords for One particular OU and nothing else.

I've tried several different ways.
e.g.
Get-LAPSPasswords -DomainController DC01 -Credential domain\username -SearchDN DN=Pending Removal,OU=Deny Access,DC=domain,DC=com | Export-Csv c:\temp\output.csv -NoTypeInformation
Get-LAPSPasswords -DomainController DC01 -Credential domain\username -SearchDN CN=Pending Removal,OU=Deny Access,DC=domain,DC=com | Export-Csv c:\temp\output.csv -NoTypeInformation
Get-LAPSPasswords -DomainController DC01 -Credential domain\username -SearchDN OU=Pending Removal,OU=Deny Access,DC=domain,DC=com | Export-Csv c:\temp\output.csv -NoTypeInformation

I've tried "around the Parameter" and 'around the Parameter' and nothing around the parameter.

The error get is:

Get-LAPSPasswords : Cannot process argument transformation on parameter 'Limit'. Cannot convert the "System.Object[]"
value of type "System.Object[]" to type "System.Int32".
At line:1 char:104

  • ... username -SearchDN DN=Pending Removal,OU=Deny Access, ...
  •                                      ~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Get-LAPSPasswords], ParameterBindingArgumentTransformationException
    • FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-LAPSPasswords

Thanks in advance for your help!
I've just signed up to Github and plan to add PowerShell scripts relating to AD and SCCM 2012 / Current branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.