Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows » PowerShell Remoting: Guide to Windows Management Instrumentation

PowerShell Remoting: Guide to Windows Management Instrumentation

Posted on 06/11/201908/12/2025 Christian By Christian No Comments on 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, PowerShell Remoting, Windows 10, Windows 11, Windows Management Instrumentation, Windows Server 2016

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

  • image 2
    How to Fix Microsoft Edge Not Responding Windows
  • windows workstations inactivity
    Configure Windows Device Inactivity Limit Locally and Domain Wide Windows
  • image 16
    How to Fix Windows Error 0x80070057 Windows
  • fghjk
    Map a Network Drive: How to mount a Network Drive Windows
  • How To Put Multiple OS ISO Files In One Bootable USB Disk
    USB Drive: Create a Multiboot with Multiple OS ISOs Windows
  • windows server 2019 logo
    How to create a Windows Server reference image using WDS Windows Server

More Related Articles

image 2 How to Fix Microsoft Edge Not Responding Windows
windows workstations inactivity Configure Windows Device Inactivity Limit Locally and Domain Wide Windows
image 16 How to Fix Windows Error 0x80070057 Windows
fghjk Map a Network Drive: How to mount a Network Drive Windows
How To Put Multiple OS ISO Files In One Bootable USB Disk USB Drive: Create a Multiboot with Multiple OS ISOs Windows
windows server 2019 logo How to create a Windows Server reference image using WDS 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

  • Convert PEM to PPK 1
    Convert a PEM Key to a PPK Key on a Linux and Windows AWS/Azure/OpenShift
  • Screenshot 2020 05 14 at 17.47.09
    Configure OpenSSH Server: A Quick Guide Linux
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • CI With GitLab 1
    Build Docker Images with GitLab CI Automation
  • Enable Nexted Virtualization on VirtualBox
    ESXi VMB 411 Halting: Virtualbox Nested VT-X/AMD-V greyed out Virtualization
  • Case Of Internal Sabotage And Recovery
    A real case of Internal Sabotage and Recovery Network | Monitoring
  • article 1280x720.192a2586 1 2
    Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
  • Remove Orphaned VHR Repository
    Unable to Remove Orphaned VHR Repository v2 from VBR v13 Backup

Subscribe to Blog via Email

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

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