Skip to content

Instantly share code, notes, and snippets.

@raresteak
Last active November 12, 2024 13:41
Show Gist options
  • Save raresteak/5492054e350bab76cde28f28ffda46f5 to your computer and use it in GitHub Desktop.
Save raresteak/5492054e350bab76cde28f28ffda46f5 to your computer and use it in GitHub Desktop.
Install and configure PowerShell Web Access
install-windowsfeature -name WindowsPowerShellWebAccess -computername server1 -includemanagementtools -restart
install-pswawebapplication -usetestcertificate
add-pswaauthorizationrule -username * -computername * -configurationname *
set-item wsman:\localhost\Client\TrustedHosts -Value 'localhost,server1,10.10.10.1' -force
enable-psremoting -force
# Goto URL https://localhost/pswa
# Login username format
# localhost\theuser
@raresteak
Copy link
Author

MS Edge produces error when going to https://thesite
ERR_SSL_KEY_USAGE_INCOMPATIBLE

I just used Firefox instead.

@raresteak
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment