WhatIf Support. Added comment, Check $Path is valid or not.