Need to get domain joined computer to ensure it has all the required software

Shamyog 1 Reputation point
2023-03-15T20:45:05.0066667+00:00

Hello,

We would like to get the list of all the domain-joined computers and the required softwares installed report on them.

Is there a way using PowerShell?

Thank you.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,358 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,039 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 95,731 Reputation points MVP
    2023-03-15T21:02:45.46+00:00

    Hi @Shamyog ,

    getting all domain-joined computers is doable using the Get-AdComputer cmdlet (Get-AdComputer)

    The result you can pipe in a Foreach-Object.

    In the Foreach-Object you could use Invoke-Command (Invoke-Command) to run Get-Package Get-Package) on each computer and compare the result set with your list of required software.

    I haven't found a "ready to go" script. But with the information above you can get started with your script.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    0 comments No comments