「PowerShell Core」の版間の差分

提供: Hideki Saito Wiki Japanese
移動先: 案内、 検索
1行目: 1行目:
−
==Windows PowerShell互換モジュール==
 
−
[https://www.powershellgallery.com/packages/WindowsPSModulePath/1.0.0 WindowsPSModulePath]をインストール。
 
  
−
<pre>
+
== PowerShell Coreトピックス ==
−
# Add `-Scope CurrentUser` if you're installing as non-admin
 
−
Install-Module WindowsPSModulePath -Force
 
−
</pre>
 
  
−
===初期化===
+
* [[PowerShell Core Tips]]
−
 
 
−
<pre>
 
−
# Add this line to your profile if you always want Windows PowerShell PSModulePath
 
−
Add-WindowsPSModulePath
 
−
</pre>
 
−
 
 
−
==Linuxに置いてUpdate-Helpが失敗する場合==
 
−
'''バージョン6.1からはユーザー環境にインストールされるようになったため、管理者権限は必要なくなりました。'''
 
−
 
 
−
何らかの理由で書き込みに失敗する場合は、以下のように強制するしかなさそう。(<strike>ちなみに<code>sudo pwsh</code>でrootが必要。</strike>)
 
−
 
 
−
<pre>
 
−
Update-Help -Force
 
−
</pre>
 
  
 
[[Category:技術]]
 
[[Category:技術]]

2018年11月21日 (水) 19:34時点における版

PowerShell Coreトピックス