Table of contents
ISE
TOC
Collapse the table of content
Expand the table of content

Microsoft.PowerShell.Utility Module

JuanPablo Jofre|Last Updated: 12/14/2016
|
3 Contributors

Description

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 Cmdlets

Add-Member

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

Add-Type

Adds a.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.

ConvertFrom-Csv

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

ConvertFrom-Json

Converts a JSON-formatted string to a custom object.

ConvertFrom-SddlString

ConvertFrom-String

Extracts and parses structured objects from string content.

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) variable-length 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.

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

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

Get-RunspaceDebug

Shows runspace debugging options.

Get-TraceSource

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

Import-Csv

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

Import-LocalizedData

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

Import-PowerShellDataFile

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

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 Windows 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 element in the current Windows 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 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-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 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.

© 2017 Microsoft