Invoke-Exe
Last updated
Was this helpful?
Runs an external command.
Module
OSD
Platform
WinPE (amd64 / arm64)
Calls an external command outside of the PowerShell script and logs the output.
Invoke-Exe [-Executable] <String> [[-Arguments] <Object>] [-ProgressAction <ActionPreference>] [-WhatIf]
[-Confirm] [<CommonParameters>]-Executable
String
True
Executable that needs to be run.
-Arguments
Object
False
Arguments for the executable. Default is NULL.
-WhatIf
SwitchParameter
False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
-Confirm
SwitchParameter
False
Prompts you for confirmation before running the cmdlet.
Last updated
Was this helpful?
Was this helpful?
Invoke-Exe dir c:\
