From the course: PowerShell 7 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
PowerShell security - PowerShell Tutorial
From the course: PowerShell 7 Essential Training
PowerShell security
- [Instructor] When using PowerShell, it's important to understand some of the PowerShell Security capabilities and features that are available. For example, we already discussed the actual control on the windows machine, for example, using user access control and running as administrator. Now PowerShell's Execution Policy is a safety feature that controls the conditions under which PowerShell loads configuration files and run scripts. This feature will help prevent the execution of malicious scripts. On a windows computer you can set an execution policy for the local computer for the current user or for the particular session. You can also use a Group Policy setting to set execution policies for computers and users if you are managing those user workstations. The execution policy isn't a security system that restrict user actions. Users can easily bypass a policy by typing the script contents at the command line…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
PowerShell security6m 15s
-
(Locked)
Create your first script8m 30s
-
(Locked)
Parameter attributes for scripts and functions15m 16s
-
(Locked)
Select information10m 24s
-
(Locked)
Filter specific data10m 43s
-
(Locked)
Control the flow of PowerShell8m 31s
-
(Locked)
Ternary operators2m 39s
-
(Locked)
Switch statements3m 58s
-
(Locked)
Define custom help9m 22s
-
(Locked)
-
-
-