tail -f /dev/null

If you haven't had any obstacles lately, you're not challenging. be the worst.

powershell

Windows Server2016 で OS/.NET Framework TLS1.2 security protocol のみを有効化する

Environment Windows Server 2016 PowerShell 5.1.14 .NET Framework 4.8 Overview Windows Server 2016 は SSL3.0, TLS1.0, TLS1.1, TLS1.2 をサポートしている. Client application が TLS security protocol version を明示しない限り、Windows が既定で …

文字コードと改行コードの確認 (PowerShell と nkf で)

用意するもの Get-WmiObject Win32_OperatingSystem SystemDirectory : C:\Windows\system32 Organization : Amazon.com BuildNumber : 14393 RegisteredUser : EC2 SerialNumber : 00376-40000-00000-AA753 Version : 10.0.14393 $PSVersionTable.PSVersion…

IIS: Enhanced LoggingでX-Forwarded-For fieldを追加する

作業メモ。 Environment IIS10 当該featureは8.5 ~ PowerShell webadminstration module PS> Add-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -filter "system.applicationHost/sites/site[@name='<site_name>']/logFile/customFields" -name "." -val</site_name>…

Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send.

環境 Windows server 2016 Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe PSVersion: 5.1.14393.3471 PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.3471 BuildVersion: 10.0.14393.3471 CLRVersion: 4.0.…