Git Product home page Git Product logo

azure-vm-snapshots's People

Contributors

bobalob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

andocromn

azure-vm-snapshots's Issues

Little issue in operation delete snapshot with force switch

Hello,
When I run "Delete-AzureRMVMSnap" with "Force" switch, operation is done successfully. But one exception is thrown. Error text:
You cannot call a method on a null-valued expression.
It shows on variable "SnapBlobs".
I believe it's because of in branch for "force" a code for setting a variable is missing (see line 148 in file "AzureSnapFunctions.ps1"). Specifically the text:
$SnapBlobs = Get-AzureRmVmSnap -VMName $VMName -SnapshotGUID $Guid -GetBlobs

Revert error - missing method named StartCopyFromBlob

Hello,

First, thanks for your good work.
Second, whenever I try to use function "Revert-AzureRMVMSnap" and choose snapshot, I get error (just after info "Reverting disk 0..."):

Method invocation failed because [Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob] does not contain a method named 'StartCopyFromBlob'.

It originates from file AzureSnapFunctions.ps1:216 char:21

VM is already erased, but so far restore still waiting for finishing snapshot copy. I guess that after error it never happen so VM is lost.
What can I do?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.