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.

Microsoft.PowerShell.Utility

Add-Member

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

Add-Type

Adds a Microsoft .NET Framework class in a PowerShell session.

Clear-Variable

Deletes the value of a variable.

Compare-Object

Compares two sets of objects.

ConvertFrom-Csv

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

ConvertFrom-Json

Converts a JSON-formatted string to a custom object or a hash table.

ConvertFrom-StringData

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

ConvertTo-Csv

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

ConvertTo-Html

Converts Microsoft .NET Framework 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.

Disable-PSBreakpoint

Disables the breakpoints in the current console.

Enable-PSBreakpoint

Enables the breakpoints in the current console.

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 value (CSV) strings and saves the strings to a

Export-FormatData

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

Export-PSSession

Imports commands from another session and saves them in a Windows PowerShell module.

Format-Custom

Uses a customized view to format the output.

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-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 comma-separated value (CSV) file.

Import-LocalizedData

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

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

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-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

Sends objects to the host as a series of strings.

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 New-Event cmdlet.

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.

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-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-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-Output

Sends the specified objects to the next command in 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.