Chapter 38. Creating and Running a PowerShell Script
This chapter provides information and commands concerning the following topics:
• Setting the security context
• Creating a PowerShell profile
• Creating and modifying the global PowerShell profile
• Logging processes with a get-process script
• Testing for the existence of a file
Tip
You should be familiar with PowerShell when preparing for the 70-640, 70-643, and 70-647 exams.
Setting the Security Context
PowerShell has different levels of security set by an execution policy. If you don’t modify the execution policy, you won’t be able to run any scripts. ...
Get Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.