SYS 140: Scripting lab - WanderlustPenguin/Charles-Tech-Journal GitHub Wiki
powershell gives better explanations for errors
Get-Command- gives all commands available on system
word- when placed after Get-Command this shows only commands that include that word in them
Get-Filehash (file location)- gives the file hash for a file
test-path- checks whether there is a path to the location you put for something like a file or folder
it is possible to create .psl files that powershell can use to run scripts
you put the script in the text file with proper syntax, and then just input the file location into powershell
param([xxx])$a- this makes a parameter in a script. by adding the parameter to powershell after inputing the file location, you can tailor the script to target something unique each time by replacing the part you want to be variable with $a
sometimes an attempt to scrape a website will fail because there is no encrypted channel to use