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
| tzutil.exe /s "Tokyo Standard Time" | |
| $NewList = New-WinUserLanguageList -Language "ja-JP" | |
| $NewList.Add("en-US") | |
| Set-WinUserLanguageList $NewList -Force | |
| Set-WinUILanguageOverride ja-JP | |
| Set-WinHomeLocation 0x7A | |
| Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\ -Name "LayerDriver JPN" -Value "kbd106.dll" -Type String | |
| Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\ -Name "OverrideKeyboardIdentifier" -Value "PCAT_106KEY" -Type String | |
| Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\ -Name "OverrideKeyboardSubtype" -Value 2 -Type DWord |
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
| [Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | Out-Null | |
| $Server = "hogehoge" | |
| $Login = "hogehoge" | |
| $Password = "hogehoge" | |
| $DBName = "hogehoge" | |
| $TableName = "hogehoge" | |
| $SQLServer = New-Object Microsoft.SqlServer.Management.Smo.Server($Server) |
NewerOlder