
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Enable 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