tail -f /dev/null

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

powershell

文字コードと改行コードの確認 (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.…