r/PowerShell • • Dec 06 '19

Windows PowerShell Introduction

https://www.youtube.com/watch?v=TUNNmVeyjW0
143 Upvotes

14 comments sorted by

View all comments

4

u/[deleted] Dec 06 '19

[removed] — view removed comment

26

u/matthoback Dec 06 '19

Sysadmins restrict it because it's a huge vector for malware.

0

u/jantari Dec 07 '19

Not really, it's more complex to get someone to run a PowerShell script than just create your own exe in a traditional programming language or office macros

2

u/matthoback Dec 07 '19

Not in the slightest. Stuffing a long line of powershell directly into the registry to be run at login is one of the primary vectors for malware these days.