WSUS Commands

wuauclt /detectnow

WSUS Commands in Windows 10 / Server 2016:

usoclient StartScan

WSUS in PowerShell:

Microsoft Training

Right then, Microsoft have fucked around with their training AGAIN and a load more exams are retiring as of April 30th. A whole bunch of them have already been retired on 31st March.

The new aim is Role-based Certifications

The Windows exams have only just been released and are not on here as of yet (MD-100, MD-101). Fundamentals is a good start…

Please note that the fundamental exams DO NOT count towards the next level of exams (MCSA, MCSE, MCA)!

Here’s a good link for whats been binned, about to binned and what the replacements are:

Confused yet? I bloody was

Windows 10 1809 Optional Features (inc RSAT)

Windows 10 from 1809 onward, pulls optional features from WSUS so will show no available updates unless they are configured.

To get around this you can configure a PC to search online for available optional features…

Run “gpedit.msc” to edit your local computer policy The setting in question is: Computer Configuration\Administrative Templates\System\Specify settings for optional component installation and component repair

My local policy seems to have defaulted to “Disabled” – after changing it to “Enabled” and selecting the checkbox labeled “Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)” the RSAT tools installed for me.

Then you can powershell to get the updates you need e.g.:

Add-WindowsCapability –online –Name “Rsat.ActiveDirectory.DS-LDS.Tools~~~~”

Check out this link for lots more options!

SSL for WordPress

Force WordPress SSL (HTTPS)

The links above are pretty good so follow them but I would use the following amendment to the .htaccessfile…

# HTTP to HTTPS redirect
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R=301,L,NE]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Make sure you put the rewrite section ABOVE the default WordPress section.