Microsoft.​Power​Shell.​Utility

This section contains the help topics for the cmdlets that are installed with Windows PowerShell® Utility module, Microsoft.PowerShell.Utility. The Utility module contains cmdlets that manage the basic features of Windows PowerShell.

Microsoft.PowerShell.Utility

Add-​Member

Adds custom properties and methods to an instance of a Windows PowerShell object.

Add-​Type

Adds a Microsoft .NET Framework type (a class) to a Windows 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.

Convert​From-​Csv

Converts object properties in comma-separated value (CSV) format into CSV versions of the original objects.

Convert​From-​Json

Converts a JSON-formatted string to a custom object.

Convert​From-​Sddl​String
Convert​From-​String

Extracts and parses structured objects from string content.

Convert​From-​String​Data

Converts a string containing one or more key and value pairs to a hash table.

Convert​To-​Csv

Converts objects into a series of comma-separated value (CSV) variable-length strings.

Convert​To-​Html

Converts Microsoft .NET Framework objects into HTML that can be displayed in a Web browser.

Convert​To-​Json

Converts an object to a JSON-formatted string.

Convert​To-​Xml

Creates an XML-based representation of an object.

Debug-​Runspace

Starts an interactive debugging session with a runspace.

Disable-​PS​Breakpoint

Disables the breakpoints in the current console.

Disable-​Runspace​Debug

Disables debugging on one or more runspaces, and releases any pending debugger stop.

Enable-​PS​Breakpoint

Enables the breakpoints in the current console.

Enable-​Runspace​Debug

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 comma-separated (CSV) strings and saves the strings in a CSV file.

Export-​Format​Data

Saves formatting data from the current session in a formatting file.

Export-​PS​Session

Imports commands from another session and saves them in a Windows 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-​Event​Subscriber

Gets the event subscribers in the current session.

Get-​File​Hash

Computes the hash value for a file by using a specified hash algorithm.

Get-​Format​Data

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-​PS​Breakpoint

Gets the breakpoints that are set in the current session.

Get-​PS​Call​Stack

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 Windows PowerShellhost process.

Get-​Runspace​Debug

Shows runspace debugging options.

Get-​Trace​Source

Gets Windows PowerShell components that are instrumented for tracing.

Get-​Type​Data

Gets the extended type data in the current session.

Get-​UI​Culture

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 Windows PowerShell.

Import-​Csv

Creates table-like custom objects from the items in a CSV file.

Import-​Localized​Data

Imports language-specific data into scripts and functions based on the UI culture that is selected for the operating system.

Import-​PS​Session

Imports commands from another session into the current session.

Import-​Power​Shell​Data​File
Invoke-​Expression

Runs commands or expressions on the local computer.

Invoke-​Rest​Method

Sends an HTTP or HTTPS request to a RESTful web service.

Invoke-​Web​Request

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-​Temporary​File

Creates a temporary file.

New-​Time​Span

Creates a TimeSpan object.

New-​Variable

Creates a new variable.

Out-​File

Sends output to a file.

Out-​Grid​View

Sends output to an interactive table in a separate window.

Out-​Printer

Sends output to a printer.

Out-​String

Sends objects to the host as a series of strings.

Read-​Host

Reads a line of input from the console.

Register-​Engine​Event

Subscribes to events that are generated by the Windows PowerShell engine and by the New-Event cmdlet.

Register-​Object​Event

Subscribes to the events that are generated by a Microsoft .NET Framework object.

Remove-​Event

Deletes events from the event queue.

Remove-​PS​Breakpoint

Deletes breakpoints from the current console.

Remove-​Type​Data

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-​Mail​Message

Sends an email message.

Set-​Alias

Creates or changes an alias for a cmdlet or other command element in the current Windows PowerShell session.

Set-​Date

Changes the system time on the computer to a time that you specify.

Set-​PS​Breakpoint

Sets a breakpoint on a line, command, or variable.

Set-​Trace​Source

Configures, starts, and stops a trace of Windows PowerShell components.

Set-​Variable

Sets the value of a variable.

Show-​Command

Creates Windows PowerShell commands in a graphical command 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-​Format​Data

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-​Type​Data

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 Windows PowerShell handles information stream data for a command.

Write-​Output

Sends the specified objects to the next command in the pipeline.

Write-​Progress

Displays a progress bar within a Windows PowerShell command window.

Write-​Verbose

Writes text to the verbose message stream.

Write-​Warning

Writes a warning message.