Search Results for security

Disk Cleanup in Windows Server

Analyze Component Store size with DISM in PowerShell

...with DISM /Online /Cleanup-Image, PowerShell Install-WindowsFeature and SFC /scannow Some reports are available explaining Microsoft Security Bulletin MS14-046 broke DISM /Online /Cleanup-Image /RestoreHealth, PowerShell Install-WindowsFeature with -Source parameter, and SFC...

Send email with PowerShell

PowerShell 5.0 logo

Easily send your DevOps reporting by email with this PowerShell function, because the Send-MailMessage cmdlet is obsolete. Of course you’ll be using StartTLS and authenticated SMTP as additional security. If...

“The length of the URL for this request exceeds the configured maxUrlLength value”

[HttpException (0x80004005): The length of the URL for this request exceeds the configured maxUrlLength value.]

...</requestFiltering> </security> </system.webServer> </configuration> AppCmd headerLimits AppCmd introduction and examples Configure IIS headerLimits using appcmd.exe (place in one line): appcmd.exe set config "Default Web Site" ^ -section:system.webServer/security/requestFiltering ^ /+"requestLimits.headerLimits.[header='Content-type',sizeLimit='100']" PowerShell...

About

...website using the following code: <a href="https://www.saotn.org" title="Sysadmins of the North, discuss about Sysadmin, Windows Server, IIS, security, website & WordPress, MySQL, GNU/Linux, optimization">Sysadmins of the North, discuss about Sysadmin,...

Install Windows Updates using PowerShell

PowerShell Get-Command PSWindowsUpdate lists all available cmdlets within the PSWindowsUpdate module

...---- ----- LAPTOPJANR ------- KB2267602 821MB Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Ve… Scan for, or detect, new updates with Microsoft.Update.AutoUpdate COM-object in PowerShell: (new-object -Comobject Microsoft.Update.AutoUpdate).detectnow()...