Moving from Windows 1809's OpenSSH to OpenSSH Portable
Moving from Windows 1809's OpenSSH to OpenSSH Portable ...
Moving from Windows 1809's OpenSSH to OpenSSH Portable ...
Recently did a fresh install of Windows 10 with all the vital updates and tried to use git fetch on both cmd and powershell but was prompted to enter my ssh key so I tried to run ssh-add but I got an error saying Error connecting to agent: No such file or directory so then I tried ssh-agent and got an error saying unable to start ssh-agent service, error :1058 so what could it be?A quick scan of Get-Service ...
Let's say you have a VM hosted by Hyper-V named CICDSRV01 and we want to enable nested virtualization to run another Docker for Windows instance, we first need to enable this feature by setting ExposeVirtualizationExtensions to $true on the target VM's processor # Check if VM named CICDSRV01 supports nested virtualization Get-VMProcessor -VMName "CICDSRV01" | Select VMName,Count,ExposeVirtualizationExtensions VMName Count ExposeVirtualizationExtensions ------ ----- ------------------------------ CICDSRV01 12 False The ExposeVirtualizationExtensions property reads False so let's enable it Get-VMProcessor -VMName " ...
Tonight, I was testing some Windows Docker images across my different computers on my home network. I did a docker pull microsoft/iis and the file download wasn't exactly fast on my slow internet connection so I decided to save the image as a .tar file by docker image save -o c:\docker-images-export\microsoft-iis.tar but how can I move this across to my target computer quickly without setting domains, setting up users, setting a home group etc. ? The quickest ...
Commands and usage Autocompletion (tab and ctrl + space ing) Autocompletion is your friend when it comes to using Powershell. For example, if I want to see a list of running services on my machine I can execute Get-Service but what if I only wanted to see a list subset of that filtered by some property? How would I know what properties I can filter by? ctrl + space to the rescue! Enter Get-Service | Where-Object -Property followed by a ctrl + space this ...
Things I've learnt Mapping folder host to container. In this example I will map a directory c:\foo from my host machine to c:\bar on the target container. Notice that I can read/write files in that directory from both the host and the container. Host Machine cd c:\ mkdir foo docker run -it -v c:\foo:c:\bar microsoft/windowsservercore Windows Container cd c:\bar echo helloworld >> myfile.txt type myfile.txt Mapping a volume host ...