Easy way to make a task or script run on another computer (not using PowerShell Remoting)

Posted on 2014-07-14
Last Modified: 2014-07-15
This is on my home network.

The originator computer is Windows Server 2012 R2 and the destination is Windows 8.1 Pro. They are both in the same local subnet and the same domain.

I have tried with PSRemoting because it worked fine on my previous generation setup, before I upgraded all the OSes. The WinRM functionality gets blocked because the destination computer has "public" network connections on it. These public connections are part of VMware Workstation and I cannot change them to private permanently.

After that I tried Write-EventLog with -ComputerName and I got an error about not finding the destination computer on the network (using name and IP).

The ideal solution would be to just send/broadcast something on the LAN and to be able to find an event in the event log of the destination computer and then I could attach a task to that. But I don't know which protocol I should use or how to configure (create?) and find the corresponding event in the event viewer, or if this is even doable.

I would like to avoid adding extra software and would prefer using what is built into Windows.

Please let me know if I forgot some important details. Thanks in advance.
Question by:J-M Dion
    LVL 77

    Accepted Solution

    Have you tried psexec?
    It is specifically designed for running a task on another computer, but firewalls could get in the way with it as well.

    Author Closing Comment

    by:J-M Dion
    I am a fan of the Sysinternals suite but I didn't know PsExec and I would never have tought about it. It solves my problem and it's sort of built into Windows because it's from Microsoft and it's the first thing I install on a computer. Thanks!
    LVL 77

    Expert Comment

    by:Rob Williams
    Good to hear.
    Thanks ValidName.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
    Set OWA language and time zone in Exchange for individuals, all users or per database.
    In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now