Return to PowerShell, Windows PowerShell, PowerShell for Linux, Command-line interface, choco list --localonly, Chocolatey
SS64 How-to An A-Z Index of Windows PowerShell commands
% Alias for ForEach-Object
? Alias for Where-Object
F
-F operator Format operator. Unblock-File Unblock files downloaded from the Internet. * [[Get-FileHash Compute the hash value for a file. ForEach-Object foreach Loop through each item in the pipeline ( % ). ForEach Loop through each item in a collection. ForEach method Loop through each item in a collection. For Loop through items that match a condition. Format-Custom fc Format output using a customized view. Format-Hex fhx Display a file or other input as hexadecimal. Format-List fl Format output as a list of properties, each on a new line. Format-Table ft Format output as a table. Format-Wide fw Format output as a table listing one property only. Export-FormatData Save formatting data from the current session. * [[Get-FormatData * [[Get the formatting data in the current session.G
Enable-PSSessionConfiguration]] - Enable session configurations on the local computer.
* [[Get-PSSessionConfiguration]] - Get the registered PS session configuration.
Register-PSSessionConfiguration]] - Create and register a new PS session configuration.
* [[Set-PSSessionConfiguration]] - Change properties of a registered session configuration.
Unregister-PSSessionConfiguration]] - Delete registered PS session configuration.
New-PSSessionConfigurationFile Create a file that defines a session configuration.
New-PSSessionOption Advanced options for a PSSession.
Add-PsSnapIn asnp Add snap-ins to the console. Remove-Variable rv Remove a variable and its value.
* [[Set-Variable set/sv Set a variable and a value.
* [[Get-VirtualDisk Return a list of VirtualDisks across storage pools/providers.
New-VirtualDisk Create a new virtual disk in the specified storage pool.
* [[Get-Volume * [[Get the specified Volume object, or all Volume objects.
Format-Volume Format one or more volumes.
New-Volume Create a volume with the specified file system.
Optimize-Volume Optimize a volume.
Repair-Volume Perform repairs on a volume.
Add-VpnConnection Add a VPN connection to the Connection Manager phone book.
* [[Get-VpnConnection Retrieve the specified VPN connection profile information.
* [[Set-VpnConnection Change the config. of a VPN connection profile.
Add-VpnConnectionRoute Add a route to a VPN connection.Invoke-WebRequest * Get content from a web page. Where-Object where/ - Compress or Extract zip files.
The cmdlets above are listed in A-Z order, matching the Verb- and/or -Noun and/or Alias of the cmdlet (so some duplicates).
PowerShell can also run all the standard CMD commands (external commands), .cmd batch files will run within a CMD.exe shell (so can include internal CMD commands), plus all Resource Kit utilities. VBScripts can be run via cscript. [ Examples ]
Microsoft: PowerShell 5.1 cmdlets, 2.0/3.0 core cmdlets, Windows 2008 R2 cmdlets… more optional cmdlets.
Discussion forum - New!
See also: Websites, additional cmdlets, Utilities and Books for PowerShell.
Copyright © 1999-2021 SS64.com
Some rights reserved