Windows Server

How to determine the Windows PowerShell version and to see if WinRM is running via Test-WSMan

PowerShell is a cross-platform (Windows, Linux, and macOS) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and objects models. It includes a command-line shell, an associated scripting language and a framework for processing cmdlet. Firstly, to determine the PowerShell version, run the following command below to determine the version of PowerShell that you are running. Here are some interesting guides: How to request a certificate signing request in Windows using Microsoft Management Console, how to troubleshoot and fix Windows Admin Center that cannot be reached, and how to Test Network Connection to the Windows Admin Center (WAC) Gateway.

$PSVersionTable

To determine if WinRM is running on a server, use the following command below. The result will be displayed as shown in the figure above.
– WinRM is currently configured by default on all servers starting from Windows Server 2012 and disabled on the client operating system.

winrm quickconfig
image-12

Via the Test-WSMan Cmdlets

Use the link below for more information 🙂 See the link for more information. Stay glued as I will be showing how to enable WinRM on Windows Servers & Clients via Group Policy Object. Also, see how to configure servers for remote access.

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x