Skip to content

TechDirectArchive

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

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

PowerShell Remoting: Guide to Windows Management Instrumentation

Posted on 06/11/201917/08/2026 Christian By Christian No Comments on PowerShell Remoting: Guide to Windows Management Instrumentation
  1. Home
  2. Scripts
  3. PowerShell Remoting: Guide to Windows Management Instrumentation
PowerShell

As defined by Microsoft, Windows PowerShell remoting lets you run any Windows PowerShell command on one or more remote computers. You can establish persistent connections, start interactive sessions, and run scripts on remote computers. In this guide, we will discuss “PowerShell Remoting: Guide to Windows Management Instrumentation”. Please, see Video Remoting was disconnected on Hyper V, and Enable WinRM on Windows Servers and Windows PCs.

PowerShell remoting is similar to SSH used in accessing remote computers.

PowerShell Remoting uses the Windows Management Instrumentation (protocol) – WMI is a set of specifications from Microsoft for consolidating the management of devices and applications in a network from Windows systems. WMI provides users information about the status of local or remote computer systems.

Also, see “Windows Management Instrumentation Commands“, “how to enable or disable a Remote WMI Connection in Windows“, and “Remote WMI Connection: How to enable or disable WMI Traffic Using Firewall UI“.

Windows Management Instrumentation

Note: PowerShell remoting is disabled by default, so you will have to enable PowerShell Remoting before it can be used.

Additionally, This is the Commandline tool needed to enable the WMI, but it was already running as displayed in my lab. Simply enter

winrm quickconfig
Remoting

Since this is already enabled and running as stated, we will proceed to access computers remotely.

Please, see Enhanced Proactive Monitoring with Veeam ONE, SQL Server 2025 Upgrade Requirements and Compatibility, and Upgrade Veeam Backup and Replication v12.3 to v13 on Windows.

Enable PowerShell Remoting

If you wish to enable PowerShell Remoting via Powershell cmdlet, simply run the command below.

Enable-PSRemoting -Force
Windows Management Instrumentation

As you can see, the WinRM service is already running. The next step would be to access our computers remotely.

Note: Therefore, to achieve success in setting up PowerShell Remoting in your domain depends on how your network is provisioned. Most times, this service can be disabled via GPO. Nevertheless, You will need an Administrative privilege to administer PowerShell Remoting.

Similarly, Now that we have successfully connected to a computer on our network, as shown above.

Let us perform certain operations to get the computer system and security logs. Nonetheless, Kindly see the image below for these steps.

Note: You can also connect to multiple computers at the same time and this requires using the PowerShell invoke cmdlet as shown below.

Invoke-Command -ComputerName COMPUTER -ScriptBlock { COMMAND } -credential USERNAME

Cmdlet explanation: “computer” represents the remote PC name or IP Address. “Command” here is the command you intend to run. “USERNAME” is the username you want to run the command as on the remote computer. This should have the needed Administrative privileges.

Note: You’ll be prompted to enter the desired password for the username

Further Tips

Needed to have a mastery of this service.

  • Restart-Service WinRM
  • Test-WsMan COMPUTER (This is needed to test whether the WinRM service runs on the remote computer). If this executes successfully, then everything is right.

I hope you found this article on “PowerShell Remoting: Guide to Windows Management Instrumentation” very useful. Please, feel free to leave a comment below.

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
Scripts, Windows, Windows Server Tags:Microsoft Windows, modern WMI cmdlets PowerShell CIM, PowerShell CIM sessions WMI, PowerShell Get-WmiObject usage, PowerShell Remoting, PowerShell remoting infrastructure WMI, PowerShell Remoting WMI guide, remote management WMI PowerShell commands, Windows 10, Windows 11, Windows Management Instrumentation, Windows Management Instrumentation PowerShell, Windows remote administration WMI, Windows Server 2016, Windows Server WMI remote queries, WinRM WMI integration guide, WMI vs PowerShell Remoting Windows

Post navigation

Previous Post: Unable to update the password value provided for the new password and Password Policy
Next Post: Enable WinRM on Windows Servers and Windows PCs

Related Posts

  • Fix Windows Installer Service Could Not Be Accessed Error
    How to Fix the “Windows Installer Service Could Not Be Accessed” Error While Installing an Application Windows
  • Restrict the number of tabs a user can open in Chrome and Edge
    Restrict the number of tabs a user can open in Chrome and Edge Windows
  • Windows 10 logo wmskill.com
    Handy Shutdown commands available in Windows Windows
  • FIX RDP Authentication Error
    Fix Remote Connection Issue: An Authentication Error Has Occurred with Code 0x80004005 Windows
  • images
    How to fix you are not allowed to view this folder on SSRS: MBAM reports cannot be accessed because it could not load folder contents Windows Server
  • active directory faq 2016 1
    How to detect who disabled a user in Active Directory Windows Server

More Related Articles

Fix Windows Installer Service Could Not Be Accessed Error How to Fix the “Windows Installer Service Could Not Be Accessed” Error While Installing an Application Windows
Restrict the number of tabs a user can open in Chrome and Edge Restrict the number of tabs a user can open in Chrome and Edge Windows
Windows 10 logo wmskill.com Handy Shutdown commands available in Windows Windows
FIX RDP Authentication Error Fix Remote Connection Issue: An Authentication Error Has Occurred with Code 0x80004005 Windows
images How to fix you are not allowed to view this folder on SSRS: MBAM reports cannot be accessed because it could not load folder contents Windows Server
active directory faq 2016 1 How to detect who disabled a user in Active Directory Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • Screenshot 2020 05 14 at 19.08.33
    Backup image to TFTP server Network | Monitoring
  • 1 8y62mmvjlr 5uovgoq6zmq
    How to download and install DriveLock on Windows Security | Vulnerability Scans and Assessment
  • images 5 1
    How to access MySQL Server from command Prompt Oracle/MSSQL/MySQL
  • Feature image msert tool
    How to remove malware using Microsoft Safety Scanner on Windows 10 and 11 Security | Vulnerability Scans and Assessment
  • Windows Hello with fake fingerprints
    Security researchers bypass Windows Hello with fake fingerprints with Raspberry Pi 4 Security | Vulnerability Scans and Assessment
  • image 117
    Deploy MVC Application to AWS EC2 Using RDP and Web Deploy Configuration Management Tool
  • Delete Slack Account
    How to delete your Slack account JIRA|Confluence|Apps
  • wacxx
    Test Network Connection to Windows Admin Center Gateway Scripts

Subscribe to Blog via Email

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

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

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.