Open Powershell as admin, type the following commands
if (-Not (Test-Path $PROFILE)) {
New-Item $PROFILE –Type File –Force
}
Add-Content $PROFILE "`nImport-Module posh-docker"Import-Module posh-dockerSet-ExecutionPolicy RemoteSignedInstall-Module -Scope CurrentUser posh-docker