TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Turn PC on/off

    Windows
    2
    2
    5
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rodney Mathee
      last edited by

      Hi
      I have tried with gemini to get a solution but they could only help with the turn off. I would like to be able to turn my windows pc on/off using my google assistant please? I am not familiar with coding and writing scripts or even triggercmd. Any help would be greatly appreciated. Thanks

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Rodney Mathee
        last edited by Russ

        @Rodney-Mathee, you'll need to use a separate computer on your network to turn it on via "Wake On Lan" and you'll probably need to enable it in the BIOS of the computer you want to turn on.

        This tool could send the "magic packet" to turn on the other computer on your network:
        https://www.nirsoft.net/utils/wake_on_lan.html

        The following is from the documentation page I linked to above:

        Turn On a Computer From Command-Line
        WakeMeOnLan allows you to wake up a computer on your network without displaying any user interface, by using the /wakeup command-line option. You can specify the computer name, IP address, or the free user text that you typed in the properties window, as long as the computer information is stored inside the .cfg file. You can also specify the MAC address of the remote network card, even if the computer is not stored in the .cfg file.
        Optionally, you can specify the port number in the second parameter, and broadcast address in the third parameter.

        Examples:
        WakeMeOnLan.exe /wakeup 192.168.1.25
        WakeMeOnLan.exe /wakeup Comp01
        WakeMeOnLan.exe /wakeup Comp02
        WakeMeOnLan.exe /wakeup 40-65-81-A7-16-23
        WakeMeOnLan.exe /wakeup 406581A71623
        WakeMeOnLan.exe /wakeup Comp02 30000 192.168.0.255
        WakeMeOnLan.exe /wakeup 192.168.1.25 20000 192.168.1.255

        You can also wake up all computers in the list by using /wakeupall command-line option. Like in the /wakeup command-line option, you can optionally specify broadcast address and port number.

        Examples:
        WakeMeOnLan.exe /wakeupall
        WakeMeOnLan.exe /wakeupall 20000 192.168.2.255 If you want to wake up all computers in specific IP addresses range, you can use /wakeupiprange command-line option

        Examples:
        WakeMeOnLan.exe /wakeupiprange 192.168.0.25 192.168.0.100
        WakeMeOnLan.exe /wakeupiprange 192.168.0.11 192.168.0.20 20000 192.168.0.255

        If you want to wakeup multiple computers, you can use /wakeupmulti command-line option.
        Examples:
        WakeMeOnLan.exe /wakeupmulti 192.168.1.19 192.168.1.55 192.168.1.82
        WakeMeOnLan.exe /wakeupmulti Comp01 Comp02

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • First post
          Last post