Lab Journal ‐ Scripting #1 - Wudong-champlain/Spring2024 GitHub Wiki

  1. What are cmdlets and how are they named? Cmdlets: Cmdlets are lightweight PowerShell commands following a verb-noun naming convention, such as Get-Process, where "Get" is the verb and "Process" is the noun.
  2. When you create a Powershell script, what is its extension and what type of basic file format is it? PowerShell Script Extension: A PowerShell script has the extension .ps1 and is a plain text file containing PowerShell commands.
  3. What does adding a variable to a script allow you to do? Adding a Variable: Adding a variable to a script allows you to store and manipulate data, making the script more dynamic and reusable.