Where is the command history kept?

How to Get the History with a Command

How to Get the Exit Code of the Last Run Command

How to Search for Text In All Subdirectories

How to check if a directory exists

Testing

How to verify and capture variables passed into a mock

Helpful Tips

Invoke-Item

you can use this to open an item with the default configured application. There is an alias for it as well. For example this will open the current directory in explorer:

ii .