According to researches by the adsmember team
आज मैं आपको दिखाऊंगा कि आप Google सहायक (या टेलीग्राम) से अपने पीसी (जो कुछ भी पावरशेल के साथ किया जा सकता है) को कैसे नियंत्रित कर सकते हैं ध्यान रखें कि यह इतना आसान नहीं है और शायद आसान तरीके हैं (मुझे टिप्पणियों में बताएं यदि आप चाहते हैं कि मैं उनकी जाँच करूँ)। इस पद्धति से हम एक टेलीग्राम बॉट बनाते हैं जिसे पॉवरशेल स्क्रिप्ट सुनती है, यह टेलीग्राम बॉट एक IFTTT बॉट वाले चैनल में होगा जो वहां एक पूर्वनिर्धारित कमांड को फॉरवर्ड करेगा और पावरशेल स्क्रिप्ट इसे चलाने के बजाय, IFTTT लिंक करेगा गूगल असिस्टेंट। आप यहां पूरी स्क्रिप्ट पा सकते हैं:

स्क्रिप्ट कैसे चलाएं: पॉवरशेल -एक्ज़ीक्यूशनपॉलिसी बायपास C:PATH-TO-SCRIPTTelegram-listener.ps1 लॉक पीसी कमांड: rundll32.exe user32.dll,LockWorkStation UPDATE: ध्यान दें कि सब कुछ सेट करने के बाद आप गोपनीयता को चालू कर सकते हैं , आपकी सुरक्षा को बेहतर बनाने के लिए चैनल और बॉट दोनों पर। नवीनतम वीडियो देखें:

=================================== व्यापार पूछताछ के लिए, ईमेल करें: [email protected] हिब्रू यूट्यूब चैनल: फेसबुक:

ट्विटर:

इंस्टाग्राम:

वेबसाइट:

मैं जिस गियर का उपयोग करता हूं:

व्यापार और दान:

हमारे वीडियो का अन्य भाषाओं में अनुवाद करने में मदद करना चाहते हैं? अस्वीकरण: इनमें से कुछ लिंक मेरी वेबसाइटों में से एक पर जाते हैं और कुछ सहबद्ध लिंक हैं जहां यदि आप बिना किसी अतिरिक्त लागत के खरीदारी करते हैं तो मैं एक छोटा कमीशन कमाऊंगा।

source

Rate us
0 0 votes
Article Rating
Subscribe
Notify of
guest
42 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
DimusTech
DimusTech
1 month ago

NOTE that after setting everything up you can switch the privacy on, on both the channel and the bot to improve your security.

Alex Trowbridge
Alex Trowbridge
1 month ago

Pretty neat! I feel like what we really need is IFTTT to make a win app & would be ez pz.

Or Ben Zion
Or Ben Zion
1 month ago

Hi, first thanks for this video it helped me a lot.

you might want to add this option
-UseBasicParsing

to the Invoke-WebRequest command. It generated an error for me :

The response content cannot be parsed because the Internet Explorer engine is not available, or

Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.

And the option solved it.

Thanks again

Tanna Dev Prakashbhai
Tanna Dev Prakashbhai
1 month ago

Sir I have followed exactly the steps shown by you as we are getting the message in telegram as well as on the webpage even powershell script is running but pc is not getting locked can you please help us.

Tank
Tank
1 month ago

i keep telling my computer to lock myh pc but it says its locked on google but it still says its unlocked but on telegram it send the message.How to fix??

Tharuka Pathirana
Tharuka Pathirana
1 month ago

Hey I just tried to type the web address but it wont work. It says error code 404. So can you pls give the web address so I could copy it. Pls respond

r12azqha
r12azqha
1 month ago

You triggered my google assistant too 😂

Fakhrurrazi Jamal
Fakhrurrazi Jamal
1 month ago

I saw you posted this in an earlier response, 2 things I want to ask,

[System.Reflection.Assembly]::LoadWithPartialName("'System.Windows.Forms") | Out-Null ; [System.Windows.Forms.SendKeys]::SendWait("W")

1. I couldn't get it to work when I put the entire thing as a message to the Telegram bot. Am I not supposed to put it there?
2. Assuming I get that to work, what if i want to type an entire sentence? Is there an easier way to type rather than copying the entire line for every character?

LegionLeague
LegionLeague
1 month ago

@DimusTech Hi Dimus. I want to be able to pause/unpause a video playing in the active window (could be a Youtube or just a VLC player video). How can I emulate s spacebar keyboard press? That would basically pause/unpause any video.

Samudra Wira Yudha
Samudra Wira Yudha
1 month ago

hi dimus! i got 2 questions
-does it have to use the iftt pro?
-and can you make the bot open a website on a chrome? (for example, can it open spotify website?)

Lulu Maha 👊🏿
Lulu Maha 👊🏿
1 month ago

Yeah 10$ for ifttt

Caspar Bouman
Caspar Bouman
1 month ago

The bot and channel is ok, I can see that on: https://api.telegram.org/bot…I get back: {"ok":true,"result":[]}
I make the applet and the google assistent does not understand the command. I think is obvious. There is no 'link' to my pc. I need to do make a script in powershell but i dont know what the chatid is.

bajol
bajol
1 month ago

i want to use this to play video games. cus its useless but cool. but, can i do it with my phone's google assistance?

Dude
Dude
1 month ago

Could this pair with my phones Google Assistant?

Keanu B
Keanu B
1 month ago

Cool video! I've made a script successfully, but is there any way to not have powershell open constantly with it flickering like that while the script is running?

Lui Osório
Lui Osório
1 month ago

Worked perfectly! Thank you so much for that awesome video.

DC Toledo
DC Toledo
1 month ago

Can I also do Turn on and Turn off with this method? if so do you have the scripts for this? Thanks in advance!

Ian Patrick
Ian Patrick
1 month ago

If you are having problems with infinite error loops that say something about internet explorer like I did, I made an edited version of the script here https://github.com/Warhammer817/Edited-Asistant-Powershell-Script

BattleAxel
BattleAxel
1 month ago

Where do I find these scripts. I want to make a command to restart my pc and shut it down.

GamingVerseX
GamingVerseX
1 month ago

How do i put my pc in power saving mode?

Chidera
Chidera
1 month ago

Where can I find a shutdown PC command?

Roy Demesmaecker
Roy Demesmaecker
1 month ago

I Will try this

Suryansh Singh
Suryansh Singh
1 month ago

i need help , as when i open the link of api.telegram…… i got the message {"ok":false,"error_code":404,"description":"Not Found"} .I tried to do the process again but still i get the same message , plz help

Zeeshan Ahmed P
Zeeshan Ahmed P
1 month ago

For any who is annoyed by the powershell window opening on every login, trying this command in the task scheduler:
-windowstyle hidden -file <path to your script>

You are welcome! 🙂

K.A. Kumar
K.A. Kumar
1 month ago

Your intro looks like Linus tech tips' remake

Mango
Mango
1 month ago

You are amazing

Javierpal Fordring
Javierpal Fordring
1 month ago

Damnit, don't say ok google on the video please!

Sami Abbas
Sami Abbas
1 month ago

i have cortana in my laptop

Anton
Anton
1 month ago

Can I somehow change something so that the PowerShell window opens minimized?

Ronix
Ronix
1 month ago

Can you give we more commands

Randall Lobo
Randall Lobo
1 month ago

i personally was curious about this and wow, it looks really interesting. Unfortunately i wont be using it but good to know

science psycho
science psycho
1 month ago

worked thanks alot

Siddharth
Siddharth
1 month ago

Hi i can only see (Send Message) icon and not the open in web option 5:26

Camilo Henao T
Camilo Henao T
1 month ago

If you want to run powershell in the background you can modify windows style as another argument (-windowstyle hidden) in the task schedule in 13:22 like this:

Argument:
-windowstyle hidden -executionpolicy bypass C:PATH-TO-SCRIPTTelegram-listener.ps1

Victor Graca
Victor Graca
1 month ago

hi, where do you find the my token

RONiiN
RONiiN
1 month ago

Cannot index into a null array.

At C:Telegram-listener.ps1:25 char:1

+ $InitialMessageDate = $jsonresult.update_id[-1]

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidOperation: (:) [], RuntimeException

+ FullyQualifiedErrorId : NullArray

Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.

At C:Telegram-listener.ps1:9 char:17

+ … otUpdates = Invoke-WebRequest -Uri "https://api.telegram.org/bot$($My

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc

eption

+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null.

At C:Telegram-listener.ps1:11 char:39

+ $jsonresult = [array]($MyBotUpdates | ConvertFrom-Json).Result

+ ~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidData: (:) [ConvertFrom-Json], ParameterBindingValidationException

+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFrom

JsonCommand

Help me please.

Anhad Singh
Anhad Singh
1 month ago

sir web is not providing chat ID

Julimari
Julimari
1 month ago

I think you're THE MAN that everybody has seen on their dreams.

Vincent Jager
Vincent Jager
1 month ago

I've got a question. Let's say, I want to check if my pc is powered on or off via Google assistant. So I'd find the Powershell command to check the status, and it will respond with a 1 of a 0. How do return it to the Google home? and let it speak to tell me?

Master ADI
Master ADI
1 month ago

hi dimus, i cant find my id, and i dont get the screen at 10:39 on your video. Could you help me with that.When I reload the API page i only get this
ok true
result []

Daniel Foitzick
Daniel Foitzick
1 month ago

Problem fixed:
imboke-WebRequest and bla bla blaaaa
Only open INTERNET EXPLORER and complete the first-launch configuration
And that is
I found the solution googling and in this page: https://wahlnetwork.com/2015/11/17/solving-the-first-launch-configuration-error-with-powershells-invoke-webrequest-cmdlet/

AnthonyMediaHD
AnthonyMediaHD
1 month ago

how do I run the script with the google home mini?

42
0
Would love your thoughts, please comment.x
()
x