How to filter specific operating systems

Hello

I'm trying to filter specific operating systems. That's what I have so far but it does not work:

New-VIProperty-name ToolsStatus - ObjectType VirtualMachine - ValueFromExtensionProperty "Guest.ToolsStatus" - Force
New-VIProperty-name GuestOS - ObjectType VirtualMachine - ValueFromExtensionProperty "Config.GuestFullName" - Force


Get - VM | Where-Object {$_.} Config.GuestFullName - Notlike "Microsoft Windows Server *"- and $_. {Name.Config.GuestFullName - Notlike "Linux *"} |
Select Name, PowerState, ToolsStatus, GuestOS

I think it should be - and instead of one - or.

I also changed the NotLike to NotMatch, avoids the asterisk and the text can appear anywhere in the string

Try like this

New-VIProperty-name ToolsStatus - ObjectType VirtualMachine - ValueFromExtensionProperty "Guest.ToolsStatus" - Force

New-VIProperty-name GuestOS - ObjectType VirtualMachine - ValueFromExtensionProperty "Config.GuestFullName" - Force

Get - VM | Where-Object {$_.} GuestOS - NotMatch "Microsoft Windows Server" - and $_. GuestOS - NotMatch "Linux"} |

Select Name, PowerState, ToolsStatus, GuestOS

Tags: VMware

Similar Questions

  • How to deal with operating system windows 8.1 and apps on usb device

    Hi, I have a laptop Lenovo G505. Windows 8 64-bit was preinstalled in it. Later, I upgraded to 8.1. Laptop is almost 9 months and still under warranty. Since a few days, built Lenovo solution Center alert this analysis of hardware detected failures in one or more devices. On suggestion of Lenovo, I ran hdtune pro app in my machine and it also detected 3 hard drive errors. As my machine is under warranty, Lenovo is ready to replace my hard drive with a new one. But they say that it is the responsibility of the customer to return the windows 8.1 operating system and install in the new drive and their liability is limited to the replacement of the hard disk only. I am not computer savvy and I request concerned to guide me how to deal with operating system windows 8.1 on external media like USB, DVD, and install in the new drive. I also installed a number of apps and paid games. Therefore, I would like to resume these games also files so that I need not buy again. Assistance in this regard is required.

    Hello Mohan,

    Thanks for posting your query in Microsoft Community Forum.

    I can of course understand the situation and will be happy to help with your query.

    Let me ask you;

    • You have the key product for Windows 8 or 8.1?

    You can create an installation media (DVD/USB) for Windows 8.1 and re-install when you want. However, in order to create an installation media for Windows 8.1, you need the product key. If you don't have the product key for Windows 8.1, you can not create installation media.

    You can create the installation media for Windows 8 by using the product key Windows 8 If you have. In this case, install you Windows 8 first and then go to Windows 8.1 through store.

    As far as your paid apps (purchased by store) are concerned, you should be able to install them as soon as you sign in with the same Microsoft Account where apps were purchased.

    You can see the steps indicated by Ronnie Vernon replied on 24 December2013, re - install paid apps.

    You can follow the steps below to create installation media.

    1. Run the program Windows 8.1 configuration or installation of Windows 8 (depending on the availability of the product key for the specific operating system.
    2. When you are prompted to run or save the file, choose run

    3. When you are prompted to enter a product key, enter the 25-character product key, that you received when you purchased Windows 8.1 (or Windows 8).

    4. When you are prompted to install Windows 8.1 (or Windows 8), select install by creating media and then click Next.

    5. Select the type of media you want to use: either a Flash DRIVE or a DVD.

    To create a USB flash drive

    1. Click on the USB flash drive.

    2. Plug the USB key into a USB port on your PC.

    3. When you are prompted, select the USB key that you want to use, and then click Next.

      If you have files on the USB flash drive, it will remove them.

    To create a DVD

    1. Click on the ISO file , and then select the location where to save the ISO file.

    2. Insert a blank recordable DVD into your DVD drive.

    3. Burn the ISO of the DVD file using Windows disc Image burner, or another program DVD burning.

    Note: Ensure that the USB or DVD key that you use has nothing else stored on it and has a sufficient free space to download the Windows 8.1 Installer: about 2.3 GB for the 64-bit version.

    You can also read the article below to create a USB stick recovery.

    Create a recovery USB disk

    Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.

    Thank you.

  • Can someone tell me how to upgrade the operating system on the MacPro?

    I have a MacPro1.1 which works fine, but now I can't use LightroomCC on that because the OS is no longer supported. Can someone tell me how to upgrade the operating system on the MacPro?

    Your Mac Pro 2006 supports only as high as Lion unless you use a hack.

    If you want Lion then order a code to download here:

    http://store.Apple.com/us/product/D6106Z/A/OS-x-lion

    and then use the code in the Mac App Store.

    If you need higher that the Lion then Google for the hack

  • Equium A200 - how to get the operating system?

    Hi, my son has just been given an A200 and we put in place a new disk hard in, but we do not have the recovery disks. Anyone know how I could get my hands on copies or how to download the operating system and then is just a matter of inserting the disc?

    Tony

    Hey Buddy,

    First of all I must say that it of not possible to download the operating system. It s just preinstalled on your laptop and you can find it on Toshiba Recovery disk as well.

    If you don t have a recovery disc, you can order one from Toshiba but I m not 100% sure if it of possible old Equium A200. Just check the online store:
    https://backupmedia.Toshiba.EU/landing.aspx

    If you can t order it, ask a service provider authorized in your country. Maybe they have such a disc and can give you.

  • How to upgrade my operating system to Yosemite on a MacBook Air running Lion 10.7.5? I don't have 2 GB of free memory.

    How to upgrade my operating system to Yosemite on a MacBook Air running Lion 10.7.5? I don't have 2 GB of free memory.

    Assuming that you previously purchased on the app store and your Mac meets the minimum requirements, unload you enough data on an external drive to free the necessary disk space and update via the app store. If you buy before it and it is not in your shopping list, you do not have.

  • I have a Dell Dimension 3000, service Pack3 & I would like to know how to reinstall the operating system xp professional?

    I have a Dell Dimension 3000, service Pack3 & I would like to know how to reinstall the operating system xp professional.

    Thank you

    Dee

    Check maual of the user of the ignition key (e.g. F11) you need to press on when you first ask the computer to access the XP restore partition. If you have a "restore CD" the game that the BIOS so that the CD-ROM drive is the 1st device to start, followed by the hard drive. then power on the computer and "press any key" when prompted to start the installation.

    J W Stuart: http://www.pagestart.com

  • How to load the operating system of split hard drive D of Aspire5315?

    OS in my laptop does not work correctly. Standard recovery system does not work - no food no points.

    How to load the operating system of split hard drive D of Aspire5315? -step by step please.

    Please consult this useful link: http://acer.custhelp.com/app/answers/detail/a_id/2631/

  • How to find what operating system, I am running on my computer?

    How to find what operating system, I am running on my computer?

    Click Start > right click on computer > properties > system > it will tell you it.

    See you soon. Mick Murphy - Microsoft partner

  • How to install two operating systems on a single computer

    Original title: windows

    How to install two operating systems on a single computer, xp and windows 7... ?

    Hello

    Thank you for contacting Microsoft Community.
    For the installation of two Windows OS (called Dual Boot), you first determine what exactly the BONES. Based on this, you can proceed to install the oldest operating system first, then installing the latest OS. Here, in your case, Windows XP first and then Windows 7.
    If you change the order, the latest version of Windows will not work correctly.
    In addition, you can use Virtual PC or VMware to use Windows XP in Windows 7. Windows XP Mode is another version of Microsoft which allows you to use Windows XP in Windows 7 through Virtual PC. You can download Windows XP Mode from here:
    http://www.Microsoft.com/Windows/Virtual-PC/Download.aspx
    To install Windows XP Mode, you must have Windows 7 Professional or higher, with hardware virtualization enabled in your PC (you should check in the BIOS of your PC). If you prefer Windows XP Mode, you don't have to install Windows XP in the above mentioned way. It installs like any other program on Windows 7.
    Note that if you have Windows 7 Edition Home Premium or lower edition, you can try Windows XP using Virtual PC/VMware or dual-boot.
  • How to change the operating system Windows7 from English to Spanish

    How to change the operating system from English to Spanish

    Hi Emmy,

    I suggest to follow the steps provided by TrekDozer of the link below and let know us the status of the issue.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/how-i-change-Windows-7-Home-Premium-from-English/7977f5f2-b579-4905-a3bc-955705920e46

    I hope this helps.

  • How to detect the operating system to PDF using javascript

    Hello

    How to detect the operating system to PDF using javascript. (Javascript console)

    Thanks in advance.

    App.Platform will return "WIN", "MAC" or "UNIX".

  • BlackBerry Smartphones Re: How to reload your operating system

    Hi people.  I do not have my password entry and the unit was wiped out.

    How can I get hold of the o/s to reinstall?

    Two methods given in this thread has not worked for my situation.  New loader said I was aware, but then went on to say that the older Blackberries are not supported.  I have a 7200 series.

    Thank you.

    So, your carrier has no file device OS for you? They must, I think, find their site DL here:

    http://NA.BlackBerry.com/eng/support/downloads/download_sites.jsp

    You can also try to contact your carrier to see if they can provide you with a. The OS is controlled by the carrier... RIM launches the carriers, they certify (or not) and release (or not) to their customers. The above site is the portal to the carriers DL sites.

    In case it wasn't clear (my apologies if it is redundant), what made the device OS DL is to install on your PC, essentially on the RIM desktop software, files, and things that relate to your device from your carrier (which may be different from your device to another carrier). Then, when you tie, you can get updates that relate specifically to you rather than a series of 7000 generic BB of any carrier. With him, installed on your PC (at the top of the RIM DTM software), it is available to the process discussed in the KB to reload your operating system.

    So see if none of this is useful... it will be very sad if a workaholic as your 7000 must be consigned to the dustbin. Sad indeed... even if she has had a good run, there no?

    See you soon!

  • Portege R600 - 13 X - how to reinstall the operating system on the new HARD drive?

    Hello

    I inherited a Portege R600 - 13 X of my colleague, who hit and killed the hard drive. I installed a new hard drive, but you don't have operating system installation diskettes as he said that the computer has not come with any. To make things even more difficult, I believe that the optical drive may not work. My old R500 had a dead optical drive and after I replaced it (he has not yet worked) I was told it is perhaps something to do with the ribbon cable, which piggy back off the coast of the SD card reader, then to the motherboard.

    Anyway, is it possible for me to install Win 7 Professional (I have the original windows key) from a USB flash drive? Or y at - it a specific OS recovery/reinstallation disk that I can download Toshiba?

    Any advice would be very welcome
    Thank you
    NJ

    I have a Portege R600, and he has been a formidable workaholic, although now showing its age with newer software.

    I think these machines came with pre-installed Vista and your friend must have created a set of recovery discs when they got off the machine.

    Toshiba did release a drive to upgrade when Windows 7 is released which was available to the buyer within the free upgrade period you. You may be able to find a disk, but you will need the Win7 license to go with it.

    If not, your only option is likely to be to buy a disk and license. Of course, you can find the specific Toshiba drivers are missing. If you think about it, it's extremely unlikely that you will be able to locate what is essentially a free Windows 7 download install disc.

    Without an optical drive, you need to use an external USB drive and the BIOS to boot from that first force.

    I hope that you have succeeded.

    Andrew

  • Satellite L745-1204 x - how to recover the operating system?

    How can I reformat the operating system?
    What is the shortcutkey to press on when my satellite starts reinstalling the operating system, one that they let u Select 32-bit or 64-bit, and then reformat the driver... Please answer! THX

    my laptop is satellite l745-1204 x

    It looks like it's not European notebook Toshiba series sort recovery procedure can be different recovery available on European models.

    To recover the original factory image using the utilities on your computer s internal storage drive follow this:

    1. make sure that the computer is turned off.

    2 turn on/off your computer while, press the F12 key when the initial TOSHIBA screen appears. The start menu appears.

    3 using the arrow keys to scroll down, select HARD drive recovery option and press the ENTER key.

    4. If your system offers a choice of Windows® 7 32-bit or 64-bit operating system, select the one right now.

  • How to download an operating system on a new HDD without having to pay for the nine

    Hello

    I have an acer aspire 5536, which broke out last week. Blue screen of death and then black screen saying no operating system, impossible to access safe mode. I took it to a store and they tested and said that the hard drive was not working.

    So I bought a new hard drive but I don't have a disk recovery or for operating system drives. How can I reinstall windows vista or I have to buy a new operating system such as windows 7?

    Thank you

    Suzanne

    I tried before link and it does not recognize my serial number, so I called the number for acer uk and they said it would be 51 books. Is anyway to get it cheaper?

    Hello

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key determines which Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    See you soon.

Maybe you are looking for

  • iMovie 10.1.2

    Just create a project with Imovie 10.1.2. It turned out very well. I shared it in a file on my desktop without problem. now, I want to burn the file on a dvd using the dvd unsupported application. I created a new video selected idvd project. I have m

  • My tabs change when I connect into something else, so instead of different tabs, they are all getting the same

    I play a game of myspace and open a tab at one of my games. I disconnect from the acct and connect to an another ACCT. The tab I opened becomes the new login name and so I can't no more then an acct upwards on the tabs. He has not done this before an

  • Training of us data will NOT sync W450 8 GB after software update Version 5

    I updated my 8GB US MY Software Version 5. After the update, I can't sync my data drive via USB or Wi - Fi. I combed the forums & internet for answers, no dice. Things, I tried to fix the problem: -Suppression of Wi - Fi profiles, then added one at a

  • The administrator account settings

    I got my computer to someone else. I changed my coordinates and the name of the computer administrator account. The former owners user account no longer exists, but whenever I do anything it still says c:\users\the another name of people. And very of

  • I have a problem with the ATI graphics driver.

    My laptop has rebooted, twice so far, as I was watching an episode of a series, and in the center of the action it is said that: a problem with ATI Graphics Driver and the ATI graphics card has stopeed working 2 times, last occurring on the 11.06.201