r/PowerShell • u/whiqzz • 5h ago
Question Powershell coding help
Hi, I'm self learning powershell coding, I'm very new to this and trying my best. I'm using information from websites and mostly Ai to solve and help me on errors
Is there a way to connect powershell to websites? I've been copy pasting codes or taking screenshot on error code and sending to AI to help me out. Sending it manually everytime a new problem came out is wasting me too much time.
0
Upvotes
View all comments
7
u/AdeelAutomates 5h ago
Connecting to websites through code are done through APIs. It's the machines way of interfacing with web requests.
For instance I use APIs to connect to Azure, Entra, Our orgs web apps, my youtube channel, github, even AI to send/recieve right through code, etc.
The key thing is that the website needs to expose APIs for you to use. As in their developers of the apps/sites need to create them. Some sites might not have them.
If thats all you needed to know then thats your answer: Powershell can.
But what are you trying to do is the question.