PS-Security

Check

Effective execution policy...

Get-ExecutionPolicy

Policies that affect current session in order of precedence...

Get-ExecutionPolicy -List

Check TLS Version...

[Net.ServicePointManager]::SecurityProtocol