PowerShell Usual Commands

Here is a memento of several useful commands in PowerShell (check files, folders and registry, create or delete files and folders, run executables with or without arguments, displaying MsgBox…).

Here is the TechNet listing the standard CmdLets: https://technet.microsoft.com/en-us/library/hh848794.aspx

There are only few commands for the time being, but this article will be updated progressively.


Check Files, Folders and Registry

Cmdlet: Test-Path


Create Files and Folders

Cmdlet: New-Item


Delete Files and Folders

Cmdlet: Remove-Item


Run Executables


Display MsgBox