Forrest logo
back to context overview

invoke-item

List of commands for invoke-item:

  • invoke-item:tldr:145f3 invoke-item: Open a file in its default program.
    $ Invoke-Item -Path ${path\to\file}
    try on your machine
    explain this command
  • invoke-item:tldr:26acb invoke-item: Open all files inside a directory except those containing a specific keyword.
    $ Invoke-Item -Path ${path\to\directory}\* -Exclude ${*keyword*}
    try on your machine
    explain this command
  • invoke-item:tldr:427f0 invoke-item: Open all files inside a directory containing a specific keyword.
    $ Invoke-Item -Path ${path\to\directory}\* -Include ${*keyword*}
    try on your machine
    explain this command
  • invoke-item:tldr:734c0 invoke-item: Perform a dry run to determine which files will be opened inside a directory through `Invoke-Item`.
    $ Invoke-Item -Path ${path\to\directory}\* -WhatIf
    try on your machine
    explain this command
  • invoke-item:tldr:7ef5e invoke-item: Open all PNGs inside a directory.
    $ Invoke-Item -Path ${path\to\directory}\*.png
    try on your machine
    explain this command
  • invoke-item:tldr:f7447 invoke-item: Open all files inside a directory.
    $ Invoke-Item -Path ${path\to\directory}\*
    try on your machine
    explain this command
back to context overview