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

DSPM, Data Security Posture Management, Data Observability

DATA SECURITY POSTURE MANAGEMENT DSPM, or Data Security Posture Management, is a practice that involves assessing and managing the security ...