tags: Wrong powershell
Every time you start PowerShell, there will always be this error, no report, but find an almost the same error on Stackoverflow (there is no answer, followed by STACKOVERFLOW):
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
invalid command 'hook'
Invoke-Expression : Cannot bind argument to parameter 'Command' because it is an empty string.
At \\INTRANET\AMER\User\0001\X\My Documents\WindowsPowerShell\profile.ps1:4 char:95
+ ... onda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:PSObject) [Invoke-Expression], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Invo
keExpressionCommand
There is almost no answer on the Internet. Some people say that it may be an Anaconda version of the problem, so I tried the upgrade (entered in Anaconda Prompt Base):
conda upgrade -n base -c defaults --override-channels conda

Open the PowerShell (version 5.1.22000.282):

Attachment (see PowerShell version):
$PSVersionTable

background Before the old brother was engaged in PowerShell, then I also learned, and then found a system function. step First, general samples are executing PowerShell, PowerShell.exe + command line ...
I am practicing robot operating system theory and practice. First download the gazebo model will then add the relevant model of the gazebo model, see this URL Error in running roslaunch file last The ...
See the figure below. When I try to execute one of the startup items in PowerShell to execute bcdedit, an error occurs; while running in CMD is normal. The command executed is: bcdedit /delete {f33a27...
1. Environment: Qt5.7.1 and VS2013 2. I have configured on multiple laptops had the same development environment, notebooks begin this stage the problem can also be used, there was a time useless this...
It is easy to get the COCO source code under the Linux system, and the Windows system always reports errors something I can't understand. The code when obtaining pycocotools Error content Find the cor...
1. Create a new cmd_parameter.py 2. Copy the following test code to cmd_parameter.py 3. Command line run: python cmd_parameter.py --string=python --int-input=10 --list-input=123...
This article quotes from Stackoverflow. Original code code: Error: Problem Description: This was working when I run this code using C++11, and also works when I run this code using C++ 17 on Linux. It...
1.KMS command to activate the VOL version Powershell script Save the file as ps1 format, execution requires administrator privileges....
Introduction and analysis I used environment is GATK GenomeAnalysisTK.jar v3.7-0-gcfedb67 of Java environment: But found that regardless of which GATK Tool Name (-T) Showed ** Could not find walker wi...
Problem Description: python version: 2.7.15 The python version of pycharm: 2.7.15 python file encoding: utf-8 windows command encoding has been executedchcp 65001Changed to utf-8 encoding. The python ...