TELEGRAM | telegram-cli | some hints

always use the -W parameter, otherwise you will earn an error (38: can not parse arg #1) that means your peer is unknown sfaik its impossible to send strings to stdin address clients/channels whos name contain spaces by their id (user#1234567890 or channel#1234567890) use the -I and -N parameters still problematic? try https://bytesandbones.wordpress.com/2021/11/03/telegram-channel-linux-console-scripting-setup/

WSUS Database maintenance

Install ‘SQL Server Management Studio Express’ Run ‘SQL Server Management Studio Express’ as Administrator. Server is \\.\pipe\MICROSOFT##WID\tsql\query Backup your SUSDB. Check this: https://docs.microsoft.com/de-de/troubleshoot/mem/configmgr/wsus-maintenance-guide https://docs.microsoft.com/en-us/troubleshoot/mem/configmgr/wsus-maintenance-guide Short: Create a project, Create custom indexes (ONLY BEFORE YOUR FIRST REINDEXING, once in a databases lifetime), reindex (https://docs.microsoft.com/de-de/troubleshoot/mem/configmgr/reindex-the-wsus-database https://docs.microsoft.com/en-us/troubleshoot/mem/configmgr/reindex-the-wsus-database) HINT: Never distribute drivers via WSUS. Exclude them in WSUS. I […]

WSUS CLEANUP via Powershell

$WSUS = Get-WsusServer -Name SERVERNAME -PortNumber 8530Invoke-WsusServerCleanup -UpdateServer $WSUS -CleanupObsoleteComputers -VerboseInvoke-WsusServerCleanup -UpdateServer $WSUS -CleanupObsoleteUpdates -VerboseInvoke-WsusServerCleanup -UpdateServer $WSUS -CleanupUnneededContentFiles -VerboseInvoke-WsusServerCleanup -UpdateServer $WSUS -DeclineExpiredUpdates -VerboseInvoke-WsusServerCleanup -UpdateServer $WSUS -DeclineSupersededUpdates -Verbose