Thursday, July 23, 2020

Windows Powershell

  • Go to Windows PowerShell UI
  • Get-ExecutionPolicy
           Remote Signed. You can run your own scripts or scripts signed by a trusted developer.
           Restricted - No scripts allowed. 
           Assigned - Run scripts signed by a trusted developer
           Unrestricted - You can run any script you want.                                                 
  • cmdlet
    • A PowerShell command with a predefined function. 
    • Are case insensitive 
  • Cmdlet format
    • Get - To get something
    • Set - To set something
    • Start - To start something
    • Stop - To stop something that is running
    • Out - To output something
    • New - To create something new
Example

Get-Process
Get-Service
Get-Content

No comments:

Post a Comment

Generative AI for Everyone - Andrew NG - contd.

Generative AI for everyone - Andrew NG - Week 2 https://quality-agile.blogspot.com/2024/05/introduction-to-generative-ai-andrew-ng.html Fine...