IaC Practice
CtrlK
Powershell
Powershell
  • Introduction
    • History
    • Design
    • Using Powershell
    • Execution Policy
    • PowerShell Gallery
  • Install PowerShell 7
    • Visual Studio Code
    • Tests
    • Finally
  • Coding in PowerShell
    • Creating a module
    • Variables
      • Example
    • Types
    • Conditional Branching
      • if and elseif
      • Switch
    • Loops
      • For loop
      • ForEach
      • While
      • Do Until
    • Piping Commands
  • Remote Control
    • Remoting
    • Build
      • DHCP
    • Creating Users
  • Configuration at Scale
    • Desired State Configuration
    • DSC Example
    • MOF File
    • Apply the Configuration
    • Testing
    • Remove the Configuration
    • Finally
Powered by GitBook
On this page
  1. Introduction

Execution Policy

By default, PowerShell will not let me run scripts, even though I am administrator. I must manually set the execution policy. If I highlight a command, I can click Run Selection to run just that command.

PreviousUsing PowershellNextPowerShell Gallery

Last updated 1 year ago