Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Windows\system32> Microsoft Windows [Version 10.0.18363.900]
Microsoft : The term 'Microsoft' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Microsoft Windows [Version 10.0.18363.900]
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> (c) 2019 Microsoft Corporation. All rights reserved.
At line:1 char:5
+ (c) 2019 Microsoft Corporation. All rights reserved.
+ ~~~~
Unexpected token '2019' in expression or statement.
At line:1 char:10
+ (c) 2019 Microsoft Corporation. All rights reserved.
+ ~~~~~~~~~
Unexpected token 'Microsoft' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
PS C:\Windows\system32>
PS C:\Windows\system32> C:\Users\Owner>choco install gpg4win-vanilla
C:\Users\Owner>choco : The term 'C:\Users\Owner>choco' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ C:\Users\Owner>choco install gpg4win-vanilla
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Owner>choco:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> Chocolatey v0.10.15
Chocolatey v0.10.15
Could not find a command registered that meets 'v0.10.15'.
Try choco -? for command reference/help.
PS C:\Windows\system32> Chocolatey detected you are not running from an elevated command shell
Chocolatey v0.10.15
Could not find a command registered that meets 'detected'.
Try choco -? for command reference/help.
PS C:\Windows\system32> (cmd/powershell).
>>
At line:1 char:19
+ (cmd/powershell).
+ ~
Missing property name after reference operator.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingPropertyName
PS C:\Windows\system32> You may experience errors - many functions/packages
You : The term 'You' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ You may experience errors - many functions/packages
+ ~~~
+ CategoryInfo : ObjectNotFound: (You:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> require admin rights. Only advanced users should run choco w/out an
require : The term 'require' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ require admin rights. Only advanced users should run choco w/out an
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (require:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> elevated shell. When you open the command shell, you should ensure
elevated : The term 'elevated' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ elevated shell. When you open the command shell, you should ensure
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (elevated:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> that you do so with "Run as Administrator" selected. If you are
that : The term 'that' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ that you do so with "Run as Administrator" selected. If you are
+ ~~~~
+ CategoryInfo : ObjectNotFound: (that:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> attempting to use Chocolatey in a non-administrator setting, you
attempting : The term 'attempting' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ attempting to use Chocolatey in a non-administrator setting, you
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (attempting:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> must select a different location other than the default install
must : The term 'must' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ must select a different location other than the default install
+ ~~~~
+ CategoryInfo : ObjectNotFound: (must:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> location. See
location. : The term 'location.' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ location. See
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (location.:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> https://chocolatey.org/install#non-administrative-install for details.
https://chocolatey.org/install#non-administrative-install : The term
'https://chocolatey.org/install#non-administrative-install' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:2
+ https://chocolatey.org/install#non-administrative-install for detail ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (https://chocola...trative-install:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32>
PS C:\Windows\system32>
PS C:\Windows\system32> Do you want to continue?([Y]es/[N]o): y
At line:1 char:4
+ Do you want to continue?([Y]es/[N]o): y
+ ~
Missing statement body in do loop.
At line:1 char:30
+ Do you want to continue?([Y]es/[N]o): y
+ ~~~~~~~
Unexpected token 'es/[N]o' in expression or statement.
At line:1 char:30
+ Do you want to continue?([Y]es/[N]o): y
+ ~
Missing closing ')' in expression.
At line:1 char:37
+ Do you want to continue?([Y]es/[N]o): y
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingLoopStatement
PS C:\Windows\system32>
PS C:\Windows\system32> Installing the following packages:
Installing : The term 'Installing' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Installing the following packages:
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Installing:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> gpg4win-vanilla
gpg4win-vanilla : The term 'gpg4win-vanilla' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ gpg4win-vanilla
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (gpg4win-vanilla:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> By installing you accept licenses for the packages.
By : The term 'By' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ By installing you accept licenses for the packages.
+ ~~
+ CategoryInfo : ObjectNotFound: (By:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> gpg4win-vanilla v2.3.4.20191021 already installed.
gpg4win-vanilla : The term 'gpg4win-vanilla' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ gpg4win-vanilla v2.3.4.20191021 already installed.
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (gpg4win-vanilla:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> Use --force to reinstall, specify a version to install, or try upgrade.
Use : The term 'Use' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ Use --force to reinstall, specify a version to install, or try upgra ...
+ ~~~
+ CategoryInfo : ObjectNotFound: (Use:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32>
PS C:\Windows\system32> Chocolatey installed 0/1 packages.
Chocolatey v0.10.15
Could not find a command registered that meets 'installed'.
Try choco -? for command reference/help.
PS C:\Windows\system32> See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
See : The term 'See' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.l ...
+ ~~~
+ CategoryInfo : ObjectNotFound: (See:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32>
PS C:\Windows\system32> Warnings:
Warnings: : The term 'Warnings:' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Warnings:
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Warnings::String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> - gpg4win-vanilla - gpg4win-vanilla v2.3.4.20191021 already installed.
At line:1 char:3
+ - gpg4win-vanilla - gpg4win-vanilla v2.3.4.20191021 already installe ...
+ ~
Missing expression after unary operator '-'.
At line:1 char:4
+ - gpg4win-vanilla - gpg4win-vanilla v2.3.4.20191021 already installe ...
+ ~~~~~~~~~~~~~~~
Unexpected token 'gpg4win-vanilla' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingExpressionAfterOperator
PS C:\Windows\system32> Use --force to reinstall, specify a version to install, or try upgrade.
Use : The term 'Use' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ Use --force to reinstall, specify a version to install, or try upgra ...
+ ~~~
+ CategoryInfo : ObjectNotFound: (Use:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32>
PS C:\Windows\system32> C:\Users\Owner>choco install gpg4win-vanilla
C:\Users\Owner>choco : The term 'C:\Users\Owner>choco' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ C:\Users\Owner>choco install gpg4win-vanilla
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Owner>choco:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> Chocolatey v0.10.15
Chocolatey v0.10.15
Could not find a command registered that meets 'v0.10.15'.
Try choco -? for command reference/help.
PS C:\Windows\system32> Chocolatey detected you are not running from an elevated command shell
Chocolatey v0.10.15
Could not find a command registered that meets 'detected'.
Try choco -? for command reference/help.
PS C:\Windows\system32> (cmd/powershell).
>>
At line:1 char:19
+ (cmd/powershell).
+ ~
Missing property name after reference operator.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingPropertyName
PS C:\Windows\system32> You may experience errors - many functions/packages
You : The term 'You' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ You may experience errors - many functions/packages
+ ~~~
+ CategoryInfo : ObjectNotFound: (You:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> require admin rights. Only advanced users should run choco w/out an
require : The term 'require' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ require admin rights. Only advanced users should run choco w/out an
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (require:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> elevated shell. When you open the command shell, you should ensure
elevated : The term 'elevated' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ elevated shell. When you open the command shell, you should ensure
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (elevated:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> that you do so with "Run as Administrator" selected. If you are
that : The term 'that' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ that you do so with "Run as Administrator" selected. If you are
+ ~~~~
+ CategoryInfo : ObjectNotFound: (that:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> attempting to use Chocolatey in a non-administrator setting, you
attempting : The term 'attempting' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ attempting to use Chocolatey in a non-administrator setting, you
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (attempting:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> must select a different location other than the default install
must : The term 'must' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ must select a different location other than the default install
+ ~~~~
+ CategoryInfo : ObjectNotFound: (must:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> location. See
location. : The term 'location.' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2
+ location. See
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (location.:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> https://chocolatey.org/install#non-administrative-install for details.
https://chocolatey.org/install#non-administrative-install : The term
'https://chocolatey.org/install#non-administrative-install' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:2
+ https://chocolatey.org/install#non-administrative-install for detail ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (https://chocola...trative-install:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32>
PS C:\Windows\system32>
PS C:\Windows\system32> Do you want to continue?([Y]es/[N]o):