検索
以下に検索結果を表示します。
全文検索:
- get-command
- ファイルだけを表示する。\\ 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>
- get-acl
- を取得する。\\ ===== ディレクトリのセキュリティ記述子を取得する ===== <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
- ===== 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
- === 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
- get-item_property_value
- 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
- (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
- 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
- された場所にあるアイテムと子アイテムを取得する。\\ ===== 使い方 ===== <WRAP prewrap 100%> <code powershell> $ gci -h C:\Users </code> </WRAP> <WRAP prewrap 100% #result> <code> Directory: C:\Users Mo
- get-cimclass
- 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
- ====== Get-PSDrive (alias: gdr) ====== <WRAP prewrap 100%> <code powershell> $ gdr | ? {$_.Description -eq 'boot'} | fl -Property * </code> </WRAP> <WRAP prewrap result> <code powershell> Used