How to check status account Administrator Local

Trần Ngọc Nam 20 Reputation points

Hi everyone, Now, I want check status account Administrator Local on all of computers in my domain, but I can't do it. I tried use script on PowerShell, configure rule on firewall (even turn off firewall), but port of WinRM isn't listenning to execute my script. Can you give me some other solution or way to enable port of winRM? Thank you

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,316 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 31,341 Reputation points Microsoft Vendor

    Hi, You can run Enable-PSRemoting to configure WinRM. It will create a listener on the WinRM port 5985 for HTTP and add a firewall exception automatically.

    Best Regards, Ian Xue If the Answer is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.