Sys‐255 Powershell Scripting - ConnorEast/Tech-Journal GitHub Wiki

Powershell Scripting Documentation.

image
The image above shows looping code that takes items located in the WindowsApps folder and splits them into items based on the addition of the ';' key. Similar things can be done using spaces or other assignments as well.

Deliverable 1: Setting a Alias:

image

Deliverable 2: Creating a Script:

image
image

Deliverable 3: Creating a variable based script:

image
image

Deliverable 4: PS-Session Screenshot

image

Deliverable 5:Forced Commands through AD:

image
image

Deliverable 6:

image
image

Deliverable 7:

image
image

WorkStation command: On PS use the command"enable-psremoting" to allow individuals to remote into your server
image