# docker run -it microsoft/powershell
Unable to find image 'microsoft/powershell:latest' locally
latest: Pulling from microsoft/powershell
50aff78429b1: Pull complete
f6d82e297bce: Pull complete
275abb2c8a6f: Pull complete
9f15a39356d6: Pull complete
fc0342a94c89: Pull complete
f1069417b466: Pull complete
763f70bbec53: Pull complete
d4fcc60c4985: Pull complete
46c69e266a43: Pull complete
f95fd9e314e8: Pull complete
Digest: sha256:8aca07be645a68d8a6f89695192f95cf5ff3529f06048f2b84d188667d6efb1d
Status: Downloaded newer image for microsoft/powershell:latest
PowerShell v6.0.0
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/pscore6-docs
Type 'help' to get help.
PS /> help
Get-Command : The term 'less' 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:16 char:21
+ $moreCommand = (Get-Command -CommandType Application less | Selec ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (less:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
At line:23 char:21
+ } else { $input | & $moreCommand }
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : BadExpression
:D ani help im tam nefunguje
Chyba bude na vašem přijímači:
[~]$ pwsh
PowerShell v6.0.0
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/pscore6-docs
Type 'help' to get help.
PS /home/john> help
TOPIC
PowerShell Help System
SHORT DESCRIPTION
Displays help about PowerShell cmdlets and concepts.
LONG DESCRIPTION
PowerShell Help describes PowerShell cmdlets,
functions, scripts, and modules, and explains concepts, including
the elements of the PowerShell language.
...
Archlinux, balíček powershell z AURu