This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body{ | |
| font-family: Meiryo; | |
| background: white; | |
| font-size: 14px; | |
| } | |
| h1{ | |
| font-size: 200%; | |
| border-color: #1e50a2; | |
| border-bottom-style: double; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Runtime.InteropServices; | |
| namespace GetAppContainerSidFromName | |
| { | |
| class Program | |
| { | |
| [DllImport("userenv", SetLastError = true)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: | |
| :: WINDOWS SETTINGS | |
| :: | |
| :: キーボードの配列を英語配列にする | |
| %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters /v "LayerDriver JPN" /t REG_SZ /d kbd101.dll /f | |
| %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters /v "OverrideKeyboardIdentifier" /t REG_SZ /d PCAT_101KEY /f | |
| %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters /v "OverrideKeyboardSubtype" /t REG_DWORD /d 0 /f | |
| %SystemRoot%\System32\reg.exe ADD HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters /v "OverrideKeyboardType" /t REG_DWORD /d 7 /f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Outlook の送信トレイ情報を取得する | |
| Function Get-OutlookSentMail | |
| { | |
| Add-type -assembly "Microsoft.Office.Interop.Outlook" | out-null | |
| $olFolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type] | |
| $outlook = new-object -comobject outlook.application | |
| $namespace = $outlook.GetNameSpace("MAPI") | |
| $folder = $namespace.getDefaultFolder($olFolders::olFolderSentMail) | |
| $folder.items | | |
| Select-Object -Property Subject, SentOn, Importance, To, CC, BCC |
NewerOlder