Any use of the SRM group queryvmprotection protection method?

I am trying to find a list of VMS protected status, in particular the statutes, which are problems (lack the hard drive for example).

Usually this appears in the Protection Group-> VMS as ' device not found: hard drive X.

Looking through the api, queryvmprotection method of protection groups can have a "field of situation.

I used the BenMeadowcroft function to get the protectiongroup and then tried to pass moref a vm in the method

SE connect-VIServer < vcserver >

Connect-srmserver

$pgs = get-ProtectionGroup

$vm = get - VM, vm >

$pgs [0] .queryvmprotection (@($vm.) ExtensionData.MoRef))

I get the following error.

Exception by calling 'QueryVmProtection' with '1' arguments: "value cannot be null."

' Parameter name: collection.

C:\Users\ < myusername > \Desktop\funcs.ps1.ps1:452 char: 26

+ $pgs [0] .queryvmprotection < < < < (@($vm.) ExtensionData.MoRef))

+ CategoryInfo: NotSpecified: (:)) [], MethodInvocationException)

+ FullyQualifiedErrorId: DotNetMethodException

I tried passing the moref on its own (which is not part of an array) with the same error.

Anyone have success with queryvmprotection?

If the previous tests were my lab environment, which is installed in a shared site. I think that some of these APIs don't play well with the shared site (I had problems with the vm protect as well but not unprotect).

In production, I did the same thing as above. With the virtual machine which should already have good configuration, it gave me the error about the collection. With the virtual machine which was really not configured, he said 'needsconfiguration' when checking for the virtual machine against the protectiongroup (as expected).

I think I'm OK for now, I hope that the API works best with shared site in the future (maybe need a flag - remoteserver for connect-srm)?

Tags: VMware

Similar Questions

  • Clarification, pls. Any use of the SD card before update?

    Please do not use this as a cause of ranting, etc, but I need a simple clarification that I can't find clearly in any of the threads SD.

    If I understand correctly, an SD card is completely unusable now. For example, the files cannot be transferred here via a program such as Quick Office.

    Is this correct? It would be completely inaccessible as it sits.

    Thank you

    That is right. We expect a software update to enable it. at this time there is no support.

  • All protected LUNS must be identified separately within the Group of Protection of SRM. But this isn't the case!

    Hello

    I installed the latest version of SRM in our environment. We have 2 IBM midsize v7000 storage on primary site and disaster. We use array based replication.

    I have configured groups of consistency for all LUNs replicated through v7000 storage.  All LUNS are replicated successfully. I installed the last IBM midsize SRA on two SRM server. There is no problem...

    Everything is ok. But; When I try to create protection MIS group, I couldn't see LUN separately. If you look at the images below, you will understand what I mean;

    I have four different coherent group on v7000.

    3.jpg

    The SRA has been installed successfully.

    1.jpg

    I see all the cohesive group of v7000 under the SRA through SRM.

    2.jpg

    IT'S MY PROBLEM! All LUNS must be separately! But I see a group of data store! It must be like on the right side. I want to create different Protection Group all LUNS. But I couldn't choose lun separately.

    who knows what is wrong?

    4.jpg

    Thank you.

    Check if any of your virtual machines have VMDK on all LUNS, because you'll be able to create a Protection Group separately for each single logic unit number if a virtual have virtual disks on more than one logical unit number.

  • Restart issues "Group Policy Client Service could not connect." "The media is write protected."

    The problem arises when a Norton message requires a reboot. It does not get me beyond the point when Windows prompts for a password. The words appear on screen reboot problems ' Customer Service Group Policy has no connect. " "The media is write protected."

    I cause the phone to crash in order to activate the Windows repair program.  It works but the custody of Norton is disabled. A program Norton Repair heals so that the fault.

    I had several chat sessions with Norton, but they now point me to Microsoft saying that it is a Windows program that is related to Norton.

    Hi ColinAW,

    Your computer is connected to a domain?

    The question could be linked to the program Norton himself. I suggest you try the following steps:

    Step 1: Disable Norton Security software; Follow the steps mentioned in the link below

    Disable antivirus software

    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Important: Activate security software once everything is done.

     

    Step 2: The computer in the boot and a test

    Follow step 1 in the link below,

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem.

    Continue with the remaining steps to pin-point on the third party service.

    After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.

    Important: n ' forget not the computer to start normal follow step 7 in the link.

    If this problem occurs only updated Norton software, of course, the problem is related to the Norton software, and you can check with Norton again for any patches to address this issue.

    http://www.Symantec.com/Norton/support/index.jsp

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I need a free Web Site that is easy to use. I'm afraid to use all the free ones I found on Google. Can any one recommend a free Web Site that can be trusted?

    I have a group that I like to keep up-to-date on everything that happens. I think that a Web Site would be the best way to go, because it would be easy to find people looking for the group. I don't know that that trust. I wish that I could use for people to join the group, but I am determined to keep confidential the members name, so I think I need a separate tool to address book type if I want to keep the names and other confidential information. Any ideas? The list of the NSN CONTACTS confidential or is it available for others see and copy? Microsoft would be able to see and use the list? One day, I added several friends to my contacts list. A few days later, I saw them on Facebook. I couldn't believe it. I had to say Facebook, it could take my friends or did automatically?  Is there a safer address book, that I can use? Yahoo would be better? I have to be able to send an email to those contacts easily.

    I have a group that I like to keep up-to-date on everything that happens. I think that a Web Site would be the best way to go, because it would be easy to find people looking for the group. I don't know that that trust. I wish that I could use for people to join the group, but I am determined to keep confidential the members name, so I think I need a separate tool to address book type if I want to keep the names and other confidential information. Any ideas? The list of the NSN CONTACTS confidential or is it available for others see and copy? Microsoft would be able to see and use the list? One day, I added several friends to my contacts list. A few days later, I saw them on Facebook. I couldn't believe it. I had to say Facebook, it could take my friends or did automatically?  Is there a safer address book, that I can use? Yahoo would be better? I have to be able to send an email to those contacts easily.

    I strongly recommend against the use of a web site. Do it by e-mail instead. You can set up a free mailing list using www.yahoogroups.com.  And you can make a group private so that no one can reach without your approval.

    Once you have implemented the listerv and joined everyone in it, you will have an e-mail address for the group. Any message sent to this address will be automatically forwarded to all members of the group.

  • Can embed you fonts in a pdf file after that the pdf has been created? I received a PDF of an another designer, made a few minor corrections, and now the printer cannot be used because the original pdf didn't have all fonts embedded. Any ideas?

    Can embed you fonts in a pdf file after that the pdf has been created? I received a PDF of an another designer, made a few minor corrections, and now the printer cannot be used because the original pdf didn't have all fonts embedded. Any ideas?

    Use the Acrobat Pro preflight!

    To incorporate the missing fonts in Acrobat Preflight profile will incorporate the missing fonts in your PDF file assuming that:

    (1) the fonts in question are installed on your system and

    (2) the police themselves is not protected against the incorporation (they can at least see and print incorporation.

    -Dov

  • Any possibility using only the built-in GPU?

    Mac OS X 10.11.6

    MacBook Pro(Retina,15 ",2015 mid)

    With graphics cards AMD one dedicated

    I wonder if it is possible to use only the GPU integrated while playing games. Cause I discovered that some games are no need to use the AMD GPU, but it is automatically switched to the dedicated GPU and drains the battery.

    Hope there is a solution for this problem. Thank you!

    It is somehow a conditional scenario suggested in this article

    on how to make some graphics settings may remain in service, here:

    • Set performance on MacBook Pro - Apple Support chart

    • MacBook Pro: how determine what GPU is in use - Apple Support

    {These links seem to show older versions of material your model}.

    Don't know if there is a way hidden within the system to change the default to

    stay on the one you want to be the first choice; Maybe in the command 'terminal '?

    In any case...

    Good luck in this case!

  • When I use the socks proxy in firefox, I can travel only and can not download any file from the internet.

    When I use the socks proxy in firefox, I can only navigate through internet and cannot download any file from the internet.

    I have no problem when using HTTP proxy servers and have no problem managing which connection to internet without proxy.

    I found this problem due to the integration of the browser evolved in the idm software, and when I turn this option off in idm problem will be solved

  • someone has any idea how to get Apple to allow apps that EFFECTIVELY controls the use of the children?

    I'm just frustrated.

    I have a child of 12 years and a house full of i-products.   The problem arises because I want to allow him to use a planning application and some other apps education during school time, but not the games and the wifi and so on.     We got the House and I would continue to allow the use of the i-device to school, but it doesn't seem to be an app that will enough allow me to the things of the lock upwards.    I don't have the time to constantly monitor, it's ridiculous.

    Sometimes there are ideas as to the allow him to use educational applications and its music from itunes, but not anything about wifi, or any other games or Web sites.    There are other times where I'd like it to be allowed to use iMessage and not much else.

    The problem is that there is something out there that allows this level of control.    Apple has rolled out their "our Pact" that does not come close, but it's a start.     And no other control parental app or program allows control level "app." they will allow you to lock all applications (which are not integrated in the iOS) or not, but I can not choose.     Restrictions are unnecessary and won't allow me to lock the wifi or not to allow the addition of new locations of wifi.

    It's to the point that they I need to new devices, I'll phase out home iOS devices, unless I can get a control.

    Someone at - it a have a way around this?    Someone has any idea how to get Apple to listen to?

    For an application to the time-, you can use guided access

    Use access guided with iPhone, iPad and iPod touch - Apple

  • I can't 'click' on the top inch of any screen in the case of firefox. It won't let me sign in and out of some Web pages. This happens not when I'm on my desk or using IE. I like firefox, but it's frustrating. Help!

    I can't 'click' on the top inch of any screen in the case of firefox. It won't let me sign in and out of some Web pages. If I reduce the screen that disappears not or the other. This happens not when I'm on my desk or using IE. I like firefox, but it's frustrating! Help!

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the Firefox 4, 5, 6, 7 SafeMode pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox SafeMode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

  • I used all the memory in my iPad and you want to delete some pictures.  Any way to select a large number of photos for deletion at the same time, rather than individually?

    I can't find a way to the iPad to choose a large number of photos at the same time (similar to the use of the SHIFT key to select a group of files in windows).  I would like to delete a large number of photo files to save storage space can be used for the future taking pictures.  I wonder if there is an easier way to do that than to have to select and remove each file individually rather than delete them as a group.  By the way this should be done twice if you want immediate deletion.  There must be an easier way.  We appreciate and support.

    Open your photos > press Select > drag your finger through the photos you want to delete. To remove deleted lately, open the recently deleted album > press Select > tap Delete everything in the upper left corner. -AJ

  • Given that I have updated to IOS 9.2 my Ipad 2 Air is discharge the battery in 12 to 14 hours, even without any use. Before the update, after a day of average use of the battery was still 70-75%. How can I reinstall the IO 9.1?

    Given that I have updated to IOS 9.2 my Ipad 2 Air is discharge the battery in 12 to 14 hours, even without any use. Before the update, after a day of average use of the battery was still 70-75%. How can I reinstall the IO 9.1?

    Hello

    The best way to save battery life is to go into the settings and turn off Apps Refresh

    I now get 3 / 4 hours of battery life more.

    You cannot return to a previous ios 9.1

    See you soon

    Brian

    PS

    If you still have a problem iCloud backup now

    Then restore settings to get rid of any bugs.

  • Why my Macbook Pro boot used place in any mode but the comments?

    My Macbook Pro almost 5 years, worked very well, then the beech ball began to come a lot and programs would take forever to load. I tried to stop him to restart in diagnostic mode, but it would not closed and just hung up for about an hour.  I hit the power button to force a power down and when I went to turn it on again, it does not start in safe mode or diagnosis.  He goes to the login screen and gives me the choice of my log in or invited, but starts if I select my journal going through the motions leading to the top of the load bar, but before he gets to the end, she stops.  I can start in guest mode and access the internet, but I can't do anything from there.  If I click on the Apple, it gives me the opportunity to go to the startup disk, and when I click it, it asks which drive I use, (only one option, HARD drive), but when I select it, there is nothing there.

    I can't really afford a new Macbook for now, and until the last few days it works very well, so I prefer to get it fixed to the top if I can, so any help is appreciated.

    See you soon,.

    Troy

    Hey there,

    I see your message that you are unable to connect to your user account, even in safe mode.  I would like that you try to start your computer in OS X Recovery and then try to repair your hard drive.  If the problem persists after that, you can reinstall OS X.

    To start your computer from recovery, restart your Mac and press the command and R keys at startup.

    Hold these buttons until the Apple logo appears. After your computer has finished starting upward, you should see a desk with an OS X menu bar and window OS X Utilities with the above options. If you see a login window or your own office instead of the utility window, it is possible that you do not press command + R early enough. Restart your computer and try again.

    Choose the option you want to use from the utility window or in the Utilities menu.

    OS X: on OS X Recovery

    Take care.

  • Apple Mail only works when I restart in "safe" mode otherwise it becomes crazy, using all the capabilities of the CPU.  Seems to be linked to the case.  Any help?

    Apple Mail only works when I restart in "safe" mode otherwise it becomes crazy, using all the CPU capacity without any correct output.  Seems to be connected with caches.  Any help?

    Generally, if your Mac works correctly in Mode safe, but not normally, then you have a third-party software that runs at the start of the origin of the problem.

    Safe mode disables most of the extensions of third-party startup and some Apple hardware, so it could be another problem for Apple, but I have never heard of your problem.

  • Any camera regardless of the interface is available for use with the LabView interface.

    Hello

    I intend to go for some CMOS camera,

    but I have a huge doubt before buying, the camera of menttioned above is not anywhere in this list. Nor can I see any type being supported USB device.

    The question is

    1. is a camera regardless of the interface is available for use with the LabView interface?
    2. Can I build a VI to communicate with any device image and recording of camera and take the data?

    Any kind of help or advice is greatly appreciated... I have to buy a CMOS camera and begin to run.

    Thank you...

    Hello Virginia,.

    I am pleased that this information has been useful, one thing I wanted to mention is that USB 3.0 has its own standard USB 3.0 Vision which is currently not supported. If this camera is also Direct Show compatible then you will be able to acquire an image using IMAQdx and manipulate all the attributes that are published to the API Live Show.

    I hope that USB 3.0 Vision will be supported in the near future, and we tentatively announced for this standard of communication for the August 2013 Vision Acquisition Softwareupdate.

    See you soon,.

    -Joel

Maybe you are looking for