Today I'll show you how you can control your PC (anything that can be done with PowerShell) from the Google Assistant (or Telegram)
Keep in mind it's not that easy and there are probably easier ways (let me know in the comments if you want me to check them out).
With this method we create a Telegram Bot that the PowerShell script listens to, this telegram bot will be in a channel with an IFTTT bot that will forward a predefined command there and the PowerShell script will than run it, the IFTTT will do the link with the Google Assistant.
You can find the whole script here: https://gist.github.com/dimiboy/1737878ab1a093e3d3f20594a2ba2d1a
How to run the script:
powershell -executionpolicy bypass C:\PATH-TO-SCRIPT\Telegram-listener.ps1
Lock PC command: rundll32.exe user32.dll,LockWorkStation
UPDATE: note that after setting everything up you can switch the privacy on, on both the channel and the bot to improve your security.
Watch the latest video: https://goo.gl/a5fvkF
====================================
For business inquiries, email to: business@dimustech.net
Hebrew YouTube channel: https://www.youtube.com/channel/UCshx_KW0CGZExSTgA9rjfgg
Facebook: https://goo.gl/JPsNdM
Twitter: https://goo.gl/YrnbmE
Instagram: https://instagram.com/dimustech
Website: http://www.dimustech.net/
The Gear I use: https://www.amazon.com/shop/dimustech
Merch & Donations: https://streamlabs.com/dimustech/#/merch
Want to help translate our videos to other Languages?
null
Disclaimer: Some of these links go to one of my websites and some are affiliate links where I'll earn a small commission if you make a purchase at no additional cost to you.
132 Comments