PowerShell for Hyper-V: Shut Down VM

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

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

Stop-VM -Name {VM name}

Edge Canary: Add Extension From Microsoft Store

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.

Being based on Chromium, the new Microsoft Edge includes the extension architecture. Microsoft have created their own Store for extensions.

To add extensions to Edge, click on the ellipsis button and select Extensions:

Add Extension

Continue reading “Edge Canary: Add Extension From Microsoft Store”

PowerShell for Hyper-V: Start VM

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

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

Start-VM -Name {VM name}

Edge Canary: Installation

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.

With Edge Canary downloaded, we can now install it. Do this by launching the file you downloaded:

Downloading

The “installer” isn’t actually a real installer, but kicks off another download.

Continue reading “Edge Canary: Installation”

PowerShell for Hyper-V: Avoid Error Running PowerShell Scripts

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

If you try to run a PowerShell script, you will receive an error:

PowerShell error trying to run script

File C:TempResume HVVMs.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at 
https:/go.microsoft.com/fwlink/?LinkID=135170.
    + CategoryInfo          : SecurityError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnauthorizedAccess

This is deliberate on Microsoft’s part to make sure a script is not inadvertently run. You can enable running of scripts, but this is very risky.

However, there is a command you can run which will, for only the script being run, allow the script to run (replace the highlighted section with your script file):

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File {your script}

The relevant section is

-ExecutionPolicy Bypass

which tells PowerShell that it may bypass the execution policy restriction.

Edge Canary: Download

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.

Downloading Edge Canary is easily done from the Microsoft Edge Insider site by clicking the blue button for the desired channel; I am using the Canary Channel:

Download Canary Channel

Continue reading “Edge Canary: Download”

PowerShell for Hyper-V: Series Index

Hyper-VWhen I joined ISC Software Solutions I received a new work laptop. This gave me both the need and, importantly, the time to get everything setup as I need it. This included creating new demo VMs to use.

In the past, I had one VM for each version with everything installed. This time round I have created two VMs, one hosting a Domain Controller and the other a SQL Server, which I will then use with a version based server.

To make things a little easier, I have created some PowerShell scripts to handle the VMs. This is a short series of posts for the scripts I have (none of them are complex, but I’m posting them here for easy access.

Continue reading “PowerShell for Hyper-V: Series Index”

Edge Canary: Why Is Edge Being Remade In Chromium?

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.

The Microsoft Edge browser launched a few years ago to replace Internet Explorer, bit is now itself being replaced with a Chromium based version. Microsoft announced this in December last year:

For the past few years, Microsoft has meaningfully increased participation in the open source software (OSS) community, becoming one of the world’s largest supporters of OSS projects. Today we’re announcing that we intend to adopt the Chromium open source project in the development of Microsoft Edge on the desktop to create better web compatibility for our customers and less fragmentation of the web for all web developers.

As part of this, we intend to become a significant contributor to the Chromium project, in a way that can make not just Microsoft Edge — but other browsers as well — better on both PCs and other devices.

The reason for the change appears to be the cost of maintaining their own rendering engine, which was the same logic applied by Opera a few years ago when they ditched their Presto engine and moved to Chromium (it also saw them dump 99% of the features of a web browser including bookmarks, which they have slowly been adding back).

This move by Microsoft means that the Internet is now going to be dominated by Chromium based browsers (Chrome, Edge, Opera, Vivaldi, Brave amongst others) with Firefox and Safari playing increasingly small supporting roles.

Despite talk by Microsoft of collaborating directly with Google and others for contributing to the open source project, there are concerns that the Internet will be heading back to the bad old days of IE6 where one browser dominated to the detriment of the Internet; Firefox has expressed concerns along these lines.

There have already been browser specific tags and CSS created as companies decide to interpret the HTML specification differently, or advance beyond what has been finalised. This has made developing for the Internet more complex as you need to code for different rendering engines. From one perspective, Microsoft using Chromium will simplify development, but long-term browser lock in and ignoring of standards becomes more likely.

Only time will tell if these concerns come to fruition; unfortunately, if they do, it will be too late and we will be locked into an Internet dominated and effectively controlled by one browser.

Edge Canary
What Is Edge Canary?
Why Is Edge Being Remade In Chromium?
Download
Installation
Add Extension From Microsoft Store
Add Extension From Chrome Play Store
Dark Mode

Edge Canary: What Is Edge Canary?

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 Edge is currently in development and has two “channels” currently available:

  1. Dev Channel, which is updated weekly. The dev builds are the best representation of the improvements in the past week. They have been tested by the Microsoft Edge team, and are generally more stable than Canary.
  2. Canary Channel, which is updated daily. Want to see what Microsoft were working on yesterday? Canary will be released automatically almost every night to keep you up to date on Microsoft’s progress.

As development progresses, a Beta Channel, which updates every six weeks, will become available. This channel will be the most stable Microsoft Edge preview experience. It will be here soon, after we’ve had a chance to learn and improve in our other channels.

For this series, I’ve opted for the Canary Channel.

Run Application Error Generating Remittances

Microsoft Dynamics GPI was onsite with a client a while ago helping them create new Citrix XenApp Gold Build Servers. When users were testing, they encountered the following error when generating remittances:

Run application error message

RUN APPLICATION ERROR

"C:UsersTEMP~1.FLAppDataLocalTempCheck Remittance~2.docx" '
returned 5

Continue reading “Run Application Error Generating Remittances”