Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Remove-BISFFolderAndContents - Add Test-Path #362

Open
Tracked by #370
Tunu-de opened this issue Dec 14, 2022 · 0 comments
Open
Tracked by #370

[Feature request]: Remove-BISFFolderAndContents - Add Test-Path #362

Tunu-de opened this issue Dec 14, 2022 · 0 comments

Comments

@Tunu-de
Copy link

Tunu-de commented Dec 14, 2022

Is your feature request related to a problem? Please describe.

I'm using the Remove-BISFFolderAndContents function, but when the folder isn't there, I get an error message saying the path is invalid.

Describe the solution you'd like

Before the Get-ChildItem function, a check if the folder exists and if not, return without error.

Describe alternatives you've considered

Test in the script whether the folder exists

Screenshots

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant