- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to get the windows authentication settings using PowerShell?
To get the windows server authentication setting using PowerShell, we can use the below command on the local server.
PS C:\> Get-ChildItem WSMan:\localhost\Service\Auth | Select name, value
Output
Name Value ---- ----- Basic false Kerberos true Negotiate true Certificate false CredSSP false CbtHardeningLevel Relaxed
To get the same settings on the remote servers, use the below command.
Invoke-Command -ComputerName TestMahchine1, TestMachine2 - ScriptBlock { Get-ChildItem WSMan:\localhost\Service\Auth } | Select PSComputerName, Name, Auth
- Related Articles
- How to get windows firewall profile settings using PowerShell?
- How to get pagefile settings using PowerShell?
- How to enable the basic authentication for windows servers using PowerShell?
- How to enable credssp authentication on windows server using PowerShell?
- How to disable basic authentication for windows server using PowerShell?
- How to get IP address settings using PowerShell?
- How to get DNS IP Settings using PowerShell?
- How to Get Windows features using PowerShell?
- How to get the IIS Application Pool failure Settings using PowerShell?
- How to get the IIS Application Pool Recycle settings using PowerShell?
- How to get the Azure VM disk encryption settings using PowerShell?
- How to get the Azure VM disk caching settings using PowerShell?
- How to get the Windows certificate details using PowerShell?
- How to get the windows performance counter using PowerShell?
- How to get installed windows update using PowerShell?

Advertisements