Microsoft.PowerShell.Utility
This section contains the help topics for the cmdlets that are installed with the Microsoft.PowerShell.Utility module. This module contains cmdlets that manage the basic features of PowerShell.
Add-Member |
Adds custom properties and methods to an instance of a PowerShell object. |
Add-Type |
Adds a Microsoft .NET class to a PowerShell session. |
Clear-Variable |
Deletes the value of a variable. |
Compare-Object |
Compares two sets of objects. |
Convert-String |
Formats a string to match examples. |
ConvertFrom-Csv |
Converts object properties in character-separated value (CSV) format into CSV versions of the original objects. |
ConvertFrom-Json |
Converts a JSON-formatted string to a custom object. |
ConvertFrom-SddlString |
Converts a SDDL string to a custom object. |
ConvertFrom-String |
Extracts and parses structured properties from string content. |
ConvertFrom-StringData |
Converts a string containing one or more key and value pairs to a hash table. |
ConvertTo-Csv |
Converts .NET objects into a series of character-separated value (CSV) strings. |
ConvertTo-Html |
Converts .NET objects into HTML that can be displayed in a Web browser. |
ConvertTo-Json |
Converts an object to a JSON-formatted string. |
ConvertTo-Xml |
Creates an XML-based representation of an object. |
Debug-Runspace |
Starts an interactive debugging session with a runspace. |
Disable-PSBreakpoint |
Disables the breakpoints in the current console. |
Disable-RunspaceDebug |
Disables debugging on one or more runspaces, and releases any pending debugger stop. |
Enable-PSBreakpoint |
Enables the breakpoints in the current console. |
Enable-RunspaceDebug |
Enables debugging on runspaces where any breakpoint is preserved until a debugger is attached. |
Export-Alias |
Exports information about currently defined aliases to a file. |
Export-Clixml |
Creates an XML-based representation of an object or objects and stores it in a file. |
Export-Csv |
Converts objects into a series of character-separated value (CSV) strings and saves the strings to a file. |
Export-FormatData |
Saves formatting data from the current session in a formatting file. |
Export-PSSession |
Exports commands from another session and saves them in a PowerShell module. |
Format-Custom |
Uses a customized view to format the output. |
Format-Hex |
Displays a file or other input as hexadecimal. |
Format-List |
Formats the output as a list of properties in which each property appears on a new line. |
Format-Table |
Formats the output as a table. |
Format-Wide |
Formats objects as a wide table that displays only one property of each object. |
Get-Alias |
Gets the aliases for the current session. |
Get-Culture |
Gets the current culture set in the operating system. |
Get-Date |
Gets the current date and time. |
Get-Event |
Gets the events in the event queue. |
Get-EventSubscriber |
Gets the event subscribers in the current session. |
Get-FileHash |
Computes the hash value for a file by using a specified hash algorithm. |
Get-FormatData |
Gets the formatting data in the current session. |
Get-Host |
Gets an object that represents the current host program. |
Get-Member |
Gets the properties and methods of objects. |
Get-PSBreakpoint |
Gets the breakpoints that are set in the current session. |
Get-PSCallStack |
Displays the current call stack. |
Get-Random |
Gets a random number, or selects objects randomly from a collection. |
Get-Runspace |
Gets active runspaces within a PowerShell host process. |
Get-RunspaceDebug |
Shows runspace debugging options. |
Get-TraceSource |
Gets PowerShell components that are instrumented for tracing. |
Get-TypeData |
Gets the extended type data in the current session. |
Get-UICulture |
Gets the current UI culture settings in the operating system. |
Get-Unique |
Returns unique items from a sorted list. |
Get-Variable |
Gets the variables in the current console. |
Group-Object |
Groups objects that contain the same value for specified properties. |
Import-Alias |
Imports an alias list from a file. |
Import-Clixml |
Imports a CLIXML file and creates corresponding objects in PowerShell. |
Import-Csv |
Creates table-like custom objects from the items in a character-separated value (CSV) file. |
Import-LocalizedData |
Imports language-specific data into scripts and functions based on the UI culture that's selected for the operating system. |
Import-PowerShellDataFile |
Imports values from a |
Import-PSSession |
Imports commands from another session into the current session. |
Invoke-Expression |
Runs commands or expressions on the local computer. |
Invoke-RestMethod |
Sends an HTTP or HTTPS request to a RESTful web service. |
Invoke-WebRequest |
Gets content from a web page on the internet. |
Measure-Command |
Measures the time it takes to run script blocks and cmdlets. |
Measure-Object |
Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text. |
New-Alias |
Creates a new alias. |
New-Event |
Creates a new event. |
New-Guid |
Creates a GUID. |
New-Object |
Creates an instance of a Microsoft .NET Framework or COM object. |
New-TemporaryFile |
Creates a temporary file. |
New-TimeSpan |
Creates a TimeSpan object. |
New-Variable |
Creates a new variable. |
Out-File |
Sends output to a file. |
Out-GridView |
Sends output to an interactive table in a separate window. |
Out-Printer |
Sends output to a printer. |
Out-String |
Outputs input objects as a string. |
Read-Host |
Reads a line of input from the console. |
Register-EngineEvent |
Subscribes to events that are generated by the PowerShell engine and by the |
Register-ObjectEvent |
Subscribes to the events that are generated by a Microsoft .NET Framework object. |
Remove-Event |
Deletes events from the event queue. |
Remove-PSBreakpoint |
Deletes breakpoints from the current console. |
Remove-TypeData |
Deletes extended types from the current session. |
Remove-Variable |
Deletes a variable and its value. |
Select-Object |
Selects objects or object properties. |
Select-String |
Finds text in strings and files. |
Select-Xml |
Finds text in an XML string or document. |
Send-MailMessage |
Sends an email message. |
Set-Alias |
Creates or changes an alias for a cmdlet or other command in the current PowerShell session. |
Set-Date |
Changes the system time on the computer to a time that you specify. |
Set-PSBreakpoint |
Sets a breakpoint on a line, command, or variable. |
Set-TraceSource |
Configures, starts, and stops a trace of PowerShell components. |
Set-Variable |
Sets the value of a variable. Creates the variable if one with the requested name does not exist. |
Show-Command |
Displays PowerShell command information in a graphical window. |
Sort-Object |
Sorts objects by property values. |
Start-Sleep |
Suspends the activity in a script or session for the specified period of time. |
Tee-Object |
Saves command output in a file or variable and also sends it down the pipeline. |
Trace-Command |
Configures and starts a trace of the specified expression or command. |
Unblock-File |
Unblocks files that were downloaded from the internet. |
Unregister-Event |
Cancels an event subscription. |
Update-FormatData |
Updates the formatting data in the current session. |
Update-List |
Adds items to and removes items from a property value that contains a collection of objects. |
Update-TypeData |
Updates the extended type data in the session. |
Wait-Debugger |
Stops a script in the debugger before running the next statement in the script. |
Wait-Event |
Waits until a particular event is raised before continuing to run. |
Write-Debug |
Writes a debug message to the console. |
Write-Error |
Writes an object to the error stream. |
Write-Host |
Writes customized output to a host. |
Write-Information |
Specifies how PowerShell handles information stream data for a command. |
Write-Output |
Writes the specified objects to the pipeline. |
Write-Progress |
Displays a progress bar within a PowerShell command window. |
Write-Verbose |
Writes text to the verbose message stream. |
Write-Warning |
Writes a warning message. |
PowerShell feedback
PowerShell is an open source project. Select a link to provide feedback: