Skip to content

TechDirectArchive

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

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

PowerShell Remoting: Guide to Windows Management Instrumentation

Posted on 06/11/201930/06/2026 IT Expert By IT Expert 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.

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
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

  • How do I disable credentials from Remote Desktop
    Disable credential Prompts for Remote Desktop Connections Windows
  • Uninstall MicrosoftDefenderUpdate
    Remove Microsoft Defender Update on Windows 10 & Server Windows
  • fghj
    Windows Profile: How to determine your windows username Windows
  • onedrived43
    How to share Files and Restore Previous versions of Files in Microsoft OneDrive Backup
  • esd convert wim 1280x720 1
    Differences between Capture image, Discover image, Install and Boot images Windows Server
  • Screenshot 2020 05 24 at 22.40.50
    The security database on the server does not have a computer account for this workstation trust relation [Part 1] Windows Server

More Related Articles

How do I disable credentials from Remote Desktop Disable credential Prompts for Remote Desktop Connections Windows
Uninstall MicrosoftDefenderUpdate Remove Microsoft Defender Update on Windows 10 & Server Windows
fghj Windows Profile: How to determine your windows username Windows
onedrived43 How to share Files and Restore Previous versions of Files in Microsoft OneDrive Backup
esd convert wim 1280x720 1 Differences between Capture image, Discover image, Install and Boot images Windows Server
Screenshot 2020 05 24 at 22.40.50 The security database on the server does not have a computer account for this workstation trust relation [Part 1] 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

  • Screenshot
    Change Active Directory Domain name from dot local to dot com Windows Server
  • M365 Users
    Manage MS365 Accounts with PowerShell Microsoft Exchange/Office/365
  • Featured image samp
    How to use Windows 11 PC Health Check App Windows
  • Shrink and Compact Virtual Hard Disks
    How to Shrink and Compact Virtual Hard Disks in Hyper-V Virtualization
  • image 10
    Change Visual Studio Code UI language JIRA|Confluence|Apps
  • image 42
    How to Install and Setup WordPress into a cPanel and Configure Your First WordPress Theme Configuration Management Tool
  • image 75
    Useful Tutorial on CBackup Software Network | Monitoring
  • firewall windows 1
    How to create a Windows firewall rule on Windows Windows Server

Subscribe to Blog via Email

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

Join 1,779 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.