Share via

Running powershell command on remote machine

Anonymous
2024-03-25T11:58:32+00:00

I have run the following command successfully on a computer locally, can this be run on remote computers by adding the computer name? I've tried a few different ways but it doesn't seems work

Disable-WindowsOptionalFeature -FeatureName Internet-Explorer-Optional-amd64 -Online -NoRestart

Many thanks

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

paulr0511 45,605 Reputation points Independent Advisor
2024-03-25T14:45:26+00:00

Good day NB2201! I would suggest to post this query to our neighbor forum from the link below as this is best suited in there. They are more oriented on with regards to this type queries/issues and there will be IT Pros and Gurus/System Admins/IT Admins and the likes who has the same deployment or setup in this type of environment and are available that will be able to fulfill your query out there.

https://learn.microsoft.com/en-us/answers/ask

Regards,

Paul R.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-03-25T12:17:00+00:00

    Hello. The remote computer would need to run the script. Just make a script (Meow.bat) file and run the bat file. I would suggest a program like TeamViewer/anydesk.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-03-25T15:14:01+00:00

    thanks Paul, I've reposted and will close this

    Was this answer helpful?

    0 comments No comments