Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-11 > #18353
| From | T <T@invalid.invalid> |
|---|---|
| Newsgroups | alt.comp.os.windows-11 |
| Subject | powershell remove directory confusion |
| Date | 2025-04-08 17:52 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <vt4gbo$327ec$1@dont-email.me> (permalink) |
Hi All, This does not work (uses `--Force`): PowerShell.exe Remove-Item '\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6' -Force Remove-Item : Cannot remove item \\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6: An unexpected network error occurred. At line:1 char:1 + Remove-Item '\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6' But this works (no `--force`): C:\NtUtil>PowerShell.exe Remove-Item -Path "\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6" -Recurse <no return message and File Manager verifies it is gone> What the ... ??? Yours in confusion, -T
Back to alt.comp.os.windows-11 | Previous | Next — Next in thread | Find similar | Unroll thread
powershell remove directory confusion T <T@invalid.invalid> - 2025-04-08 17:52 -0700 Re: powershell remove directory confusion T <T@invalid.invalid> - 2025-04-08 17:58 -0700
csiph-web