Find datastore for orphaned virtual machines

Hi
One person in our organization unregistered virtual machine but didnt delete it from disk. Now we dont know where vmdk files are residing and they are definitely taking up space
Is there any one liner on powercli where we can search for vmdk meaning datastore where these virtual machine files are stored. Or probably they could be orphaned since these files do exist but vm is no longer register with vCenter

Thread moved to VMware vSphere™ PowerCLI

Similar Messages

  • Could not find a valid Java virtual machine to load

    On a fresh copy of CFMX8, when I run updater 7, it responds
    'Could not find a valid Java virtual machine to load'.
    This is being installed on a Win2K3 server and this is on a
    'freshly minted' POC box solely for the purpose of
    installing/testing CFMX8 to determine how it compares to our
    CFMX6.1 environment.
    You will notice that it is NOT being installed in the default
    directory:
    JRun Version Information
    Vendor Macromedia
    Product Name JRun 4.0
    Build Number 108487
    Version Full Version
    License Type Trial License
    Serial Number JRD400-69341-58259-30688
    JRun 3.x Serial Number
    Restricted to Single IP No
    Installation Root D:\ISG\software\jrun4
    Expiration Date Mar 29, 2008
    Evaluation Days Remaining 29
    JDK path (JAVA_HOME): D:/ISG/software/jrun4/jre
    I do find it curious that I can run the Updater 6, and it
    seems to behave properly (it finds the VM). I ran it just as a
    test, then wiped everything to start over from scratch. For some
    reason do I need to direct Updater 7 to the installation that I did
    not have to do in Updater 6?
    Thank you in advance for your assistance - Jacques

    tried executing the following cmd, below is the following error:
    <<command i executed>>
    C:\Program Files\Java\jre1.5.0_09\bin>java -classpath "C:\Program Files\Java\jre1.5.0_09\lib\javaws.jar" com.sun.javaws.Main https://<IPddr>:8443/sample.jnlp
    Can you pls let me know how it can be resolved?Umm.. I am not sure, but I will start with
    a question. Why not do it this way?C:\Program Files\Java\jre1.5.0_09\bin>javaws https://<IPddr>:8443/sample.jnlp

  • Problems with Disc Permissions for Java Virtual Machine

    hi,
    My machine (10.6.6) crashed. I had the spinning beach ball.
    Force Quit and On/Off did nothing.
    I needed to unplug and remove the battery to restart.
    After that, I did Repair Disk Permissions.
    It finds a bunch of things for Java Virtual Machine/1.6.0/jdk
    It says it fixes it.
    But if I reboot and and run Repair Disk Permissions again,
    it still finds the same problems.
    How do I get it fixed?

    Hi,
    these permission errors are normal. There's nothing to be worried about. If you search around (you did search around first, right?) you'll find that most, if not all, Snow Leopard users see these messages.
    HTH.
    S.

  • Automatic Start Actions for a Virtual Machine

    Hi ,
    We configure some VMs on a cluster
    the default setting of automatic Start action is set to Nothing
    when the cluster is down of hyper-v service is stopped  , once the problem is solved , All VM will be run as it was running before the problem happened
    So What is different between the following options of automatic Start action
    Nothing
    Automatically start if it was running when the service is stopped
    And do you know why it is st for standalone Host not for the cluster as per this thread

    FYI - Automatic Start Actions in the settings of a VM are different once the VM is HA under Clustering.  Since the job of Clustering and HA is to keep that VM running.
    If you look here:
    http://technet.microsoft.com/en-us/library/cc732181(v=WS.10).aspx#BKMK_Machine
    You find this:
    Automatic actions let you automatically manage the state of the virtual machine when the Hyper-V Virtual Machine Management service starts or stops. However, when you make a virtual machine highly available, the management of virtual machine state should
    be controlled through the Cluster service. In this step, you reconfigure the automatic start action for the virtual machine.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • How to create a notification for new virtual machines created on Hyper-v Using SCOM or another way?

    Hi ,
    We need to  to create a notification for new virtual machines created on Hyper-v Using SCOM or another way
    thanks

    http://sincealtair.blogspot.com/2010/04/how-to-ask-questions-in-technical-forum.html
    Not nearly enough information.
    If you are asking about SCOM, it is better to ask in the SCOM forum -
    http://social.technet.microsoft.com/Forums/en-US/home?forum=operationsmanagergeneral
    .:|:.:|:. tim

  • VMM 2012: How to Configure Automatic Start and Stop Actions for a Virtual Machine?

    Does somebody know how to confgure Automatic Start and Stop Actions for a Virtual Machine in VMM 2012?
    I miss that option.

    Automatic Start or Automatic Restart actions are available for virtual machines running on a Hyper-V cluster from within Virtual Machine Manager.
    From within Virtual Machine Manager, bring up the Virtual Machine's properties:
    Click "Hardware Configuration"
    Click "Availability"
    Click "High", "Medium", or "Low" to enable automatic start/restart or
    Click "Do not restart automatically" to disable automatic start/restart
    Screenshot from VMM 2012 for a VM running in a Server 2012 R2 Hyper-V cluster:
    VMs running on a cluster have to be marked "Highly Available" and logically, Microsoft assumes that you'll want these VMs to be running all the time when this setting is selected.  If the cluster fails or needs to be restarted, you can set the priority
    by which a VM restarts, or you can set the VM to not restart at all when cluster services are restored by using the settings above.

  • Can I install Linux and then use the original Windows 8 OEM product key for a virtual machine on the same computer?

    I have ordered a new laptop and expect to receive it in 2-3 weeks.  The laptop comes with an OEM version of Windows 8 installed.  I wish
    to install Linux as the host operating system and create a virtual machine running Windows 8.  Can I legally use the product key from the OEM installation to activate a virtual machine that will only be used on the laptop that had the original OEM installation? 
    If so, what is the procedure to activate the copy installed on the virtual machine?
    This question has been addressed for Windows 7, but my searches did not reveal this question posed for Windows 8.

    Technically, no.  The OEM is licensed only for the physical hardware on the system.  It isn't licensed for virtual hardware.
    You may find you're unable to activate your OEM license in the VM.  A lot of OEM Windows look for specific hardware to verify they're being installed on the correct hardware.
    Although here: http://www.microsoft.com/oem/en/Pages/support-faq.aspx#fbid=Zh0SiBdas5I
    Q. Can I install OEM on a virtual machine (VMware)?
    A. You may install OEM in a virtual environment as long as you have a separate license for each instance of the software. It is fine to use the OEM version as long as it is properly licensed. To be clear, a separate version of software must be installed
    for both the “standard” and “virtual” installations.
    You still may not be able to activate if there is a hardware block.
    The best place to ask this is to Microsoft licensing, any response you get here, including mine, won't hold up since it's not an official answer.
    Q. Can I install OEM on a virtual machine (VMware)?
    A. You may install OEM in a virtual environment as long as you have a separate license for each instance of the software. It is fine to use the OEM version
    as long as it is properly licensed. To be clear, a separate version of software must be installed for both the “standard” and “virtual” installations.
    edit: removed the duplicate Q&A

  • 32bit graphics mode for Guest virtual machine

    Hi,
    Working in a project I got a question that I was unable to answer myself, so I turn to the experts :)
    We have an environment running with Hyper-V 2012R2 and guest that run Windows 2008R2. 
    Google earth has to run inside the Guest vm to be accessed via Citrix XenApp.
    Google Earth requests a 32bit graphics mode to be installed.
    So far no harm done.
    What we noted was that we only could select 16bits graphic modes in the guest vm, running Windows 2008 R2.
    The question is simple yet I can't find the answer, is it possible to have 32bit graphic mode options in a guest vm running 2008R2 with Hyper-V 2012R2?
    hope you can shed a light on this
    I've included the screenhot so you see it only shows 16bit modes.
    Thanks for the help
    Greetings
    Rob

    Hi Rob,
    I tested it just now , same result with you .
    Please try to use RDP to connect to that VM .
    Please refer to following similar thread that have discussed before :
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/7a04ad24-1690-4bf2-bacd-b6ba6002ab7f/hyperv-virtual-machine-unable-to-change-display-settings-32bit?forum=winserverhyperv
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Can I assign several physical storage locations for each virtual machine when using the replication-feature from Hyper-V 2012 R2?

    Hi everyone,
    I have 2x physical servers running Hyper-V 2012 R2. Each hosts several virtual machines. The VHDs of the VMs are stored on several dedicated physical disks to have a performance boost. For exampe if VM A has two VHDs attached I made sure that the VHDs are
    on different physical disks to have them not slow-down each other in case of intensive disk accesses.
    So far so good. I was looking forward to the replication-feature. The idea is to have the two physical servers have their primary running VMs being replicated to the other physical server and vice-versa. I was hoping to have the chance to choose for each
    individual VM where the replicated VHD will be stored. But instead I can only see the one location/path which is configured in Hyper-V Manager when I activate the replication-feature on the server.
    Is there by any chance a way how to select the storage location for each VHD/VM if using the replication-feature of Hyper-V 2012 R2?
    Thanks in advance.
    Cheers,
    Sebastian

    Secondly, you could replicate different VMs to different storage locations to perform some of the disk balancing you are trying to perform.  Lastly, you could copy the vhd file to a different location
    before starting the VM.
    .:|:.:|:. tim
    Hi Tim,
    thanks for the reply. Sorry, but I had some other tasks to take care of, so I wasn't paying enough attention to this thread.
    The part I quoted from your reply sounds exactly like the action I'd like to perform, but as you pointed out before this should not be possible.
    How can I perform the action (replicating each VM to a storage location) as you mentioned secondly? To sum it up again:
    2x physical machines carrying severel HDDs
    8+ VMs spread to run on the 2x servers
    when setting up replication I can only set the storage-location from server A on B and vice versa B on A
    Thanks again for your reply.
    Cheers,
    Sebastian

  • Time synchronization for SharePoint virtual machine

    Hi everyone,
    As a best pratice, i read in a technet article : "Disable time synchronization for each SharePoint virtual machine".
    Do i need to disable the Integration Service "Time Syncronization" in the virtual machine settings ?
    Is it better to do a NTP sync on each serveur ? (Virtual and physical machine)
    Thanks in advance for your reply,
    Sincerly,
    Anthony Picot

    Hi Anthony,
    yes, you should disable the Integration Services Time Sync per VM Settings, as this can lead to problems with the SharePoint timer service and yes, you can do an NTP Sync instead.
    http://technet.microsoft.com/en-us/library/ff621085(v=office.14).aspx
    Andrei

  • Custom Domain name for Azure virtual machine using azure websites

    Hie, I am using a cloud service (e.g cloud1) and it has a hosted VM in it (Windows server 2012). It is having a URL cloud1.cloudapp.net. So I want to use the domain name (e.g azuresite1.azurewebsites.net)created from azure.
      So how do I add the Cname record and everything in this setup .
      I already tried to use
    this but that didn't work
     What additional steps are required to add custom domain name to an azure virtual machine and, the custom domain name is also an azure website

    If you want to use azuresite1.zurewebsites.net then i think, you have to create a azurewebsite. If you have a custom domain then following should work.
    You have findout the IP that is attached to the VM. 
    Point your domain name to that IP (using domain dashboard)
    Now your domain points to whatever the site hosted on the VM (port 80)
    If you have more sites then, you have specify HostName for the site which you want to use with domain name.
    Try and let me know if this helped.

  • Can VirtualBox use a Boot Camp partition for a virtual machine?

    Can Sun VirtualBox be pointed at a Boot Camp partition to use it as a virtual machine, much like VMWare Fusion can?
    -John

    http://en.wikipedia.org/wiki/Virtualbox
    http://blogs.sun.com/fatbloke/entry/windows7_onvirtualbox
    Check the FAQ
    http://www.virtualbox.org/

  • Site to Azure replication - always get errors when trying to enable protection for a virtual machine

    I just setup my Azure account with Storage and Azure Site Recovery.
    All the servers are registered and I can see my host server configurations in Azure.
    But as soon as I can try to Enable Protection, after about 10 minutes I always get this error
    Unable to complete the request. Operation on the xxx.xxx.local server timed out.
    Try the operation again. (Provider error code: 2924)
    (But the way the xxx.xxx.local server is the name of the underlying Hyper-V host running SCVMM and my test machine to be protected. Is that the right machine Azure should be communicating with?)
    This happens if I initiate the protection from Azure or from SCVMM.
    The server I want to enable protection for is quite small and there appears to be no problem with my Internet connection.
    Prerequisites check
    Identifying replication target work okay
    And after the failure, Updating Provider states also completes okay
    Would folks have an idea where else I could be looking?
    Thanks

    Hi, can you please check if network proxy settings configured in the Microsoft Azure Recovery Services Agent are correct. This agent running on the Hyper-V host needs to be able to reach Azure. (You can find more details about this here: http://blogs.technet.com/b/virtualization/archive/2014/07/07/azure-site-recovery-authenticated-proxy-server.aspx)
    If that is correct, please look at event logs at “Applications and Services Logs->MicrosoftAzureRecoveryServices->Replication” and
    traces at a location like C:\Program Files\Microsoft Azure Recovery Services Agent\Temp.
    Sudhakar [MSFT]

  • RFC destination for VMC (Virtual Machine Container)

    Hi ,
    Just loaded the CRM 70 system (customers, materials, contacts, ... ) and the KB from the back-office (ECC 6.0).
    Calling the IPC via transaction COMMPR01 for a configurable material we have the following call in error :
    FUNCTION ipc_get_knowledgebase.
    CALL FUNCTION 'CFG_API_GET_KNOWLEDGEBASE' DESTINATION gv_vmc_dest
    The RFC destination 'gv_vmc_dest' is empty . How to setup the RFC destination for VMC and the configuration so SAP know the RFC destination is the one to use for the VMC.
    Thank you

    Klaus ,
    Thank you , yes VMC is on the same CRM7.0 server , I do get the following short-dump .
    Short text
        "Found no handler for remote function module CFG_API_GET_KNOWLEDGEBASE"
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLIPC_API_CFG_COMMAND" had to be terminated because
         it has
        come across a statement that unfortunately cannot be executed.
        The error occurred during an RFC call to another system.
        In the target system, a short dump has been written as well.
        More detailed information on the error cause can be found there.
    Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_EXTERNAL_ABORT"
        on the called page.
    Trigger Location of Runtime Error
        Program                                 SAPLIPC_API_CFG_COMMAND
        Include                                 LIPC_API_CFG_COMMANDU07
        Row                                     19
        Module type                             (FUNCTION)
        Module Name                             IPC_GET_KNOWLEDGEBASE

  • Can't pay for the virtual machine!!

    I had created a VM three days  ago and I  login and everything running fine. Then I couldn't use my free trial, so i convert the package to pay-as-you-go. Today I can't even pay for it. I don't know what is happening. Anyone can provide
    some advice on this? Thanks in advance.

    Hello,
    Did you  received any notification or error message when failed to connect to Azure VM? Can you logon to the Windows Azure Management portal? Please post more information for further analysis.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

Maybe you are looking for

  • Error while deploying web service in Netweaver application

    Hi, In my group, two members working in the development of a WebDynpro based application.  We have created a track and are using the same for development. For our application the team member 1 created a Dc say DC1 for EJBS(both entity and session) an

  • File upload and download through web Dynpro2.0.9. with Java

    Hai All,       I am working in web Dynpro2.0.9 with Java.For file upload and download "IWDResource" is used.But this package is not available in web Dynpro2.0.9.How to download and upload files through using this version?       Anyone can help me? Th

  • OIM Design Console in UAT pointing to test database

    Hello, I am running on OIM 11gr2ps2.  The configuration admin turned the uat environment to us.  When we started the OIM design console for uat, we noticed that it's pointing to the test database. We checked config/xlconfig.xml for uat and it's point

  • Why RAC services doesn't start automatically?

    Hi All, I have 2-node 10gR2 RAC installed on RHEL4. Whenever i restart the server, the services related to RAC are not starting automatically except VIP related services. Manually i have to start the services using crs_stop and crs_start commands. th

  • [Vox] Schedule doesn't record...

    OK, I've reloaded the MSIPVS v3 software and drivers from the main site so many times that I have almost memorized my serial number... I can watch TV just fine, the remote control works, I can record on demand and timeshift, I can even populate my sc