linux:powershell

文書の過去の版を表示しています。


PowerShell

$ sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.0.0-rc.2/powershell-preview-7.0.0_rc.2-1.centos.8.x86_64.rpm
$ pwsh

Release Candidate 版の場合

$ pwsh-preview
PS > Get-Host
 
Name             : ConsoleHost
Version          : 7.0.0-rc.2
InstanceId       : 546f330c-e929-4775-8001-43778f6ce1c7
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : ja-JP
CurrentUICulture : ja-JP
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace
 
 
PS > Get-Host | Select-Object Version
 
Version
-------
7.0.0-rc.2
 
PS > $PSVersiontable
 
Name                           Value
----                           -----
PSVersion                      7.0.0-rc.2
PSEdition                      Core
GitCommitId                    7.0.0-rc.2
OS                             Linux 5.4.17-200.fc31.x86_64 #1 SMP Sat Feb 1 19:00:13 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
  • linux/powershell.1581734500.txt.gz
  • 最終更新: 2020/02/15 11:41
  • by ともやん