Site design / logo 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA. First get the client namespaces installed on your machine. Modify the LocalFilePath parameter of the Add-AzureVhd cmdlet to point to the location of the VHD file you want to upload. Upload the certificate 1. Since its using file streams, and not reading all the bytes, this has the benefit of working better with huge file transfers. how to verify the setting of linux ntp client? If you need more control, you should use FtpWebRequest. Is it possible to upload multiple files/reports (pbix files) in on go? Even later post but these Invoke-RestMethod solutions (and a few others) didn't work for me. PowerShell says "execution of scripts is disabled on this system. You may be presented with the documents pane to enter any mandatory property of the document. Stack Overflow for Teams is moving to its own domain! When adding a Code Sample, please choose the 'Normal (DIV)' formatting, in order to avoid text glitch over the page borders . Uses Content-MD5 header to guarantee. From this other answer, looks like you can use -cred in some cases and have to build out an Authorization header in others. PHP part related to upload (as far as I can tell) looks like this: