Skip to content

Retrieves environment details relating to integration with PAM from local system.

License

Notifications You must be signed in to change notification settings

netiq-ps/netiq-pam-environment-check

 
 

Repository files navigation

Get-PAMEnvironment

Retrieves environment details relating to integration with PAM from local Windows system.

Retrieves environment and remote desktop configuration from local system. Includes the OS environment, Network Authentication Level, Security Layer, Secure Boot, NetBIOSName, etc. Also verifies connectivity for AppSSO feature.

Install

  1. Download Get-PAMEnvironment.ps1
  2. Source Get-PAMEnvironment function into Powershell session: . .\Get-PAMEnvironment.ps1

Run

Example 1 - RDP

. .\Get-PAMEnvironment.ps1
Get-PAMEnvironment -RDP 1

Output:

-------------------------------
Environment
-------------------------------
Caption                 : Microsoft Windows Server 2012 R2 Standard
OSArchitecture          : 64-bit
ServicePackMajorVersion : 0
Version                 : 6.3.9600
BuildNumber             : 9600
CSName                  : COMPUTERNAME
SecureBoot              : False
NetBIOSName             : DOMAIN (i.e. DOMAIN\User)

-------------------------------
RDP
-------------------------------
PSComputerName                   : COMPUTERNAME
TerminalProtocol                 : Microsoft RDP 8.0
TerminalName                     : RDP-Tcp
UserAuthenticationRequired (NLA) : False
SecurityLayer                    : 1
MinEncryptionLevel               : 2

Example 2 - OS Hotfixes

. .\Get-PAMEnvironment.ps1
Get-PAMEnvironment -Hotfix 1

Example 3 - AppSSO

. .\Get-PAMEnvironment.ps1
Get-PAMEnvironment -AppSSO 1

Example 4 - Password Management

. .\Get-PAMEnvironment.ps1
Get-PAMEnvironment -PasswordManagement 1

Example 5 - Multiple Reports

. .\Get-PAMEnvironment.ps1
Get-PAMEnvironment -RDP 1 -AppSSO 1

Example 6 - Output report to file

. .\Get-PAMEnvironment.ps1
Get-PAMEnvironment -RDP 1 *> report.log

About

Retrieves environment details relating to integration with PAM from local system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%