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

  • iCloud for Windows
    How to install and uninstall iCloud for Windows [Part 1] Mac
  • Edge browser
    Enable or disable Microsoft Edge from showing Web Content Windows
  • Keep personal files and apps
    Fix Keep personal files and apps option greyed out during Upgrade Windows Server
  • 2026 04 16 16 08 12 Downloads File Explorer
    Active Directory Vulnerability Assessment with Purple Knight: Domain Controller Owner Is Not an Administrator Windows Server
  • screenshot 2020 03 13 at 20.24.17
    How to install additional packages via Cygwin Windows Server
  • sdf
    What is GPO and how can it be launched in Windows Windows Server

More Related Articles

iCloud for Windows How to install and uninstall iCloud for Windows [Part 1] Mac
Edge browser Enable or disable Microsoft Edge from showing Web Content Windows
Keep personal files and apps Fix Keep personal files and apps option greyed out during Upgrade Windows Server
2026 04 16 16 08 12 Downloads File Explorer Active Directory Vulnerability Assessment with Purple Knight: Domain Controller Owner Is Not an Administrator Windows Server
screenshot 2020 03 13 at 20.24.17 How to install additional packages via Cygwin Windows Server
sdf What is GPO and how can it be launched in Windows 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

  • dotnet6783
    Various methods to Install .NET Framework in Windows Windows
  • DeleteAzureVM
    Remove Azure VM: How to delete a Virtual Machine via the Azure Portal AWS/Azure/OpenShift
  • Fix this PC cannot run Windows 11
    Bypass unsupported CPU and Processor by upgrading to Windows 11 via Windows Update Virtualization
  • group policy 1280x720 1
    Error: The processing of Group Policy failed because of lack of network connectivity to a DC. This may be a transient condition. A success message would be generated once the machine gets connected Windows Server
  • Microsoft 365 Developer Program instant
    Get your free Microsoft 365 E5 Sandbox today AWS/Azure/OpenShift
  • Microsoft365
    Microsoft 365 Backup: Why is it imperative to protect M365? Backup
  • sdf
    Creating an offline local repository in Linux Linux
  • connect GitHub and Build a CI:CD Pipeline with Vercel
    How to connect GitHub and Build a CI/CD Pipeline with Vercel Version Control System

Subscribe to Blog via Email

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

Join 1,786 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 © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.