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

Remove-ZipFileContent returns Cannot validate argument on parameter 'FileName'. #15

Closed
stadub opened this issue Sep 9, 2019 · 1 comment
Labels

Comments

@stadub
Copy link
Owner

stadub commented Sep 9, 2019

Describe the bug
Remove-ZipFileContent returns Cannot validate argument on parameter 'FileName'.

To Reproduce

  1. enter
    Remove-ZipFileContent -Archive .\scripts.7z -File "temp.log"
  2. Powershell return
    Remove-ZipFileContent : Cannot validate argument on parameter 'FileName'. The " Test-Path $_ -pathType leaf " validation script for the argume
    nt with value "temp.log" did not return a result of True.

Expected behavior
file has been deleted from archive

@stadub stadub added the bug label Sep 9, 2019
stadub added a commit that referenced this issue Sep 9, 2019
stadub added a commit that referenced this issue Sep 9, 2019
@stadub
Copy link
Owner Author

stadub commented Sep 9, 2019

fixed

@stadub stadub closed this as completed Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant