Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • Toggle search form

Check PowerShell Version and Verify WinRM Using Test-WSMan

Posted on 26/02/202017/08/2026 IT Expert By IT Expert No Comments on Check PowerShell Version and Verify WinRM Using Test-WSMan
  1. Home
  2. Windows Server
  3. Check PowerShell Version and Verify WinRM Using Test-WSMan
Graphic illustrating the question 'What is WinRM?' with a PowerShell logo.

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. In this article, I will show you how to check PowerShell Version and Verify WinRM Using Test-WSMan. Please see How to configure a remote server (windows) to Support Ansible, and How to enable or disable WinRM via the command-line.

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. Also, see how to Test Network Connection to the Windows Admin Center (WAC) Gateway.

Determine PowerShell version

Firstly, to determine the PowerShell version. Run the following command below to determine the version of PowerShell that you are running

$PSVersionTable
Screenshot of Windows PowerShell displaying the PSVersionTable command output, showing PowerShell version details and the result of the winrm quickconfig command.

To determine if WinRM is running on a server, use the following command below.

winrm quickconfig
image-12
Note: WinRM is currently configured by default on all servers starting from Windows Server 2012. WinRM is disabled on the client operating system.

Please see how to fix “Cannot find the computer: Fix the following error occurred while using Kerberos authentication“, and how to fix “An error occurred while attempting to connect to the server: Check if the Virtual Machine Management service is running or you are not authorized to connect to this server“.

Verify WinRM setup via the Test-WSMan Cmdlets

To verify that the WinRM service is running using the Test-WSMan command. 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.

Test-WSMan
[[-ComputerName] <String>]
[-Authentication <AuthenticationMechanism>]
[-Port <Int32>]
[-UseSSL]
[-ApplicationName <String>]
[-Credential <PSCredential>]
[-CertificateThumbprint <String>]
[<CommonParameters>]

The Test-WSMan cmdlet submits an identification request that determines whether the WinRM service is running on a local or remote computer. If the tested computer is running the service, the cmdlet displays the WS-Management identity schema, the protocol version, the product vendor, and the product version of the tested service.

Here is how to fix “WinRM cannot complete the operation, verify that the specified computer name is valid“, and how to upgrade Path and In-Place Upgrade for VBR v13 and Known Fixes.

Status of the WS-Management service on a remote computer

To determine the status of the WinRM service on a remote computer. Please run the command below. Kindly replace the computer name with your remote device as shown below

Test-WSMan -ComputerName "TechDAPC01"

Please see how to upgrade Veeam Backup and Replication 12.3, and how to upgrade Veeam Backup and Replication v12.3 to v13 on Windows.

Determine WS-Management Status

This command tests to see whether the WS-Management (WinRM) service is running on the computer named server01 using the authentication parameter. Using the authentication parameter enables Test-WSMan to return the operating system version

Test-WSMan -ComputerName "TechDA01" -Authentication default

I hope you found this blog post helpful on how to check PowerShell Version and Verify WinRM Using Test-WSMan. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:check PowerShell version Windows, check remote management Windows PowerShell, check WinRM connectivity Windows, determine PowerShell version script, Determine Windows PowerShell version and check WinRM using Test-WSMan, Microsoft Windows, PowerShell, PowerShell WinRM troubleshooting, PowerShellGet, Test-WSMan error fix, Test-WSMan usage guide, Test-WSMan WinRM status, verify WinRM running PowerShell, Windows 10, Windows 11, Windows PowerShell version command, WinRM service status Windows

Post navigation

Previous Post: Enable or disable Microsoft Edge from showing Web Content
Next Post: Various ways to hide Windows Taskbar

Related Posts

  • image 10
    How to use Microsoft SQL Server Management Studio to Export and Import your MsSQL database from Azure to local computer AWS/Azure/OpenShift
  • MBAM
    Fix MBAM Client Deployment is only supported on MBAM 2.5 SP1 Windows
  • Set Microsoft Defender AV to Passive mode on a Windows Server
    Set Microsoft Defender AV to Passive mode on a Windows Server Security | Vulnerability Scans and Assessment
  • Invalid OS GUID e1781959302769
    Steps to Fix the “Invalid OS GUID” Error in MDT Windows
  • Uninstall MicrosoftDefenderUpdate
    What you need to know about Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
  • ansible business cards 1600x0 c default
    Kerberos error: Clock skew too great while getting initial credentials Windows Server

More Related Articles

image 10 How to use Microsoft SQL Server Management Studio to Export and Import your MsSQL database from Azure to local computer AWS/Azure/OpenShift
MBAM Fix MBAM Client Deployment is only supported on MBAM 2.5 SP1 Windows
Set Microsoft Defender AV to Passive mode on a Windows Server Set Microsoft Defender AV to Passive mode on a Windows Server Security | Vulnerability Scans and Assessment
Invalid OS GUID e1781959302769 Steps to Fix the “Invalid OS GUID” Error in MDT Windows
Uninstall MicrosoftDefenderUpdate What you need to know about Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
ansible business cards 1600x0 c default Kerberos error: Clock skew too great while getting initial credentials Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • 980239e9 cisco logo 2
    LACP Configuration on Cisco 3650 Switch Network | Monitoring
  • Ping 3
    How to convert images from PNG to JPG on WordPress, Windows, and Mac JIRA|Confluence|Apps
  • Slide1 1
    Create Multiple Users with Passwords in Ubuntu Linux Linux
  • DevOps GIT Docker Kubernetes
    Azure DevOps: Docker and Kubernetes Deployment with GitHub AWS/Azure/OpenShift
  • Get certificate thumbprint
    Retrieve an SSL Thumbprint in Windows using PowerShell Scripts
  • RDP Certificate Issues
    Connecting to the RDP host: Fix the Certificate could not be verified back to the root certificate Mac
  • BitLocked suspended and resumed
    Query MBAM-protected Client for non-compliance [Part 2] Windows
  • MP Tools
    Veles Software: How to install and configure MPA Tools Reviews

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,762 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.