Explore tens of thousands of sets crafted by our community.
Windows PowerShell Basics
44
Flashcards
0/44
Get-Service
Retrieves the status of services on a local or remote machine.
Import-Module
Adds one or more modules to the current session.
Get-Command
Gets all commands that are installed on the computer, including cmdlets, aliases, and functions.
Out-String
Sends objects to the host as a series of strings.
Compare-Object
Compares two sets of objects.
Clear-Content
Deletes the contents of an item, but does not delete the item.
Exit-PSSession
Ends an interactive session with a remote computer.
Get-Help
Displays information about PowerShell commands and concepts.
ConvertTo-Json
Converts an object to a JSON-formatted string.
Clear-History
Deletes entries from the command history.
Start-Process
Starts one or more processes on the local computer.
Copy-Item
Copies an item from one location to another.
Out-GridView
Sends output to an interactive table in a new window.
Add-Content
Adds content to a specified item or file.
New-Item
Creates a new item.
Out-Print
Sends output to the default printer.
Measure-Object
Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files or output of commands.
Set-ExecutionPolicy
Changes the user preference for the PowerShell scripts execution policy.
Start-Service
Starts one or more stopped services.
Get-Content
Gets the content of the item at the specified location.
Move-Item
Moves an item from one location to another.
Invoke-History
Runs commands from the session history.
Get-ExecutionPolicy
Displays the current PowerShell script execution policy.
Set-Service
Configures the properties of a service.
Import-Csv
Creates table-like custom objects from the items in a CSV file.
Group-Object
Groups objects that contain the same value for specified properties.
Stop-Process
Stops one or more running processes.
Test-Connection
Sends ICMP echo request packets ('pings') to one or more remote computers.
Get-Process
Gets the processes that are running on the local computer or a remote computer.
Export-Csv
Exports objects to a CSV file.
Invoke-Command
Runs commands on local and remote computers.
ConvertFrom-Json
Converts a JSON-formatted string to a custom object.
Stop-Service
Stops one or more running services.
Restart-Service
Stops and then starts one or more services.
Set-Content
Writes or replaces the content in an item with new content.
Rename-Item
Renames an item in a PowerShell provider namespace.
Get-History
Gets a list of the commands entered during the current session.
Get-ChildItem
Gets the items and child items in one or more specified locations.
Enter-PSSession
Starts an interactive session with a single remote computer.
Out-File
Sends command output to a file.
Select-String
Searches for text and patterns in input strings and files.
Remove-Item
Deletes one or more items.
Test-Path
Determines if a path to an item exists.
Add-History
Appends entries to the session command history.
© Hypatia.Tech. 2024 All rights reserved.