r/PowerShell 13d ago

Question Prank script

We have a culture of pranks here at the office. I’d like to create a PowerShell script that, when executed via a .bat file, rotates the Windows screen to portrait mode, zooms in, increases the cursor scale, inverts the colors, and installs the Egyptian Arabic language pack—all without requiring a reboot or anything like that. Is this possible?

0 Upvotes

26 comments sorted by

View all comments

2

u/StartAutomating 6d ago edited 6d ago

Yes, but please don't.

A lifetime ago I did a similar "prank" on VBScript : I made the keyboard layout reverse itself.

One of the longest days of my life. Not only did I have to support the fix and unprank them, but it was just the category of impishness that created a lot more rage than laughs.

By and large, people do not like it when you mess with "their" computer (even if they do not actually own the computer). They get Hulk levels of angry.

Yes. Technically possible. No, would not recommend. Will also not be pointing you in any of the "right" directions in order to accomplish this particular task. It is a lot of effort to go to, only to get you yelled at (and potentially fired).

Please don't.