linux:powershell

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
linux:powershell [2020/02/15 11:37] – [インストール] ともやんlinux:powershell [2020/05/15 11:18] ともやん
行 1: 行 1:
-====== PowerShell ======+====== PowerShell(Linux) ======
 [[windows:powershell|PowerShell - Windows]]\\ [[windows:powershell|PowerShell - Windows]]\\
 \\ \\
 本家: [[https://docs.microsoft.com/ja-jp/powershell/|PowerShell Documentation | Microsoft Docs]]\\ 本家: [[https://docs.microsoft.com/ja-jp/powershell/|PowerShell Documentation | Microsoft Docs]]\\
 ソースコード: [[https://github.com/PowerShell/PowerShell|GitHub - PowerShell/PowerShell: PowerShell for every system!]]\\ ソースコード: [[https://github.com/PowerShell/PowerShell|GitHub - PowerShell/PowerShell: PowerShell for every system!]]\\
 +\\
 +{{:linux:powershell_v7.0.0-rc.2_on_fedora_31.png?600|PowerShell 7 on Fedora 31}}\\
  
 ===== インストール ===== ===== インストール =====
行 13: 行 15:
 \\ \\
 ==== Fedora 31 ==== ==== Fedora 31 ====
 +<WRAP prewrap 100%>
 <code> <code>
 $ 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 $ 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
 </code> </code>
 +</WRAP>
  
 ===== PowerShell の実行 ===== ===== PowerShell の実行 =====
 +<WRAP prewrap 100%>
 <code> <code>
 $ pwsh $ pwsh
 </code> </code>
 +</WRAP>
 +
 **Release Candidate** 版の場合\\ **Release Candidate** 版の場合\\
 +<WRAP prewrap 100%>
 <code> <code>
 $ pwsh-preview $ pwsh-preview
 </code> </code>
 +</WRAP>
  
 ===== PowerShell のバージョン ===== ===== PowerShell のバージョン =====
 +<WRAP prewrap 100%>
 <code powershell> <code powershell>
 PS > Get-Host PS > Get-Host
行 62: 行 72:
 WSManStackVersion              3.0 WSManStackVersion              3.0
 </code> </code>
 +</WRAP>
  
  • linux/powershell.txt
  • 最終更新: 2023/03/30 21:17
  • by ともやん