Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Windows PowerShell 5.0
This section contains the help topics for the cmdlets that are installed with Windows PowerShell Microsoft.PowerShell.Utility module. The Utility module contains cmdlets that manage the basic features of Windows PowerShell.
Utility Cmdlets
Name | Description |
---|---|
Adds a user-defined custom member to an instance of a Windows PowerShell object. |
|
Adds a .NET type (a class) to a Windows PowerShell session. |
|
Deletes the value of a variable. |
|
Compares two sets of objects. |
|
Converts object properties in CSV format into CSV versions of the original objects. |
|
Converts a JSON-formatted string to a custom object. |
|
Converts a string containing one or more "name=value" pairs to a hash table. |
|
Converts .NET objects into a series of comma-separated, variable-length (CSV) strings. |
|
Converts .NET objects into HTML that can be displayed in a Web browser. |
|
Converts an object to a JSON-formatted string. |
|
Creates an XML-based representation of an object. |
|
Disables the breakpoints in the current console. |
|
Enables the breakpoints in the current console. |
|
Exports information about currently-defined aliases to a file. |
|
Creates an XML-based representation of an object or objects and stores it in a file. |
|
Converts .NET objects into a series of comma-separated, variable-length (CSV) strings and saves the strings in a CSV file. |
|
Saves formatting data from the current session in a formatting file. |
|
Saves commands from another session in a module file. |
|
Uses a customized view to format the output. |
|
Formats the output as a list of properties in which each property appears on a new line. |
|
Formats the output as a table. |
|
Formats objects as a wide table that displays only one property of each object. |
|
Gets the aliases for the current session. |
|
Gets the culture currently set in the operating system. |
|
Gets the current date and time. |
|
Gets the events in the event queue. |
|
Gets the event subscribers in the current session. |
|
Gets the hash value for a file by using a specified hash algorithm. |
|
Gets the formatting data in the current session. |
|
Gets an object that represents the current host program. |
|
Gets the properties and methods of objects. |
|
Gets the breakpoints set in the current console. |
|
Displays the current call stack. |
|
Gets a random number or selects objects randomly from a collection. |
|
Gets the Windows PowerShell components that are instrumented for tracing. |
|
Gets the extended type data in the current session. |
|
Gets the current user interface culture set in the operating system. |
|
Returns the unique items from a sorted list. |
|
Gets the variables in the current console. |
|
Groups objects that contain the same value for specified properties. |
|
Imports an alias list from a file. |
|
Imports a CLIXML file and creates corresponding objects within Windows PowerShell. |
|
Converts object properties in a CSV file into CSV versions of the original objects. |
|
Imports language-specific data into scripts and functions based on the current culture setting of the operating system. |
|
Imports cmdlets, aliases, functions, and other command types from another session on a local or remote computer into the current session. |
|
Runs commands or expressions on the local computer. |
|
Sends an HTTP or HTTPS request to a REST-compliant web service. |
|
Sends an HTTP or HTTPS request to a web service. |
|
Measures the time it takes to run script blocks and cmdlets. |
|
Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as the text in files. |
|
Creates a new alias. |
|
Creates a new event. |
|
Creates an instance of a .Net or COM object. |
|
Creates an object that represents a time interval. |
|
Creates a new variable. |
|
Sends output to a file. |
|
Sends output to an interactive table in a separate window. |
|
Sends output to a printer. |
|
Sends objects to the host as a series of strings. |
|
Reads a line of input from the console. |
|
Subscribes to events that are generated by the Windows PowerShell engine and by the New-Event cmdlet. |
|
Subscribes to the events that are generated by a .NET object. |
|
Deletes events from the event queue. |
|
Deletes breakpoints from the current console. |
|
Deletes extended types from the current session. |
|
Deletes a variable and its value. |
|
Selects specified properties of an object or set of objects. It can also select unique objects from an array of objects or it can select a specified number of objects from the beginning or end of an array of objects. |
|
Finds text in strings and files. |
|
Finds text in an XML document. |
|
Sends an e-mail message. |
|
Creates or changes an alias (alternate name) for a cmdlet or command element. |
|
Changes the system time on the computer to a time that you specify. |
|
Sets a breakpoint on a line, command, or variable. |
|
Configures, starts, and stops a trace of Windows PowerShell components. |
|
Sets the value of a variable. Creates the variable if one with the requested name does not exist. |
|
Creates Windows PowerShell commands in a graphical command window. |
|
Sorts objects by property values. |
|
Suspend shell, script, or runspace activity for the specified period of time. |
|
Saves command output in a file or variable and displays it in the console. |
|
Configures and starts a trace of the specified expression or command. |
|
Unblocks files that were downloaded from the Internet. |
|
Cancels an event subscription. |
|
Updates and appends format data files. |
|
Adds and removes items from a property value that contains a collection of objects. |
|
Updates the extended type data in the session. |
|
Waits until a particular event is raised before continuing to run. |
|
Writes a debugging message to the console. |
|
Writes an object to the error pipeline. |
|
Writes customized output to a host. |
|
Sends the objects to the next command in the pipeline. If the command is the last in the pipeline, the objects are displayed on the console. |
|
Displays a progress bar within a Windows PowerShell command window. |
|
Writes text to the verbose message stream in Windows PowerShell. |
|
Writes a warning message. |