PowerShell - All Commands Cheat Sheet

PowerShell - All Commands Cheat Sheet

A B C D E F G I J L M N O P R S T U W Z

A

Active Directory The Active Directory command is a powerful PowerShell cmdlet that provides access to various Active Directory management and querying functions.
Add AppxProvisionedPackage Add-AppxProvisionedPackage allows the installation and provisioning of an AppX Windows app package (.appx or .msix) on a specified device.
Add BitLockerKeyProtector Add-BitLockerKeyProtector adds a new key protector to an existing BitLocker-protected volume.
Add Computer Add-Computer is a PowerShell command used to add a remote computer to the current Active Directory domain or workgroup.
Add Content Add-Content is a PowerShell command used to append text or objects to the end of a specified file.
Add History Add-History is a PowerShell command that adds a command to the PowerShell history.
Add KdsRootKey The Add-KdsRootKey cmdlet adds a new root key to the Key Distribution Service (KDS).
Add LocalGroupMember The Add-LocalGroupMember command allows you to add one or more user accounts or groups to a local group on the computer.
Add Member The Add-Member command dynamically adds new members (properties or methods) to existing .NET objects in PowerShell.
Add OdbcDsn The Add-OdbcDsn command in PowerShell allows you to create or modify ODBC Data Source Names (DSNs) on the system, enabling connectivity to external data sources.
Add Printer The Add-Printer command is designed to facilitate the installation and management of printers in a Windows environment.
Add PrinterDriver The Add-PrinterDriver cmdlet adds a printer driver to the system.
Add PrinterPort The Add-PrinterPort cmdlet adds a TCP/IP or LPR port to a printer.
Add PsSnapIn The Add-PsSnapIn cmdlet dynamically loads a PowerShell snap-in.
Add Type The Add-Type command allows you to dynamically add types, methods, and properties to the PowerShell runtime.
Add VpnConnection The Add-VpnConnection cmdlet creates a new VPN connection on the local computer.
Add VpnConnectionRoute The Add-VpnConnectionRoute command adds static routes to a VPN connection.
Add WindowsCapability The Add-WindowsCapability cmdlet adds a capability to the current Windows device.
Add WindowsFeature Add-WindowsFeature is a PowerShell command used to install and enable optional Windows features, such as roles, services, or components.
Add WindowsPackage Add-WindowsPackage installs or updates Windows Provisioning packages (.ppkg files) on a local or remote computer.

B

Backup GPO Backup-GPO creates a backup of a Group Policy Object (GPO) on a specified server.
Begin The Begin command initiates a block of code in a PowerShell script.
BITS BITS (Background Intelligent Transfer Service) manages background file transfers over HTTP/HTTPS.
Break The Break command in PowerShell is used to terminate the execution of the current loop or switch statement immediately.

C

Catch The Catch command in PowerShell allows you to handle exceptions and errors that occur within a script.
Checkpoint Computer The Checkpoint-Computer command in PowerShell is used to create a checkpoint in the system restore process.
Checkpoint WebApplicationMonitoring Checkpoint-WebApplicationMonitoring verifies the health of a web application by performing a series of monitoring checks against its website and infrastructure.
Clear Content The Clear-Content cmdlet removes the entire content of the specified file without deleting the file.
Clear Disk Clear-Disk securely erases all data and removes the partitions from a specified disk, leaving it in a pristine and unallocated state.
Clear DnsClientCache
Clear EventLog Clear-EventLog removes all events from one or more specified event logs.
Clear History Clear-History is a PowerShell command used to delete all or a specific number of commands from the command history.
Clear Host The Clear-Host command quickly and conveniently clears the current PowerShell console screen.
Clear Item Clear-Item is a cmdlet that removes one or more items from the file system.
Clear ItemProperty The Clear-ItemProperty command in PowerShell removes specific properties or all properties associated with a file or folder, including its metadata.
Clear RecycleBin Clear-RecycleBin securely removes all items from the Recycle Bin, freeing up disk space.
Clear Variable The Clear-Variable command in PowerShell removes one or more variables from the current scope.
Compare Object Compare-Object compares two or more objects and returns a detailed report on their similarities and differences.
Complete Transaction Complete-Transaction finalizes a transaction, either committing or aborting it, depending on the condition of the transaction.
Compress Archive Compress-Archive is a PowerShell command that creates ZIP archives.
Confirm SecureBootUEFI Confirm-SecureBootUEFI verifies the status of Secure Boot on Unified Extensible Firmware Interface (UEFI)-based systems and confirms whether it is enabled or disabled.
Connect PSSession Connect-PSSession establishes a remote PowerShell session to manage and interact with a remote computer.
Connect WSMan Connect-WSMan establishes a Windows Remote Management (WinRM) connection to a remote computer or a target virtual machine (VM).
Continue The Continue command prevents the execution of a pipeline's remaining commands if the exit code of a previous command in the pipeline is non-zero.
Convert Path Convert-Path is a PowerShell command that resolves and converts a path (string) to a fully qualified path (FileSystemInfo object).
ConvertFrom CSV ConvertFrom-CSV converts the contents of a CSV file into a structured PowerShell object.
ConvertFrom Json ConvertFrom-Json parses a JSON string and converts it into a PowerShell object.
ConvertFrom SecureString The ConvertFrom-SecureString command in PowerShell transforms a plaintext string into a secure string object.
ConvertFrom String ConvertFrom-String is a PowerShell cmdlet that converts a string representation of an object to an object of the specified type.
ConvertFrom StringData The ConvertFrom-StringData command converts a string containing serialized data into its original object representation.
ConvertTo CSV ConvertTo-CSV converts objects from a data source into a comma-separated value (CSV) text file.
ConvertTo Html ConvertTo-Html converts text files, objects, or variables to HTML format, enabling easy presentation of data in web pages or dashboards.
ConvertTo Json ConvertTo-Json converts an object to a JSON (JavaScript Object Notation) string representation.
ConvertTo SecureString ConvertTo-SecureString converts a plaintext string into a secure string object.
ConvertTo Xml ConvertTo-Xml converts an object or collection of objects into XML format.
Copy Item Copy-Item copies one or more files or folders to a destination location.
Copy ItemProperty Copy-ItemProperty copies property values from one item to another.

D

Debug Process Debug-Process debugs a specified process, allowing you to inspect its code and data during runtime.
Disable BitLocker The Disable-BitLocker command disables BitLocker encryption on a specified volume, rendering it accessible without a password or key.
Disable ComputerRestore The Disable-ComputerRestore cmdlet disables the ComputerRestore feature on the specified computer.
Disable NetAdapterBinding The Disable-NetAdapterBinding cmdlet disables the specified TCP/IP protocol binding on a network adapter.
Disable PSBreakpoint Disable-PSBreakpoint is a PowerShell command used to disable existing breakpoints set in the integrated script debugger (ISE) or with the Set-PSBreakpoint cmdlet.
Disable PSRemoting Disable-PSRemoting disables PowerShell remoting on a local or remote computer.
Disable PSSessionConfiguration Disable-PSSessionConfiguration disables a PowerShell session configuration, preventing its use in new remote PowerShell sessions.
Disable WindowsOptionalFeature The Disable-WindowsOptionalFeature command disables optional Windows features, removing them from the operating system and making them unavailable for use.
Disable WSManCredSSP Disable-WSManCredSSP disables CredSSP (Credential Security Support Provider) authentication in Windows Server Manager (WS-Management).
Disconnect PSSession Disconnect-PSSession terminates an active PowerShell session established with a remote computer or resource.
Disconnect WSMan The Disconnect-WSMan cmdlet disconnects the current session from a remote Windows Management (WS-Management) server.
Do The Do command is a loop construct in PowerShell that allows you to execute a block of code repeatedly.

E

Enable BitLocker The Enable-BitLocker command is a powerful PowerShell utility designed to protect your data by encrypting entire disk drives or individual volumes using the BitLocker encryption feature.
Enable BitLockerAutoUnlock Enable-BitLockerAutoUnlock enables automatic unlocking of BitLocker-protected drives for joined Active Directory domain members using the built-in TPM (Trusted Platform Module).
Enable ComputerRestore Enable-ComputerRestore empowers you to activate the System Restore feature on a specified computer, enabling the restoration of the system to a previous state in case of unexpected events.
Enable NetFirewallRule The Enable-NetFirewallRule cmdlet enables a specified Windows Firewall rule.
Enable PSBreakpoint You can use the Enable-PSBreakpoint command together with other PowerShell commands to debug scripts and troubleshoot issues.
Enable PSRemoting Enable-PSRemoting allows remote sessions to be established on the local computer.
Enable PSSessionConfiguration The Enable-PSSessionConfiguration cmdlet activates a specified PowerShell session configuration in the current scope.
Enable WindowsOptionalFeature Enable-WindowsOptionalFeature enables optional Windows features that are not installed by default.
Enable WSManCredSSP Enable-WSManCredSSP establishes a trust relationship between the local computer and a specified destination computer or range of computers, enabling CredSSP (Credential Security Support Provider) authentication for remote management operations.
End End terminates an active PowerShell session, prompting the user to confirm the operation before proceeding.
Enter PSSession Enter-PSSession establishes a remote PowerShell session with a target computer or session configuration, allowing you to run commands and manage resources remotely.
Exit The Exit command in PowerShell immediately terminates the current PowerShell session, including any currently running scripts or commands.
Exit PSSession The Exit-PSSession command in PowerShell allows users to close an established remote session with a target endpoint, such as a remote computer or server.
Expand Archive The Expand-Archive command in PowerShell extracts the contents of a compressed archive file into a specified destination folder.
Export Alias Export-Alias exports one or more PowerShell aliases to a specified file.
Export Certificate The Export-Certificate cmdlet exports a certificate from the local computer's certificate store to a specified file.
Export Clixml Export-Clixml exports PowerShell cmdlets and providers to a Common Language Infrastructure (CLI) assembly.
Export Console The Export-Console command in PowerShell exports the current console session, including the command history, output, and any errors, to an HTML or XML file.
Export Counter The Export-Counter cmdlet exports Performance Counter data to a text file or a comma-separated value (CSV) file.
Export Csv Export-Csv is a robust PowerShell command that enables seamless data export from various objects, including objects created by cmdlets and scripts, into comma-separated value (CSV) files.
Export FormatData Export-FormatData converts data from PowerShell objects into a specified output format, most commonly a file on disk.
Export ModuleMember Export-ModuleMember exports specified members of a PowerShell module to the global session.
Export PfxCertificate The Export-PfxCertificate command exports a Personal Information Exchange (PFX) certificate from a certificate store.
Export PSSession Export-PSSession exports a PowerShell session to a file, enabling you to share and recreate sessions across different computers or environments.
Export StartLayout Export-StartLayout exports the current Start Layout to an XML file for backup or transfer purposes.

F

F operator The -F operator is the Flags operator, used to inspect the ExitStatus property of a cmdlet, script, function, or executable.
Find Module The Find-Module command in PowerShell allows you to locate and retrieve information about PowerShell modules installed on your system or available online.
Find Package Find-Package searches for packages (modules, DSC resources, etc.) from available package sources and allows you to install, update, or remove them.
For The For command in PowerShell executes a series of commands repeatedly for a specified number of iterations or until a condition is met.
ForEach ForEach is a PowerShell command that iterates through a specified collection of objects and performs a set of actions on each object in the collection.
ForEach Object ForEach-Object processes each element of an array or other object collection, executing a script block for each item.
ForEachmethod ForEach-Object is a powerful PowerShell command that allows users to process each object in a collection one at a time, enabling the execution of custom actions or commands on each object.
Format Custom Format-Custom is a PowerShell command that provides advanced formatting options for tabular data.
Format Hex The Format-Hex command converts the input data into a hexadecimal string representation.
Format List Format-List is a PowerShell command used to display the properties of objects in a formatted list, making them easier to read and understand.
Format Table Format-Table formats a list of objects or custom objects as a table.
Format Volume The Format-Volume command prepares a volume for immediate use by creating a file system and assigning a drive letter or mount point.
Format Wide Format-Wide formats wide objects by expanding the width of their properties to fit the available display area.

G

Get Acl Get-Acl retrieves Access Control List (ACL) information for a specified file, directory, or registry key.
Get Alias Get-Alias retrieves aliases defined in the current PowerShell session or from a specified module.
Get AppvClientPackage Issue: Getting no results when filtering by package ID.
Get AppxPackage The Get-AppxPackage command retrieves information about Appx (AppX) packages installed on a Windows system.
Get AppxProvisionedPackage The Get-AppxProvisionedPackage cmdlet retrieves information about provisioned packages on the system.
Get AuthenticodeSignature Get-AuthenticodeSignature retrieves Authenticode signatures from files, providing insights into their digital signing and authenticity.
Get BitLockerVolume Get-BitLockerVolume retrieves information about BitLocker-protected volumes on the local or remote computer.
Get Certificate Get-Certificate retrieves one or more certificates from a certificate store or location.
Get ChildItem Get-ChildItem retrieves a collection of child items (files, folders, symlinks, etc.) contained within a specified path or drive.
Get CimAssociatedInstance Get-CimAssociatedInstance retrieves associated Common Information Model (CIM) instances based on specified association classes.
Get CimClass Get-CimClass retrieves the Common Information Model (CIM) class definitions for the specified namespace or computer system.
Get CimInstance Get-CimInstance allows you to retrieve Common Information Model (CIM) instances from the local or remote systems.
Get CimSession Get-CimSession retrieves information about the Windows Management Instrumentation (WMI) sessions established by the current user.
Get Clipboard The Get-Clipboard command retrieves the contents of the system's clipboard, the temporary storage location for copied data.
Get Command The Get-Command cmdlet retrieves information about commands, functions, scripts, and aliases available in the current PowerShell session.
Get ComputerInfo The Get-ComputerInfo command allows users to retrieve detailed information about a local or remote computer system.
Get ComputerRestorePoint Get-ComputerRestorePoint retrieves information about restore points on the local or remote computers.
Get Content Get-Content retrieves the content of a specified file or set of files.
Get Counter Get-Counter retrieves performance counter data from the local computer or remote computers.
Get Credential The Get-Credential cmdlet prompts the user for credentials, such as a user name and password, and returns them as a PSCredential object.
Get Culture The Get-Culture command in PowerShell retrieves information about the current or specified culture.
Get Date The Get-Date command in PowerShell allows you to retrieve the current date and time.
Get Disk Get-Disk retrieves detailed information about physical and logical disk drives on the local and remote computers.
Get DnsClientCache Get-DnsClientCache retrieves the Domain Name System (DNS) client cache that is stored locally on the computer.
Get DnsClientServerAddress The Get-DnsClientServerAddress command retrieves the DNS client server address that is configured on the local computer.
Get DscConfiguration Get-DscConfiguration retrieves a Desired State Configuration (DSC) configuration from a specified path or repository.
Get DscLocalConfigurationManager Get-DscLocalConfigurationManager retrieves information about the Local Configuration Manager (LCM) service responsible for managing Desired State Configuration (DSC) configurations on the local computer.
Get DscResource Get-DscResource retrieves the definition of a desired state configuration (DSC) resource from the Windows Management Framework (WMF) 5.1 command line.
Get Error The Get-Error cmdlet retrieves error records from the current error stream.
Get Event Get-Event retrieves events raised by PowerShell modules.
Get Eventlog Get-Eventlog retrieves Windows Event log entries.
Get EventSubscriber The Get-EventSubscriber cmdlet retrieves a list of event subscribers from the Azure Event Grid service.
Get ExecutionPolicy The Get-ExecutionPolicy command in PowerShell retrieves the current execution policy for the local machine or a specified scope.
Get FileHash The Get-FileHash command calculates and retrieves hash values for files.
Get FormatData The Get-FormatData command in PowerShell allows you to retrieve information about the formatting options available for various data types within PowerShell.
Get Help The Get-Help command provides comprehensive information about PowerShell cmdlets, functions, scripts, and providers.
Get History Get-History retrieves a list of previously executed commands from the current PowerShell session.
Get Host The Get-Host cmdlet retrieves information about the session, environment, and PowerShell instance.
Get HotFix The Get-HotFix command retrieves information about installed hotfixes on a Windows system.
Get InitiatorPort Get-InitiatorPort retrieves information about iSCSI initiator ports installed on Windows computers.
Get InstalledModule The Get-InstalledModule command in PowerShell retrieves a list of all installed PowerShell modules, both installed in the current session and those registered in the system.
Get Item Get-Item is a powerful PowerShell command that allows users to retrieve file and folder objects from the local or remote file system.
Get ItemProperty Get-ItemProperty retrieves the values of one or more properties for a specified item, such as a file, folder, registry key, or other object.
Get ItemPropertyValue Get-ItemPropertyValue retrieves the value of a specified property for a file, folder, or other item on the file system.
Get Job Get-Job is a PowerShell cmdlet that retrieves information about running or completed jobs in the current session.
Get LocalGroup Get-LocalGroup retrieves information about local groups on the computer.
Get LocalGroupMember Get-LocalGroupMember retrieves a list of users or groups that are members of a specified local group on a Windows computer.
Get Location The Get-Location command in PowerShell retrieves the current working directory in the file system.
Get Member The Get-Member cmdlet retrieves the members (properties, methods, events, and fields) of specified objects or object types.
Get Module Get-Module is a fundamental PowerShell command that retrieves information about loaded modules.
Get NetAdapter Get-NetAdapter is a PowerShell command that allows administrators to view and manage network adapters on Windows systems.
Get NetAdapterVmq The Get-NetAdapterVmq cmdlet gets all Virtual Machine Queue (VMQ) network adapters on the local computer that can be used for Remote Direct Memory Access (RDMA) operations.
Get NetConnectionProfile Get-NetConnectionProfile retrieves information about the active network connection profiles on a computer.
Get NetFirewallRule Get-NetFirewallRule retrieves rules configured for the Windows Firewall.
Get NetIPAddress Get-NetIPAddress retrieves information about the network IP addresses assigned to a specified network interface or all interfaces on a local computer.
Get NetIPConfiguration Get-NetIPConfiguration retrieves the Internet Protocol (IP) configuration for network interfaces on the local computer or remote computers.
Get NetIPInterface Get-NetIPInterface retrieves information about the network interfaces (NICs) installed on a computer, including their IP addresses, MAC addresses, and other properties.
Get NetTCPConnection The Get-NetTCPConnection cmdlet retrieves information about active TCP connections on the local computer.
Get Package Get-Package retrieves details about installed PowerShell packages from the specified feed or repository.
Get Partition Get-Partition retrieves information about partitions on local and remote disks.
Get PfxCertificate Get-PfxCertificate is a versatile PowerShell command that enables users to retrieve and manage private key exchange (PFX) certificates stored in the Windows certificate store.
Get PhysicalDisk The Get-PhysicalDisk command in PowerShell retrieves information about physical disk drives installed in the system.
Get PnpDevice Get-PnpDevice retrieves information about Plug and Play (PnP) devices connected to the local or remote computer.
Get Printer The Get-Printer command retrieves details about printers installed on a local or remote computer.
Get PrintJob Get-PrintJob is a PowerShell cmdlet that retrieves information about print jobs managed by the local print spooler.
Get Process Get-Process provides detailed information about running processes on the local or remote computer.
Get PSBreakpoint The Get-PSBreakpoint retrieves details about PSBreakpoints in the current PowerShell session or in another session specified through the -PSSession parameter.
Get PSCallStack Get-PSCallStack provides detailed information about the current PowerShell call stack, including the active function or script, its parameters, and the chain of parent functions that led to its execution.
Get PSDrive Get-PSDrive retrieves information about PowerShell drives.
Get PSProvider The Get-PSProvider cmdlet retrieves the Windows PowerShell providers registered on the computer.
Get PSRepository Get-PSRepository retrieves information about PowerShell repositories.
Get PSSession Get-PSSession obtains details about active PowerShell sessions, both local and remote.
Get PSSessionConfiguration The Get-PSSessionConfiguration command in PowerShell allows you to retrieve information about session configurations.
Get PsSnapin Get-PsSnapin retrieves all the PowerShell snap-ins that have been loaded into the current PowerShell session.
Get Random Get-Random generates a random number or an array of random numbers within a specified range.
Get Service Get-Service retrieves and displays information about Windows services, including their status, startup type, and display name.
Get SmbConnection Get-SmbConnection retrieves information about Server Message Block (SMB) connections established on a computer.
Get SMBMapping The Get-SMBMapping cmdlet retrieves information about Server Message Block (SMB) share mappings on the local computer.
Get SmbOpenFile Get-SmbOpenFile retrieves a list of opened files on a given SMB share.
Get SmbServerConfiguration Get-SmbServerConfiguration retrieves the configuration settings for the SMB Server service on a Windows host system.
Get SmbSession Get-SmbSession retrieves information about active Server Message Block (SMB) sessions on the local computer.
Get SmbShare Get-SmbShare provides detailed information about SMB shares on a remote server.
Get SmbShareAccess Get-SmbShareAccess retrieves the access control list (ACL) of a specified Server Message Block (SMB) share.
Get StartApps The Get-StartApps command in PowerShell retrieves information about applications marked as "start apps" in Windows Settings.
Get StorageJob The Get-StorageJob command in PowerShell allows you to retrieve information about storage jobs that are running or have completed within Azure Storage.
Get TimeZone Get-TimeZone retrieves information about time zones on the local computer or remote servers.
Get TlsCipherSuite The Get-TlsCipherSuite cmdlet retrieves information about the TLS cipher suites supported by the operating system and those that are enabled or disabled for a specified port.
Get Tpm The Get-Tpm command retrieves information about the Trusted Platform Module (TPM) installed on the local system.
Get Tracesource The Get-TraceSource cmdlet retrieves trace sources registered in the current PowerShell session.
Get Transaction Get-Transaction is a PowerShell command that retrieves transaction information from Active Directory.
Get Uiculture The Get-Uiculture command in PowerShell retrieves information about the current user interface culture.
Get Unique Get-Unique is a versatile PowerShell command designed for efficiently identifying and extracting unique values from a specified input dataset.
Get Variable Get-Variable is a PowerShell command used to retrieve variables from the current scope, a specific scope, or a provider.
Get VirtualDisk Get-VirtualDisk retrieves virtual disk files from Hyper-V or Azure Stack HCI hosts.
Get Volume The Get-Volume cmdlet retrieves information about the volumes on the local or remote computers.
Get VpnConnection Get-VpnConnection retrieves information about VPN connections configured on the local computer.
Get WebApplicationMonitoringStatus Get-WebApplicationMonitoringStatus retrieves the monitoring status of a specific web application.
Get WindowsCapability Get-WindowsCapability retrieves information about the capabilities installed on a Windows system.
Get WindowsFeature Get-WindowsFeature enables you to retrieve and manage Windows features, which are optional software components that can be installed or removed to customize the functionality of Windows systems.
Get WindowsOptionalFeature The Get-WindowsOptionalFeature command retrieves information about optional Windows features and their installation status.
Get WindowsPackage Get-WindowsPackage retrieves information about installed Windows 10/11 packages and Microsoft Store apps.
Get WindowsUpdateLog Get-WindowsUpdateLog retrieves a specified Windows Update log from the local system or a remote computer.
Get WinEvent Get-WinEvent retrieves events from the Windows event logs.
Get WmiObject The Get-WmiObject command retrieves Windows Management Instrumentation (WMI) objects from the local or remote computers.
Get WSManCredSSP Get-WSManCredSSP retrieves Windows Remote Management (WinRM) Credential Security Support Provider (CredSSP) configuration information.
Get WSManInstance The Get-WSManInstance command retrieves an instance of a WS-Management resource.
Grant SmbShareAccess Grant-SmbShareAccess grants permissions to specified user accounts or security groups to access a file share on an SMB server.
Group Object

I

IF The IF command is a conditional statement in PowerShell that allows you to execute specific commands based on a specified condition.
Import Alias Import-Alias creates aliases for commands, functions, and scripts.
Import Certificate Import-Certificate adds a certificate to the current user's Personal certificate store or to a specified certificate store.
Import Clixml Import-Clixml imports a Command Line Interface Markup Language (Clixml) file, which contains a set of predefined Windows PowerShell commands.
Import Counter Import-Counter allows you to import performance counter data from a CSV file into a Performance Data Help Group (PDH) group.
Import Csv Import-Csv lets you easily import data from a comma-separated value (CSV) file into PowerShell.
Import GPO The Import-GPO cmdlet imports Group Policy Objects (GPOs) from Active Directory into the local Group Policy store.
Import Module Import-Module is a powerful PowerShell command that allows users to load external PowerShell modules into their current session.
Import PfxCertificate Import-PfxCertificate securely imports a Personal Information Exchange (PFX) certificate into the local computer's certificate store, making it available for use by applications and services.
Import PSSession Import-PSSession establishes a remote PowerShell session with a computer or device.
Import StartLayout The Import-StartLayout cmdlet in PowerShell allows you to import a custom JSON file (.json) to customize the Start Layout for Windows 10 and 11.
Initialize Disk Initialize-Disk prepares a new or existing disk for use in Windows.
Install Module Install-Module installs PowerShell modules from the PowerShell Gallery or a local path.
Install Package Install-Package is a versatile PowerShell command that simplifies the installation of NuGet packages for PowerShell modules.
Install PackageProvider The Install-PackageProvider command in PowerShell allows administrators and developers to install package providers for managing software packages from various repositories.
Install WindowsFeature Install-WindowsFeature lets you add Windows features to your system.
Invoke CimMethod Invoke-CimMethod allows you to remotely invoke a method on a Common Information Model (CIM) object.
Invoke Command Invoke-Command is a powerful PowerShell command designed to execute commands remotely on multiple target computers.
Invoke Expression Invoke-Expression evaluates and executes a specified string as a PowerShell expression.
Invoke History Invoke-History is a PowerShell command that allows you to repeat or modify previously executed commands from the command history.
Invoke Item Invoke-Item is a versatile PowerShell command that enables the execution of various actions on specified items.
Invoke Pester The Invoke-Pester command is a powerful tool for testing PowerShell scripts and modules.
Invoke RestMethod Invoke-RestMethod allows you to send HTTP requests and retrieve responses from RESTful web services within PowerShell.
Invoke WebRequest Invoke-WebRequest is a PowerShell command that enables the retrieval of web content by sending HTTP/HTTPS requests.
Invoke WmiMethod Invoke-WmiMethod invokes methods on Windows Management Instrumentation (WMI) classes to perform various operations on remote or local computers.
Invoke WSManAction

J

Job Trigger cmdlets The Job Trigger cmdlets in PowerShell manage triggers for scheduled jobs.
Join Path Join-Path concatenates two or more path segments into a single path string.

L

Limit EventLog The Limit-EventLog cmdlet limits the number of events that are returned by the Get-EventLog cmdlet.

M

Measure Command Measure-Command is a PowerShell command that measures the time it takes for a specified command or script block to complete.
Measure Object Measure-Object calculates and displays statistical information about the properties of objects in a collection.
MessageBox The MessageBox command displays a standard Windows message box, providing a simple way to interact with users through the PowerShell console.
Mount DiskImage The Mount-DiskImage cmdlet mounts a disk image file as a read-only virtual disk.
Mount WindowsImage Mount-WindowsImage mounts a Windows image file as a virtual disk and assigns a drive letter, making the contents of the image accessible as if they were a physical drive.
Move Item The Move-Item cmdlet allows you to move files and folders within and between drives.
Move ItemProperty The Move-ItemProperty cmdlet moves a property from one item to another.

N

New Alias New-Alias creates an alias, which is a shortcut for a frequently used command or script.
New CimInstance The New-CimInstance command creates a new instance of a CIM (Common Information Model) class.
New CimSession New-CimSession creates a new Common Information Model (CIM) session that establishes a connection to a remote computer for managing and querying WMI resources.
New CimSessionOption New-CimSessionOption creates a new Common Information Model (CIM) session option object.
New DSCCheckSum New-DSCCheckSum generates a checksum of a file or directory for use in a Desired State Configuration (DSC) configuration.
New Event New-Event is a PowerShell command used to create a new custom event in the event log.
New Eventlog New-EventLog creates a new event log.
New Guid New-Guid generates a new globally unique identifier (GUID) in the form of a 128-bit number represented as a hexadecimal string.
New Item The New-Item command creates a new item in the specified location, such as a file, folder, registry key, or alias.
New ItemProperty New-ItemProperty creates a new property on a given item.
New LocalGroup The New-LocalGroup cmdlet creates a new local group on the specified computer.
New LocalUser The New-LocalUser cmdlet in PowerShell allows you to create a new local user account on the computer.
New Module New-Module creates a new PowerShell module.
New NetFirewallRule New-NetFirewallRule creates a Windows Firewall rule for an individual application or port.
New NetIPAddress The New-NetIPAddress cmdlet creates a new IP address on a specified network interface, considering network address translation (NAT) settings.
New NetLbfoTeam The New-NetLbfoTeam command creates a new Network Load Balancing and Failover (LBFO) team on servers running Windows Server 2012 R2 or later.
New NetNat New-NetNat creates a new network address translation (NAT) rule for IPv4 or IPv6 traffic on a local computer.
New NetRoute New-NetRoute creates or modifies a static route in the routing table.
New Object New-Object is a foundational PowerShell command used to instantiate objects from a specified type or class definition.
New Partition The New-Partition cmdlet creates new partitions on an existing disk in the system.
New PSDrive New-PSDrive creates a PowerShell drive that provides convenient access to a file system, registry, or other data source.
New PSSession New-PSSession establishes a remote PowerShell session to a specified computer.
New PSSessionConfigurationFile New-PSSessionConfigurationFile creates a new PowerShell session configuration file, allowing customization of session behavior for remote PowerShell sessions.
New PSSessionOption New-PSSessionOption creates a new session option object that defines custom configuration settings for remote PowerShell sessions.
New SelfSignedCertificate The New-SelfSignedCertificate command creates a self-signed certificate and adds it to the local certificate store.
New Service The New-Service command in PowerShell allows you to create and configure new services on a Windows system.
New SmbMapping New-SmbMapping establishes a connection to an SMB (Server Message Block) share, creating a mapping between a local drive letter and the remote network path.
New SmbShare The New-SmbShare command creates a new Server Message Block (SMB) share on a Windows Server.
New StoragePool New-StoragePool creates a new storage pool in an HCI environment.
New Timespan The New-TimeSpan command in PowerShell creates a TimeSpan object representing an interval of time.
New Variable The New-Variable command creates and initializes a new variable in the current PowerShell scope.
New VirtualDisk New-VirtualDisk creates a new virtual hard disk (VHD or VHDX) or a mounted image located in a remote location.
New Volume The New-Volume command in PowerShell creates a new logical disk volume on one or more physical disks.
New WebServiceProxy The New-WebServiceProxy command generates a proxy class and configuration files for a specified web service.
New WSManInstance The New-WSManInstance cmdlet creates a WS-Management (WSMan) instance that can be used to manage remote computers.
New WSManSessionOption The New-WSManSessionOption command creates a new session option object for use with the New-WSManSession cmdlet.

O

Optimize Volume Optimize-Volume is a PowerShell command that optimizes the performance of storage volumes by defragmenting and recompressing the data stored on them.
Out Default The Out-Default cmdlet is a primary output cmdlet for extensible output.
Out File The Out-File cmdlet in PowerShell exports the specified objects to a file.
Out GridView The Out-GridView command in PowerShell creates an interactive graphical window that allows you to view and interact with tabular data.
Out Host The Out-Host command displays output to the console window of the current PowerShell session.
Out Null Out-Null is a PowerShell command used to suppress the output of another command or script.
Out Printer Out-Printer sends the contents of an object to a specified printer for printing.
Out String Out-String is a PowerShell cmdlet for converting input into a string.

P

Param Param is a PowerShell command used to create parameters for functions and scripts.
Pause The Pause command in PowerShell is used to suspend execution of the current script or function, allowing the user to review the current state or manually interact with the system before continuing.
Pop Location Pop-Location removes the current location from the PowerShell stack, restoring the previous location.
Powershell The Powershell command is a powerful tool for executing PowerShell commands within another PowerShell session or script.
Process The Process command in PowerShell allows you to manage running processes on the local or remote computers.
Push Location Push-Location is a PowerShell command used to temporarily change the current working directory.

R

Read Host Read-Host is a PowerShell command that reads a line of text from the host, usually the console window, and returns it as a string.
Receive Job Receive-Job is a PowerShell command used to retrieve the results of a background job that was previously created with Start-Job.
Receive PSSession Receive-PSSession establishes a remote communication channel with a running PowerShell session and receives output from commands executed on the remote computer.
Register CimIndicationEvent The Register-CimIndicationEvent cmdlet registers a handler for Common Information Model (CIM) indication events.
Register EngineEvent The Register-EngineEvent command registers an event for the workflow engine.
Register ObjectEvent The Register-ObjectEvent cmdlet is designed to facilitate advanced event handling for .NET objects in PowerShell.
Register PSRepository Register-PSRepository registers a PowerShell repository from a specified location into the list of trusted repositories.
Register PSSessionConfiguration Register-PSSessionConfiguration registers a PowerShell session configuration on the local computer.
Register WmiEvent Register-WmiEvent registers a PowerShell script to be executed when a specified Windows Management Instrumentation (WMI) event is raised.
Remove AppxPackage Remove-AppxPackage removes one or more AppX applications from the system, including all associated data and registry settings.
Remove AppxProvisionedPackage Remove-AppxProvisionedPackage uninstalls a provisioned app package from the current user's account.
Remove BitLockerKeyProtector The Remove-BitLockerKeyProtector command removes a key protector from a BitLocker-protected drive or volume.
Remove CimInstance Remove-CimInstance removes one or more instances of a specified Common Information Model (CIM) class from the local computer.
Remove CimSession Remove-CimSession removes a previously created Windows Remote Management (WinRM) session.
Remove Computer Remove-Computer removes a computer object from Active Directory.
Remove Event The Remove-Event cmdlet removes event registrations from a specified object.
Remove EventLog The Remove-EventLog cmdlet removes an event log from the local computer or a remote computer.
Remove Item Remove-Item is a PowerShell command that deletes specified items from the file system, including files, directories, and symbolic links.
Remove ItemProperty The Remove-ItemProperty removes one or more properties from the specified item.
Remove Job Remove-Job stops and removes a specified background job from the session.
Remove LocalGroup Remove-LocalGroup removes local groups from a target computer.
Remove Module Remove-Module unloads and removes a PowerShell module from the current PowerShell session.
Remove NetIPAddress The Remove-NetIPAddress command removes IP addresses from an existing network interface.
Remove PhysicalDisk The Remove-PhysicalDisk command removes the specified physical disk from the system, making it inaccessible to the operating system.
Remove Printer Remove-Printer is a PowerShell command that removes a specified printer from the list of available printers on a computer running Windows.
Remove PSBreakpoint Remove-PSBreakpoint removes breakpoints set during debugging sessions in the PowerShell Integrated Scripting Environment (ISE).
Remove PSDrive Remove-PSDrive removes a PowerShell drive from the current PowerShell session.
Remove PSSession Remove-PSSession disconnects and removes a PowerShell remote session established using New-PSSession.
Remove PSSnapin Remove-PSSnapin removes a PowerShell Snap-in from the current session.
Remove SmbMapping The Remove-SmbMapping cmdlet removes Server Message Block (SMB) network file share mappings from a computer, including offline mappings.
Remove SmbShare Remove-SmbShare removes a file share from a Windows Server.
Remove Variable The Remove-Variable command in PowerShell removes variables from the current scope.
Remove WindowsCapability Remove-WindowsCapability removes Windows capabilities either completely or in portions, allowing you to disable or uninstall preinstalled Windows features.
Remove WindowsPackage Remove-WindowsPackage removes one or more Windows packages from a computer.
Remove WmiObject Remove-WmiObject is a PowerShell command that removes specified WMI objects from the WMI repository.
Remove WSManInstance Remove-WSManInstance removes a registered Windows Remote Management (WinRM) instance from the local computer.
Rename Computer Rename-Computer is a PowerShell command used to modify the name of a computer in an Active Directory domain or workgroup.
Rename Item Rename-Item is a versatile PowerShell command used to rename files, folders, and other items in the Windows file system.
Rename ItemProperty Rename-ItemProperty is a PowerShell command used to rename properties of objects in the file system or in a collection of objects.
Rename LocalGroup Rename-LocalGroup renames local groups on the computer.
Repair Volume The Repair-Volume cmdlet repairs logical and physical errors on a volume.
Repair WindowsImage The Repair-WindowsImage command is part of the Windows Recovery Environment (WinRE) and is used to repair Windows boot problems or file system corruption.
Reset ComputerMachinePassword Reset-ComputerMachinePassword is a PowerShell command that allows you to reset the local computer machine account password.
Resize Partition The Resize-Partition command in PowerShell enables you to modify the size of existing partitions on a physical or virtual disk.
Resolve DnsName The Resolve-DnsName command is a powerful tool in PowerShell that enables users to resolve DNS names and obtain DNS record information.
Resolve Path Resolve-Path is a PowerShell command that calculates the full path to a file, directory, or command.
Restart Computer The Restart-Computer command in PowerShell is used to restart a local or remote computer.
Restart Service The Restart-Service command in PowerShell allows you to stop and then start a specified Windows service, ensuring the service is running smoothly.
Restore Computer The Restore-Computer command in PowerShell restores a system to a previously created restore point.
Restore GPO Restore-GPO is a PowerShell command that allows you to restore a Group Policy Object (GPO) from a backup.
Resume Bitlocker The Resume-Bitlocker command is used to resume encryption of a BitLocker-protected drive that was paused for modifications or other operations.
Resume Job The Resume-Job command in PowerShell allows you to resume a suspended job or job that was paused due to an error.
Resume Service The Resume-Service command in PowerShell is used to restart a stopped service on a local or remote computer.
Return The Return command in PowerShell allows you to prematurely exit a script or function and pass a value back to the caller.
Run Call Run/Call is a PowerShell command that allows you to execute other programs or scripts within a PowerShell session.

S

Save Module Save-Module exports a PowerShell module from memory to a file on disk.
Scheduler cmdlets Scheduler cmdlets manage scheduled tasks in Windows PowerShell.
Select Object
Select String Select-String is a versatile PowerShell command used to search for and manipulate strings within files, variables, or input streams.
Select XML Select-XML is a PowerShell command that enables users to search and extract XML data, elements, and attributes from XML documents and return the results as XML or text objects.
Send MailMessage Send-MailMessage lets you send email messages by transmitting SMTP commands to the specified SMTP server.
Set Acl Set-Acl modifies the Access Control List (ACL) of files, folders, and registry keys.
Set Alias Creates, modifies, or removes aliases.
Set AuthenticodeSignature The Set-AuthenticodeSignature command adds or updates the Authenticode digital signature to a specified file.
Set CimInstance The Set-CimInstance cmdlet modifies the properties of an existing Common Information Model (CIM) instance.
Set Clipboard The Set-Clipboard command sets the text, HTML, or image data to the system clipboard.
Set Content The Set-Content cmdlet in PowerShell is used to modify the contents of a file.
Set Culture Set-Culture is a PowerShell command that allows users to change the current culture for the running session.
Set Date The Set-Date command in PowerShell allows you to modify the system's date and time.
Set Disk The Set-Disk cmdlet in PowerShell modifies the properties of an existing data, dynamic, or read-only disk on a Storage Spaces Direct (S2D) cluster.
Set DnsClientServerAddress Set-DnsClientServerAddress configures the DNS client settings on a local or remote computer.
Set ExecutionPolicy The Set-ExecutionPolicy command allows you to configure the execution policy for PowerShell scripts.
Set Item Set-Item is a PowerShell command that modifies the value of a property for a specified item.
Set ItemProperty The Set-ItemProperty cmdlet modifies the properties of items in the file system or the registry.
Set LocalGroup Set-LocalGroup allows management of local groups on a computer system.
Set LocalUser The Set-LocalUser cmdlet modifies the properties of local user accounts on the computer where the command is executed.
Set Location Set-Location is a dynamic shorthand command for navigating the file system in PowerShell.
Set MpPreference Set-MpPreference configures settings for Microsoft Defender Antivirus.
Set NetAdapter Set-NetAdapter modifies the settings of network adapters on local and remote computers.
Set NetAdapterVmq Set-NetAdapterVmq enables or disables Virtual Machine Queue (VMQ) on a specified network adapter.
Set NetConnectionProfile The Set-NetConnectionProfile cmdlet modifies existing network connection profiles on the local computer.
Set NetFirewallProfile Set-NetFirewallProfile configures settings for the Windows Firewall profiles on your local computer.
Set NetFirewallRule The Set-NetFirewallRule command modifies a firewall rule on the local or specified computer.
Set NetIPAddress Set-NetIPAddress is a powerful PowerShell command used to configure IP addresses for network interfaces.
Set NetIPInterface The Set-NetIPInterface command modifies IP address, subnet, and other network-related configurations of network interfaces on a Windows system.
Set NetTCPSetting The Set-NetTCPSetting command modifies the Transmission Control Protocol (TCP) settings on a network interface.
Set Partition The Set-Partition cmdlet modifies properties of a partition on a physical disk.
Set PhysicalDisk Set-PhysicalDisk configures various settings and properties for physical disk drives in a Windows environment.
Set Printer Set-Printer modifies the settings and properties of a printer, such as its port, default print settings, and sharing options.
Set PSBreakpoint Set-PSBreakpoint is a PowerShell command used to set breakpoints in the current script or module.
Set PSdebug The Set-PSDebug command in PowerShell allows you to control debug settings for scripts and commands.
Set PSRepository Set-PSRepository modifies existing PowerShell repositories.
Set PSSessionConfiguration The Set-PSSessionConfiguration cmdlet modifies the configuration of an existing PowerShell session configuration.
Set Service The Set-Service cmdlet in PowerShell allows you to configure various aspects of a Windows service.
Set SmbClientConfiguration Set-SmbClientConfiguration configures the SMB client behavior on the local computer.
Set SmbServerConfiguration The Set-SmbServerConfiguration command modifies the configuration settings of the Server Message Block (SMB) server on the local computer.
Set SmbShare Set-SmbShare modifies the properties of an existing SMB share.
Set StrictMode Set-StrictMode elevates the PowerShell execution context to "StrictMode," enabling stricter error handling and enhancing code reliability.
Set TimeZone Set-TimeZone assigns a specified time zone to the system, changing the display and operation of time-related functions to match the time in that zone.
Set Tracesource Set-Tracesource configures settings for tracing in a .NET assembly.
Set Variable Set-Variable assigns a value to a specified variable in the current PowerShell session.
Set VpnConnection The Set-VpnConnection command is used to modify existing VPN connections on the local computer.
Set WinSystemLocale Set-WinSystemLocale modifies the system display language and regional settings for Windows systems.
Set WinUserLanguageList
Set WmiInstance Set-WmiInstance dynamically modifies the properties of an existing Windows Management Instrumentation (WMI) instance.
Set WSManInstance Set-WSManInstance manages WS-Management (WSMan) instances, which represent remote server connections.
Set WSManQuickConfig The Set-WSManQuickConfig command is used to quickly configure Windows Remote Management (WinRM) settings on a local or remote computer.
Show Command Show-Command is a PowerShell cmdlet that displays detailed information about a specified command, including its syntax, parameters, and examples.
Show EventLog The Show-EventLog cmdlet displays the specified event logs.
Sort Object Sort-Object is a PowerShell command used to sort objects in a collection based on specified properties.
Split Path Split-Path is a PowerShell command that parses a specified path into its individual components, such as the drive, directory, filename, and extension.
Start DscConfiguration Start-DscConfiguration initiates a Desired State Configuration (DSC) configuration run on a target node.
Start Job Start-Job initiates a new background job in a PowerShell session and returns an object representing the job.
Start Process Start-Process launches a new process in the system, allowing you to execute external programs, scripts, or commands.
Start Service Start-Service is a PowerShell command used to initiate the execution of a Windows service.
Start Sleep Start-Sleep is a PowerShell command that suspends the execution of the current script or command for a specified duration, providing a convenient way to introduce delays or pauses into your workflows.
Start Transaction Start-Transaction initiates a new transaction, a unit of work executed as an atomic operation within a session.
Start Transcript Get-Transcript: Retrieve the contents of a transcript session.
Stop Computer The Stop-Computer cmdlet gracefully shuts down the computer it's run on.
Stop Job Stop-Job halts the execution of a running PowerShell job.
Stop Process The Stop-Process command forcibly halts running processes in the local or remote machines.
Stop Service The Stop-Service command halts a specified service, causing it to stop running.
Stop Transcript Stop-Transcript stops the recording of a PowerShell transcript (.ps1xml file) that was initiated with Start-Transcript.
Suspend BitLocker
Suspend Job The Suspend-Job cmdlet stops a running job and puts it into a suspended state.
Suspend Service Suspend-Service is a powerful PowerShell command that allows you to temporarily stop a running service without completely terminating it.
Switch Switch is a powerful PowerShell command that allows you to manage and manipulate network switches and other network devices.

T

Tee Object Tee-Object is a PowerShell command that creates a duplicate of the input objects and sends them to the pipeline and a specified file or command.
Test ComputerSecureChannel Test-ComputerSecureChannel verifies the integrity of the Secure Channel (SChannel) on a specified computer.
Test Connection Test-Connection is a PowerShell command used to check network connectivity and determine whether a remote host or resource is reachable.
Test NetConnection Test-NetConnection is a robust PowerShell command that evaluates network connectivity by sending ICMP or TCP packets to a remote host.
Test Path The Test-Path command verifies the existence of a specified path on the system.
Test WSMan Test-WSMan is a PowerShell command that tests if a remote computer is configured to use the Windows Remote Management (WS-Management) service.
Trace Command Trace-Command is a PowerShell command that enables tracing and debugging of other PowerShell commands and scripts.
Trap The Trap command in PowerShell is designed to handle and manage errors that occur within a script block.
Try … Catch The Try ...

U

Unblock File Unblock-File is a PowerShell command that removes the "blocked" attribute from files downloaded from the internet.
Undo Transaction Undo-Transaction reverses the specified transaction in the current session.
Uninstall Module The Uninstall-Module cmdlet removes a PowerShell module and its dependent modules from the computer.
Uninstall Package Uninstall-Package removes installed NuGet packages from the current project.
Uninstall WindowsFeature The Uninstall-WindowsFeature command removes optional Windows features from a system.
Unregister Event The Unregister-Event cmdlet removes an event registration for a specified event source.
Unregister PSSessionConfiguration The Unregister-PSSessionConfiguration cmdlet removes a registered PowerShell session configuration from the local computer.
Update Formatdata Update-Formatdata updates the formatting data for a specified format provider.
Update Help Update-Help retrieves and updates help files for PowerShell cmdlets, functions, modules, and providers.
Update List The Update-List command updates the contents of a given list in a SharePoint site.
Update Module Update-Module is a PowerShell command that checks for available updates for installed PowerShell modules and installs them if available.
Update TypeData The Update-Typedata cmdlet modifies type data, allowing administrators to manage and customize type definitions stored in the Azure Data Catalog.
Use Transaction Use-Transaction establishes a transaction scope to ensure that a set of PowerShell commands is executed as a single atomic unit of work.

W

Wait Event Wait-Event is a PowerShell command that suspends the current script's execution until an event occurs.
Wait Job Wait-Job is a PowerShell command that suspends execution of the current script until a specified job completes.
Wait Process Wait-Process is a PowerShell command that enables users to pause a running script or command until a specified process or set of processes complete execution.
Where Object Where-Object filters objects in a collection based on a specified condition.
Wheremethod The Where-Object (or Where) command in PowerShell is a powerful filtering tool that allows you to select specific objects from a collection based on a given condition.
While The While command in PowerShell is a loop construct that executes a block of code repeatedly while a specified condition remains true.
Write Debug The Write-Debug cmdlet outputs debug messages to the debug stream.
Write Error The Write-Error command in PowerShell allows you to write an error message to the console, redirect it to a variable, or log it to a file.
Write EventLog The Write-EventLog command allows you to write custom events to the Windows Event Log.
Write Host Write-Host is a PowerShell command that sends messages to the host console, providing a convenient way to display output and debug information.
Write Information Write-Information displays information messages in the PowerShell console with customizable formatting options.
Write Output Write-Output is a fundamental command in PowerShell that allows users to output text or objects to the console or a file.
Write Progress Write-Progress updates the progress of a long-running operation in the PowerShell console.
Write Verbose Write-Verbose outputs verbose diagnostic information to the host, typically used for debugging and troubleshooting purposes.
Write Warning The Write-Warning command in PowerShell generates and outputs a warning message to the console or a specified output stream.

Z

Zipfile The ZipFile command compresses and archives files and directories into a single ZIP archive, offering reliable file compression, secure data storage, and convenient file transfer.