From 155fcee43272187ecef1e6802d4491125afe3196 Mon Sep 17 00:00:00 2001 From: Clorr Date: Fri, 13 Jan 2017 03:20:58 +0100 Subject: [PATCH] Correction of the Install-Module command (#1102) The command line was Import-Module which seems to be wrong. It seemed to work for me with Install-Module. So I make the correction. Please note, I'm only a newbie, so check this twice please ;-) --- docker-for-windows/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-for-windows/index.md b/docker-for-windows/index.md index d5c5fdc573..5a8b0acbad 100644 --- a/docker-for-windows/index.md +++ b/docker-for-windows/index.md @@ -329,16 +329,16 @@ If you would like to have handy tab completion for Docker commands, you can inst
3. To enable auto-completion of commands for the current PowerShell only, type: - `Import-Module posh-docker` + `Install-Module posh-docker` 4. To make tab completion persistent across all PowerShell sessions, add the command to a `$PROFILE` by typing these commands at the PowerShell prompt. Install-Module -Scope CurrentUser posh-docker -Force - Add-Content $PROFILE "`nImport-Module posh-docker" + Add-Content $PROFILE "`nInstall-Module posh-docker" This creates a `$PROFILE` if one does not already exist, and adds this line into the file: - `Import-Module posh-docker` + `Install-Module posh-docker`
To check that the file was properly created, or simply edit it manually, type this in PowerShell: