f24bfe7d4e
Allow passing exec_in_place parameter to cmd_psh_payload in order to execute raw powershell without the commandline wrappers of comspec or calling the powershell binary itself. This is useful in contexts such as the web delivery mechanism or recent powershell sessions as it does not require the creation of a new PSH instance.