Uploading FortiWeb Manager-VM image
After extracting the image file, you get a file named upload-disks.ps1. We will use this file to upload the image to Azure. We will use Windows10 as an example to introduce the uploading process.
- Open Windows PowerShell ISE.
- Set unrestricted ExecutionPolicy.To upload the image successfully, make sure your account is set with the unrestricted LocalMachine execution policy.
- Check if you have the unrestricted LocalMachine permission:
Get-ExecutionPolicy -List
- In the printout, if the ExecutionPolicy for the LocalMachine Scope is not unrestricted, run the following command to set it to unrestricted:
Set-ExecutionPolicy -Executionpolicy Unrestricted -Scope LocalMachine
- Check if you have the unrestricted LocalMachine permission:
- Click the Open Script icon, select file upload-disks.ps1.
- Change the storage account name, resource group name, subscription name, local directory and container name to the ones you have set in the previous steps.
- Click the Run icon to run this script. The image file boot.vhd and log.vhd will be uploaded to Azure. It may take a while.
If you encounter the following error message, you can try uploading the image again.The pipe line was not run because a pipeline is already running. Pipelines cannot be run concurrently.