- Trending Categories
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 }
- Related Articles
- How to disable basic authentication for windows server using PowerShell?
- How to enable credssp authentication on windows server using PowerShell?
- How to get the windows authentication settings using PowerShell?
- How to enable or disable local user on Windows OS using PowerShell?
- How to disable the credssp authentication using PowerShell?
- How to enable soft delete for Azure Storage blobs using PowerShell?
- How to delete the windows certificate using PowerShell?
- How to Get Windows features using PowerShell?
- How to remove windows features using PowerShell?
- How to enable the Azure VM accelerated settings using PowerShell?
- How to enable JavaScript in Windows?
- How to get the Windows certificate details using PowerShell?
- How to read the windows host file using PowerShell?
- How to get the windows performance counter using PowerShell?
- How to stop a windows service using PowerShell?

Advertisements