PowerShell Snippets: Write-Output

PowerShellThis post is part of the series on PowerShell Snippets.

The following PowerShell command will output the supplied message to the PowerShell console (replace the highlighted section with the message to output):

Write-Output {message]

Network Shell Snippets: Delete Bound SSL Certificate

PowerShellThis post is part of the series on Network Shell Snippets.

The following Network Shell command will delete the bound SSL certificate:

netsh http delete sslcert ipport=0.0.0.0:28666

Change the highlighted section to the port number to which the SSL certificate is bound.

Network Shell Snippets: Delete URL Reservation

PowerShellThis post is part of the series on Network Shell Snippets.

The following Network Shell command will delete the specified URL reservations:

netsh http delete urlacl URL={reserved url}

Replace the highlighted section, including the curly brackets, with the URL reservation to be removed.

Network Shell Snippets: View URL Reservations

PowerShellThis post is part of the series on Network Shell Snippets.

The following Network Shell command will list all URL reservations:

netsh http show urlacl

PowerShell for Hyper-V: Resume VM

Hyper-VThis post is part of the series on PowerShell for Hyper-V.

The following PowerShell command can be used to resume a suspended virtual machine (replace the highlighted section with the name of your virtual machine):

Resume-VM -Name {VM name}

PowerShell for Hyper-V: Suspend VM

Hyper-VThis post is part of the series on PowerShell for Hyper-V.

The following PowerShell command can be used to suspend (pause) a virtual machine (replace the highlighted section with the name of your virtual machine):

Suspend-VM -Name {VM name}

Edge Canary: Dark Mode

Edge CanaryMicrosoft have recently announced they are ditching the current version of their Edge browser in favour of a Chromium based browser. In this series, I am going to take a look at the Canary version of this new browser.

Microsoft have been adding dark modes to other applications and websites, but have unfortunately not done so with the new Edge. At the least I’d expect it to respect the Windows themes settings, if not to have a separate option within the browser.

The other way this might be handled is via a theme, but Edge doesn’t seem to support themes. I did try to install a theme from the Chrome Web Store and an error was produced.

Adding a dark mode or support for themes may be on the Microsoft roadmap for Edge, but I’ve not been able to find any information on this.

PowerShell for Hyper-V: Save VM

Hyper-VThis post is part of the series on PowerShell for Hyper-V.

The following PowerShell command can be used to save a virtual machine (replace the highlighted section with the name of your virtual machine):

Save-VM -Name {VM name}