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

    Say my IP

    Windows
    result
    1
    1
    498
    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.
    • RussR
      Russ
      last edited by Russ

      This command will have Alexa say your computer's IP address.

      powershell -command "Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.InterfaceAlias -like 'Ethernet*'} | Select-Object -ExpandProperty IPAddress | ForEach-Object { Start-Process -FilePath "%USERPROFILE%\.TRIGGERcmdData\sendresult.bat" -ArgumentList $_ }"
      

      This shows the settings in the GUI Command Editor. Notice {{result}} is in the Voice Reply field.

      57d4139c-496e-4237-a9d1-e721a6a34cae-image.png

      You'll need to use one of the original "conversational" TRIGGERcmd Alexa skills (not the Smart Home one).

      You can also see the IP address in your runs history for the command:

      3f71cb2c-7083-48ba-86bf-e47d86071fd3-image.png

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • RussR Russ pinned this topic on
      • RussR Russ moved this topic from Windows on
      • First post
        Last post