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 ;-)
This commit is contained in:
Clorr 2017-01-13 03:20:58 +01:00 committed by John Mulhausen
parent bbd5c2723b
commit 155fcee432
1 changed files with 3 additions and 3 deletions

View File

@ -329,16 +329,16 @@ If you would like to have handy tab completion for Docker commands, you can inst
<br>
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`
<br>
To check that the file was properly created, or simply edit it manually, type this in PowerShell: