PowerShell Fundamentals

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024
  • Functions that PowerShell can take advantage: cmdlets
    PowerShell is an update to the command prompt: False - PowerShell is an independent program
    PowerShell is Object-Oriented, CLI, Task Based, and AD Tool
    The current version of PowerShell is 7
    To view information about a command you should type: Get-Help
    The file extension for PowerShell scripts is .ps1
    The standard PowerShell syntax = Verb-Noun
    In PowerShell the I is known as a pipe
    Integrated Script Environment (ISE)
    Microsoft probably made PowerShell free and cross platform because:
    - Microsoft owns Git-Hub
    - CBL-Mariner
    - WSL2 supports Ubuntu

    PowerShell function are called cmdlets
    Which version of PowerShell can be installed on MacOS or Linux: version 6.0
    The basic PowerShell syntax is Verb-Noun
    If you need help with the syntax of a specific cmdlet, you should use: Get-Help
    If you want to run a custom script on PowerShell, you need to change the execution policy for the script
    To use an output of one command as an input of another command, you need to connect the commands with |
    The PowerShell cmdlet to add a new user in Active Directory is: New-ADUser
    The PowerShell cmdlet to add a member to an Active Directory group is: Add-ADGroupMember
    You can add multiple users to Active Directory simultaneously using a PowerShell script: True

Комментарии •