EWS
EWS copied to clipboard
Get-EWSFolder should fail on non-existing folders.
Bug: ATM when you specify the path to non-existing folder, you will get the parent folder instead. Dangerous if you want to automate folder creation/deletion.
Repro:
Get-EWSFolder -Path Inbox\SomeRandomTextHere
Expected result: error. Actual result: Inbox will be returned if SomeRandomTextHere folder does not exist.