![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | delete temp dlls via powershell Why does this fail on DLL's?? remove-item -path "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\*" -recurse -force I'm logged on as an administrator, and a similar cmd.exe command works fine. Thanks, John |
My System Specs![]() |
| | #2 (permalink) |
| | Re: delete temp dlls via powershell "John" <john@nowhere.com> wrote in message news:O5mKILEMHHA.4376@TK2MSFTNGP04.phx.gbl... > Why does this fail on DLL's?? > > remove-item -path "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary > ASP.NET Files\*" -recurse -force > > I'm logged on as an administrator, and a similar cmd.exe command works > fine. What sort of error do you get? Is it possible that one of the DLLs was still in use when you tried using PoSH and not in use when you tried it from cmd.exe. -- Keith |
My System Specs![]() |
| | #3 (permalink) |
| | Re: delete temp dlls via powershell Whenever asking about why something fails, please follow the advice in the blog entry below to minimize the time to resolve: http://blogs.msdn.com/powershell/arc...lve-error.aspx -- Jeffrey Snover [MSFT] Windows PowerShell Architect Microsoft Corporation This posting is provided "AS IS" with no warranties, no confers rights. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| CAN I delete the Temp folder | General Discussion | |||
| can I delete the temp folder. | General Discussion | |||
| How to access the %temp% directory using PowerShell | PowerShell | |||
| delete doc temp files in vista | Vista performance & maintenance | |||
| Cmdlet DLLs and PowerShell API without DLL registration | PowerShell | |||