![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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 enable the basic authentication for windows servers using PowerShell?
Basic authentication is the insecure authentication for windows. Before enabling it make sure you comply with your organization policies. To enable the basic authentication for the windows servers using PowerShell, we can use the below command.
PS C:\> Set-Item -Path "WSMan:\localhost\Service\Auth\Basic" -Value $true -Verbose
To enable the basic authentication for the remote windows servers using PowerShell, use the below command.
Invoke-Command -ComputerName TestMahchine1, TestMachine2 - ScriptBlock { Set-Item -Path "WSMan:\localhost\Service\Auth\Basic" -Value $true -Verbose }
Advertisements