PowerShell/powershell.exeが存在するディレクトリを取得する・$PSHOME
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#navi(../)
* powershell.exeが存在するディレクトリを取得する・$PSHOME...
PowerShellプログラムであるpowershell.exeが存在するフォル...
#contents
#htmlinsert(win_ads_top.html)
* 関連記事 [#o496160e]
-[[PowerShellのバージョンを確認する方法・$PSVersionTable>...
* $PSHOME シェル変数 [#w5c83b25]
$PSHOMEを表示することによりpowershell.exeが存在するディレ...
PS > $PSHOME
* $PSHOMEを表示してみる [#qe31aaae]
操作はPowerShellを起動し$PSHOMEを入力しEnterキーを押すだ...
以下はPowerShellを起動し実際に$PSHOMEを入力しEnterキーを...
シェル変数$PSHOMEを表示し、$PSHOMEの場所をdirしています。
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights res...
PS C:\Users\sakura> $PSHOME
C:\Windows\System32\WindowsPowerShell\v1.0
PS C:\Users\sakura> dir $PSHOME
ディレクトリ: C:\Windows\System32\WindowsPowerShell\...
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2009/07/14 19:49 en-US
d---- 2009/07/14 14:32 Examples
d---- 2009/07/14 19:49 ja-JP
d---- 2009/07/14 14:32 Modules
-a--- 2009/06/11 5:41 27338 Certificate...
-a--- 2009/07/14 10:29 126976 CompiledCom...
-a--- 2009/06/11 5:41 27106 Diagnostics...
-a--- 2009/06/11 5:41 72654 DotNetTypes...
-a--- 2009/06/11 5:41 24857 FileSystem....
-a--- 2009/06/11 5:42 15603 getevent.ty...
-a--- 2009/06/11 5:41 257847 Help.format...
-a--- 2009/07/14 10:39 473600 powershell....
-a--- 2009/06/11 5:41 89703 PowerShellC...
-a--- 2009/06/11 5:41 18612 PowerShellT...
-a--- 2009/07/14 10:51 200704 powershell_...
-a--- 2009/07/14 10:29 20480 PSEvents.dll
-a--- 2010/11/20 22:44 174592 pspluginwkr...
-a--- 2009/07/14 10:29 2048 pwrshmsg.dll
-a--- 2009/07/14 10:41 28672 pwrshsip.dll
-a--- 2009/06/11 5:41 20120 Registry.fo...
-a--- 2009/06/11 5:42 168372 types.ps1xml
-a--- 2009/06/11 5:41 24498 WSMan.Forma...
以上、powershell.exeが存在するディレクトリを表示する方法...
//#htmlinsert(win_ads_btm.html)
終了行:
#navi(../)
* powershell.exeが存在するディレクトリを取得する・$PSHOME...
PowerShellプログラムであるpowershell.exeが存在するフォル...
#contents
#htmlinsert(win_ads_top.html)
* 関連記事 [#o496160e]
-[[PowerShellのバージョンを確認する方法・$PSVersionTable>...
* $PSHOME シェル変数 [#w5c83b25]
$PSHOMEを表示することによりpowershell.exeが存在するディレ...
PS > $PSHOME
* $PSHOMEを表示してみる [#qe31aaae]
操作はPowerShellを起動し$PSHOMEを入力しEnterキーを押すだ...
以下はPowerShellを起動し実際に$PSHOMEを入力しEnterキーを...
シェル変数$PSHOMEを表示し、$PSHOMEの場所をdirしています。
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights res...
PS C:\Users\sakura> $PSHOME
C:\Windows\System32\WindowsPowerShell\v1.0
PS C:\Users\sakura> dir $PSHOME
ディレクトリ: C:\Windows\System32\WindowsPowerShell\...
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2009/07/14 19:49 en-US
d---- 2009/07/14 14:32 Examples
d---- 2009/07/14 19:49 ja-JP
d---- 2009/07/14 14:32 Modules
-a--- 2009/06/11 5:41 27338 Certificate...
-a--- 2009/07/14 10:29 126976 CompiledCom...
-a--- 2009/06/11 5:41 27106 Diagnostics...
-a--- 2009/06/11 5:41 72654 DotNetTypes...
-a--- 2009/06/11 5:41 24857 FileSystem....
-a--- 2009/06/11 5:42 15603 getevent.ty...
-a--- 2009/06/11 5:41 257847 Help.format...
-a--- 2009/07/14 10:39 473600 powershell....
-a--- 2009/06/11 5:41 89703 PowerShellC...
-a--- 2009/06/11 5:41 18612 PowerShellT...
-a--- 2009/07/14 10:51 200704 powershell_...
-a--- 2009/07/14 10:29 20480 PSEvents.dll
-a--- 2010/11/20 22:44 174592 pspluginwkr...
-a--- 2009/07/14 10:29 2048 pwrshmsg.dll
-a--- 2009/07/14 10:41 28672 pwrshsip.dll
-a--- 2009/06/11 5:41 20120 Registry.fo...
-a--- 2009/06/11 5:42 168372 types.ps1xml
-a--- 2009/06/11 5:41 24498 WSMan.Forma...
以上、powershell.exeが存在するディレクトリを表示する方法...
//#htmlinsert(win_ads_btm.html)
ページ名: