prewrap

検索

以下に検索結果を表示します。

get-command @windows:powershell:commands
18 ヒット, 最終更新:
ファイルだけを表示する。\\ Windows の PowerShell の場合。\\ <WRAP prewrap 100%> <code powershell> $ Get-Command python | Se... $ gcm python | select Source </code> <WRAP> <WRAP prewrap 100% #result> <code powershell> Source ------ C:... し、**Get-Command (alias: gcm)** を使うこともできる。\\ <WRAP prewrap 100%> <code powershell> $ which python /usr/bin/p... ows のコマンドプロンプトでは、もともと **where** コマンドが使える🤔\\ <WRAP prewrap 100%> <code batch> > where python </code> </WRAP>
call_command_prompt_interpreter_command
16 ヒット, 最終更新:
のインタープリタコマンドの呼び出し ====== 以下は拡張子関連付けの例である。\\ <WRAP prewrap 100%> <code powershell> $ cmd /c assoc .mkv </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> .mkv=VLC.mkv </code> </WRAP> <WRAP prewrap 100%> <code powershell> $ cmd /c ftype VLC.mkv </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> VLC.mkv=C:\Users\
get-acl @windows:powershell:commands
16 ヒット, 最終更新:
を取得する。\\ ===== ディレクトリのセキュリティ記述子を取得する ===== <WRAP prewrap 100%> <code powershell> $ Get-Acl C:\Windows </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> Directory: C... === ディレクトリの PowerShell パスと SDDL を取得する ===== <WRAP prewrap 100%> <code powershell> $ Get-Acl C:\Windows | Fo... List -Property PSPath, Sddl </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> PSPath : Microsof
get-ciminstance @windows:powershell:commands
14 ヒット, 最終更新:
===== Get-CimInstance ===== **OS Info**\\ <WRAP prewrap 100%> <code powershell> $ Get-CimInstance Win32_OperatingSystem </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> SystemDirectory ... </code> </WRAP> Get-WmiObject 風に取得したいなら\\ <WRAP prewrap 100%> <code powershell> $ Get-CimInstance Win32_O... eratingSystem | Format-List </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> SystemDirectory
get-execution_policy @windows:powershell:commands
12 ヒット, 最終更新:
=== Get-ExecutionPolicy ===== **Windows**\\ <WRAP prewrap 100%> <code powershell> $ Get-ExecutionPolicy </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> RemoteSigned </code> </WRAP> <WRAP prewrap 100%> <code powershell> $ Get-ExecutionPolicy -List </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> Scope Ex
variable
7 ヒット, 最終更新:
数 / 自動変数 / ユーザ定義変数 ====== ===== 環境変数 ===== <WRAP prewrap 100%> <code powershell> $ Get-ChildItem env: </code> </WRAP> Or\\ <WRAP prewrap 100%> <code powershell> $ gci env: </code> </WRAP> <WRAP prewrap 100% #result_long> <code powershell> Name ... 4730-b2c1-5f3dca86ba63 </code> </WRAP> Or\\ <WRAP prewrap 100%> <code powershell> $ echo $env:USERPROFILE <
get-item_property_value @windows:powershell:commands
6 ヒット, 最終更新:
gp / gpv) ====== ===== レジストリ エントリの表示 ===== <WRAP prewrap 100%> <code powershell> PS > Get-Item -Path 'HKLM... Y_LOCAL_MACHINE\SOFTWARE...** のように指定できる。\\ <WRAP prewrap 100% #result> <code powershell> Hive: HKEY_L... 810187298-4091229748…} </code> </WRAP> <WRAP prewrap 100%> <code powershell> PS > Get-ItemProperty -Pa... tyManager\CapabilityClasses </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> AllCachedCapabil
get-alias @windows:powershell:commands
4 ヒット, 最終更新:
(alias: gal) ====== 現在のセッションのエイリアスを取得する。\\ <WRAP prewrap 100%> <code powershell> $ Get-Alias </code> </WRAP> <WRAP prewrap 100% #result_long> <code powershell> CommandType... マンドの別名を調べる場合は **-Definition** オプションを指定する。\\ <WRAP prewrap 100%> <code powershell> $ Get-Alias -Definition G... ode> $ gal -d Get-ChildItem </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> CommandType
object_manipulation @windows:powershell:commands
4 ヒット, 最終更新:
ect) ====== ===== オブジェクト操作関連のコマンドレット ===== <WRAP prewrap 100%> <code powershell> $ Get-Command -Name *-Object </code> </WRAP> <WRAP prewrap 100% #result> <code powershell> CommandType ... rShell.Utility** モジュールのコマンドレットを取得してソートする。\\ <WRAP prewrap 100%> <code powershell> $ Get-Command | Where-Obj... Sort-Object -Property Name </code> </WRAP> <WRAP prewrap 100% #result_long> <code powershell> CommandType
get-childitem @windows:powershell:commands
2 ヒット, 最終更新:
された場所にあるアイテムと子アイテムを取得する。\\ ===== 使い方 ===== <WRAP prewrap 100%> <code powershell> $ gci -h C:\Users </code> </WRAP> <WRAP prewrap 100% #result> <code> Directory: C:\Users Mo
get-cimclass @windows:powershell:commands
2 ヒット, 最終更新:
root\CIMV2"(Default) ===== **Windows 10**\\ <WRAP prewrap 100% #result> <code powershell> PS > Get-CimClass... NameSpace "root\WMI" ===== **Windows 10**\\ <WRAP prewrap 100% #result> <code powershell> > Get-CimClass -N
get-psdrive @windows:powershell:commands
2 ヒット, 最終更新:
====== Get-PSDrive (alias: gdr) ====== <WRAP prewrap 100%> <code powershell> $ gdr | ? {$_.Description -eq 'boot'} | fl -Property * </code> </WRAP> <WRAP prewrap result> <code powershell> Used