[ BUG ] Start-FalconSession
with -WarningVariable
returns null
#247
Labels
bug
Something isn't working
Start-FalconSession
with -WarningVariable
returns null
#247
Describe the bug
Regarding
Start-FalconSession
, the-WarningVariable
Common Parameter always seems to return empty for batch sessions, despite an expected result.To Reproduce
$csv = Import-CSV -Path C:\Path\To\File.csv
Start-FalconSession -host_ids $csv -WarmingVariable alert
$alert
and you should get the same warning from step 4b, however the variable is nullExpected behavior
The
alert
variable should contain the warning produced by Start-FalconSession, however it is nullEnvironment (please complete the following information):
Additional context
Same issue applies when using a CSV of Host IDs or just using identifiers
Transcript content
The text was updated successfully, but these errors were encountered: