Skip to content

Instantly share code, notes, and snippets.

@chartjes
Created February 27, 2019 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chartjes/cead85df43ba3826b1f853a2a93b31c5 to your computer and use it in GitHub Desktop.
Save chartjes/cead85df43ba3826b1f853a2a93b31c5 to your computer and use it in GitHub Desktop.
rmdir : Cannot remove item C:\Users\chartjes\vagrant-ubuntu\.vagrant\machines\default\hyperv\Virtual Hard
Disks\precise64.vhdx: Access to the path 'precise64.vhdx' is denied.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (precise64.vhdx:FileInfo) [Remove-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir : Directory C:\Users\chartjes\vagrant-ubuntu\.vagrant\machines\default\hyperv\Virtual Hard Disks cannot be
removed because it is not empty.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Virtual Hard Disks:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir : Directory C:\Users\chartjes\vagrant-ubuntu\.vagrant\machines\default\hyperv cannot be removed because it is
not empty.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (hyperv:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir : Directory C:\Users\chartjes\vagrant-ubuntu\.vagrant\machines\default cannot be removed because it is not empty.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (default:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir : Directory C:\Users\chartjes\vagrant-ubuntu\.vagrant\machines cannot be removed because it is not empty.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (machines:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir : Directory C:\Users\chartjes\vagrant-ubuntu\.vagrant cannot be removed because it is not empty.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (.vagrant:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
rmdir : Directory C:\Users\chartjes\vagrant-ubuntu\ cannot be removed because it is not empty.
At line:1 char:1
+ rmdir .\vagrant-ubuntu\
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\Users\chartjes\vagrant-ubuntu\:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment