Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

tdharris/Get-PAMEnvironment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

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

PS > . .\Get-PAMEnvironment.ps1
PS > Get-PAMEnvironment -RDP 1
-------------------------------
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

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

Example 3 - AppSSO

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

Example 4 - Password Management

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

Example 5 - Multiple Reports

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

Example 6 - Output report to file

PS > . .\Get-PAMEnvironment.ps1
PS > 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