Skip to Content
Learning Malware Analysis
book

Learning Malware Analysis

by Monnappa K A
June 2018
Beginner
510 pages
13h 7m
English
Packt Publishing
Content preview from Learning Malware Analysis

1.6.2 PowerShell Scripts And Execution Policy

PowerShell's capabilities allow you to create scripts by combining multiple commands. The PowerShell script has an extension of .ps1. By default, you will not be allowed to execute a PowerShell script. This is due to the default execution policy setting in PowerShell that prevents the execution of PowerShell scripts. The execution policy determines the conditions under which PowerShell scripts are executed. By default, the execution policy is set to "Restricted", which means that a PowerShell script (.ps1) cannot be executed, but you can still execute individual commands. For example, when the Write-Host "Hello World" command is saved as a PowerShell script (hello.ps1) and executed, you get the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Malware Analysis

Practical Malware Analysis

Michael Sikorski, Andrew Honig
Mastering Malware Analysis

Mastering Malware Analysis

Alexey Kleymenov, Amr Thabet
Evasive Malware

Evasive Malware

Kyle Cucci

Publisher Resources

ISBN: 9781788392501Other