mirror of https://github.com/docker/docs.git
				
				
				
			
		
			
				
	
	
		
			15 lines
		
	
	
		
			412 B
		
	
	
	
		
			PowerShell
		
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			412 B
		
	
	
	
		
			PowerShell
		
	
	
	
get-process VBox* | stop-process
 | 
						|
 | 
						|
$paths = '~/Kitematic/', '~/.docker', '~/.VirtualBox/', '~/Kitematic-bins/', '~/Library/Application Support/Kitematic'
 | 
						|
 | 
						|
Foreach($path in $paths) {
 | 
						|
    if(test-path $path) {
 | 
						|
        Remove-Item $path -Force -Recurse
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
$virtualBoxApp = Get-WmiObject -Class Win32_Product | Where {$_.Name -Match 'VirtualBox'}
 | 
						|
 | 
						|
if($virtualBoxApp -ne $null) {
 | 
						|
    $virtualBoxApp.Uninstall()
 | 
						|
} |