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

Bug at folder watch / if a file is removed? #3

Open
gregor-hh opened this issue Dec 7, 2023 · 0 comments
Open

Bug at folder watch / if a file is removed? #3

gregor-hh opened this issue Dec 7, 2023 · 0 comments

Comments

@gregor-hh
Copy link

Hello,
First of all, thank you very much for the great modules. Fantastic work!

I think I have run into a problem. Observed on two different computers.

Computer A: Windows 10
Computer B: Windows Server 2022

The following error message appears if you do a "watch" on a folder and delete a file in this folder in the meantime:
(The system cannot the file (which was deleted for testing)

image

Compare-Object : Ausnahme beim Abrufen von "Target": "Das System kann die angegebene Datei nicht finden"
In C:\Users\XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\Dokumente\WindowsPowerShell\Modules\Watch\1.0.30\Public\Watch-Command.ps1:154 Zeichen:21

  •         $Diff = Compare-Object @CompareParams -PassThru
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidResult: (VMware-tools-12.3.0-22234872-x86_64.exe:PSObject) [Compare-Object], GetValueInvocationException
    • FullyQualifiedErrorId : ExpressionEvaluation,Microsoft.PowerShell.Commands.CompareObjectCommand

Compare-Object : Ausnahme beim Abrufen von "LinkType": "Das System kann die angegebene Datei nicht finden"
In C:\Users\XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\Dokumente\WindowsPowerShell\Modules\Watch\1.0.30\Public\Watch-Command.ps1:154 Zeichen:21

  •         $Diff = Compare-Object @CompareParams -PassThru
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidResult: (VMware-tools-12.3.0-22234872-x86_64.exe:PSObject) [Compare-Object], GetValueInvocationException
    • FullyQualifiedErrorId : ExpressionEvaluation,Microsoft.PowerShell.Commands.CompareObjectCommand

Any ideas?

Thank you in advance
gregor

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

No branches or pull requests

1 participant