6 ms·
Good one, added it to my Powershell profile for the occasional giggle so I can invoke it on demand, feel free to reuse it function Insult { (Invoke-WebRequest
by potemkinhr 3y ago
Good one, added it to my Powershell profile for the occasional giggle so I can invoke it on demand, feel free to reuse it
function Insult { (Invoke-WebRequest -Uri "https://cheswick.com/insults https://cheswick.com/insults") .ParsedHtml.getElementsByTagName("p")[2].innerText } #Outputs a random quality insult!
Note: delete the space behind insults")
Formatting ¯\_(ツ)_/¯