The purpose of this script is to retrieve the following HP iLO board informations : HP Server model, iLO model, iLO firmware version. You only need a host file filled in with all your iLO IP addresses. The main steps
Get hotfix list on remote host
This script gets the hotfix list installed on a remote system. I add a date filter to the result. Script : $strComputer = “remote_system_name” $hotfixlist = Get-HotFix -ComputerName $strComputer foreach ($hotfix in $hotfixlist) { if ($hotfix.psbase.properties[“installedOn”].Value -eq “10/28/2010”) { write-host
Get group members (ADSI method)
You can use this script to get group members in the Active Directory. It is based on the ADSI method Script $root=([ADSI]””).distinguishedName $Group = [ADSI](“LDAP://CN=Domain Admins, CN=Users,”+ $root) $Group.member My Powershell script categories Active Directory Cluster Database Exchange Files and
Get the GPO Name GUID and SID
Get the Active Directory forest functional level
Get the Active Directory forest functional level Script : import-module activedirectory Get-ADForest | select forestmode My Powershell script categories Active Directory Cluster Database Exchange Files and folders Hardware Network Operating System PKI SCCM Service and process Tips VMWare Reference Get-ADForest
Get the folders ACL (owner and NTFS rights)
Get Enabled or Disabled Computer Accounts
Get distribution lists and “Managed by” username
With this script you will be able to get distribution lists and “Managed by” username. Script (with Microsoft Active Directory module loaded : import-module activedirectory) : get-adgroup -filter ‘groupCategory -eq “Distribution”‘ -Properties distinguishedname, managedby | ` select distinguishedname, managedby Script