Network Connection Status Indicator (NCSI) TEST

Description Network Connection Status Indicator (NCSI) is the little Network icon on the right side of your Windows Taskbar. It will show a red X when there is no network connection and a yellow triangle when there is No Internet connection.While browsing and other Internet related functions may still be available (when the yellow triangle … Read more

How to enable WMI monitoring on Windows

First, set the local security policy You’ll need to make sure the local security policy for network adapters is set to private, rather than public or not configured. The steps below describe how to set that policy against unidentified networks. But you should also check any other listed networks to avoid strange errors when configuring WinRM. From the start menu, … Read more

PowerShell script as a Windows scheduled task

If the problem you’re having is with Execution Policy, then you can also set the execution policy of a specific invocation of PowerShell. This is what I usually do when executing PowerShell through a scheduled task: Why? -NoProfile This ensures that you don’t rely on anything in the user’s PowerShell profile, and avoids the overhead of … Read more

Exporting a PFX Cert to Base64 Cer and Key files

Getting the .CER file Start by exporting the cert nomrally throguh MMC. On the Certificate Export Wizard, do not export the private key. Change the encoding to BASE-64 and export cert cert as you normally would. Getting the .key file Export the key again from MMC but this time, export the private key. This will … Read more

Redirect all HTTP to HTTPS in IIS

create a host wide redirect using IIS Manager. Select URL Rewrite, Add Rule(s)…, and Blank rule. Name:Redirect to HTTPS Match URLRequested URL: Matches the PatternUsing: WildcardsPattern: *Ignore case: Checked ConditionsLogical grouping: Match AnyCondition input: {HTTPS}Check if input string: Matches the PatternPattern: OFFIgnore case: CheckedTrack capture groups across conditions: Not checked Server VariablesLeave blank. ActionAction type: RedirectRedirect URL: https://{HTTP_HOST}{REQUEST_URI}Append query string: Not checkedRedirect type: Permanent (301) Apply the rule and run IISReset (or … Read more