none
get-all-vms-in-all-subscriptions.ps1 - does not display anything RRS feed

  • Question

  • Hello guys

    I run get-all-vms-in-all-subscriptions.ps1 and don't get any display.

    tried to replace the $cred with this 2 lines and still nothing :

    --------------------------------------------------------------------------

    $secureStringPassword = ConvertTo-SecureString "{Pass}" -AsPlainText -Force

    $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist "{username}", $secureStringPassword

    ------------------------------------

    off course when login with the same user and running get-azurermvm I get a list of my VMs.

    please advice

    Sharon


    • Edited by Sharono12 Monday, August 21, 2017 7:42 AM
    • Moved by Bill_Stewart Monday, October 2, 2017 7:10 PM This is not "fix/debug/rewrite this script I found on the Internet for me" forum
    Monday, August 21, 2017 7:41 AM

All replies