Need a script for virtual machine availability

I know there is a metric for sys.uptime.latest which pulls the elapsed time in seconds surveyed of the virtual machine startup. Two questions

This allows VM cacluate uptime in a perspective of avalability host?

It only takes into account availability time between reboots to the vCenter level, or it takes into account all the running time? (example: uptime since a restart triggered via vCenter client vs a shutdown - r resulting in a virtual machine)

Does anyone have a scipt that could be used or modified to give VM uptime? PowerGUI has a performance data plugin which can show it on a unique basis of VM. But I need to interview all the data for the whole vCenter and all virtual machines.

Thank you!

The metric of sys.uptime.latest gives you the time since the last poweron of the virtual machine.

All reboots of BONE, of in the comments or via the vSphere client, do not reset the counter.

This script gives you a report of the availability for all your virtual machines

$vms = Get-VM Get-Stat -Entity $vms -Stat sys.uptime.latest -MaxSamples 1 | ` Select @{N="VM";E={$_.Entity.Name}},@{N="Uptime";E={$_.Value}}

Tags: VMware

Similar Questions

  • Folder path as a VM property - for virtual machines in a paralytic

    Hello

    I used the new-viproperty of LucD script to create a folder for each virtual computer property in my inventory. It works perfectly well for virtual machines, but not for virtual machines in a paralytic as these do not have a 'record' in powercli property. they report a $null value.

    Would be much appreciated if someone can help me to modify this script so it creates a VM property for the VMS and VMs in a paralytic?

    http://www.lucd.info/2012/05/18/folder-by-path/

    01

    02

    03

    04

    05

    06

    07

    08

    09

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    New-VIProperty-Name'BlueFolderPath' -ObjectType 'VirtualMachine'-Value{

        param($vm)

        functionGet-ParentName{

            param($object)

            if($object.Folder){

                $blue= Get-ParentName$object.Folder

                $name= $object.Folder.Name

            }

            elseif($object.Parent -and$object.Parent.GetType().Name -like"Folder*"){

                $blue= Get-ParentName$object.Parent

                $name= $object.Parent.Name

            }

            elseif($object.ParentFolder){

                $blue= Get-ParentName$object.ParentFolder

                $name= $object.ParentFolder.Name

            }

            if("vm","Datacenters"-notcontains$name){

                $blue+ "/"+ $name

            }

            else{

                $blue

            }

        }

        (Get-ParentName$vm).Remove(0,1)

    }-Force| Out-Null

    Check if the new version works for you.

    New-VIProperty-name 'BlueFolderPath' - 'VirtualMachine' - value {ObjectType

    Param ($VM)

    Function Get-ParentName}

    Param ($Object)

    if($Object.) {Folder)

    $blue = get-ParentName $object. Folder

    $name = $object. Folder.Name

    }

    ElseIf($Object.) VApp) {}

    $blue = get-ParentName $object. VApp.ExtensionData.ParentFolder

    $name = $object. VApp.Name

    }

    ElseIf ($object - is [VMware.Vim.ManagedObjectReference]) {}

    $folder = get-VIObjectByVIView - MORef $object

    $blue = get-ParentName $folder. Parent

    $name = $folder. Name

    }

    ElseIf($Object.) Parent - and $object. Parent.GetType (). Name - as a ' file * ') {}

    $blue = get-ParentName $object. Parent

    $name = $object. Parent.Name

    }

    ElseIf($Object.) ParentFolder) {}

    $blue = get-ParentName $object. ParentFolder

    $name = $object. ParentFolder.Name

    }

    If ("vm", "Data centers" - notcontains $name) {}

    $blue + "/" + $name

    }

    else {}

    $blue

    }

    }

    (Get-ParentName $vm). Remove (0.1)

    } - Force | Out-Null

  • 1 or 2 processors? 32 or 64 bit? for virtual machines

    I had a discussion with the network administrator about using 2 processors and OS 64-bit for virtual machines.

    It uses 1 proc and 32-bit on Proliant G5 servers for virtual servers ordinary.

    When it will be beneficial to use 2 procs and 64 bit?

    THX.

    Hello.

    When it will be beneficial to use 2 procs and 64 bit?

    It will be useful to use 64-bit when you have an application that you want to run 64 - bit, and it will be useful to add a second processor when you discover that a vCPU is not enough.  If by 'regular' virtual servers, you're talking low-end Windows servers, then the 32-bit single vCPU approach will be generally better.  Without knowing more about your applications or operating systems, it is difficult to give a more precise answer.

    Why do you think that you might need for 64-bit or 2 vCPUs?  Can you elaborate on what you put on foot?

  • Need a script for marginal elements consists of two tags

    Hello world

    I need a script for the marginal elements with two paragraph tags. Object styles, library items are all available for this work. My requirement is to cut two paragraph tags and put it in the library and also using styles of both object elements. Is this possible? Can help you to do this. For more information, I have attached this file also.Screen shot 2011-04-05 at 4.41.13 PM.png

    Waiting for your answer...

    Hi try this code...

    main();
    main() {} function
    If {(app.documents.length!=0)}
    {if(App.Libraries.Length!=0)}
    myStyleDialog();
    }
    else {}
    Alert ("Please open library.");
    }
    }
    else {}
    Alert ("Please open a document and try again.');
    Exit (0);
    }
    }

    function myStyleDialog() {}
    var myLabelWidth = 120;
    var myParaStyleNames = myGetParagraphStyleNames();
    var myObjStyleNames = myGetObjectStyleNames();
    myDialog = app.dialogs.add var ({name: "Choose the Styles instead of anchoring"});
    {with (MyDialog.dialogColumns.Add ())}
    {with (borderPanels.Add ())}
    {with (dialogColumns.Add ())}
    {with (dialogRows.Add ())}
    {with (dialogColumns.Add ())}
    staticTexts.add ({staticLabel: "choose paragraph Style1:", minWidth:myLabelWidth});})
    }
    {with (dialogColumns.Add ())}
    myParaStyleDropdown1 = dropdowns.add ({stringList:myParaStyleNames, selectedIndex:0});})
    }
    }
    //---------
    {with (dialogRows.Add ())}
    {with (dialogColumns.Add ())}
    staticTexts.add ({staticLabel: "choose paragraph Style2:", minWidth:myLabelWidth});})
    }
    {with (dialogColumns.Add ())}
    myParaStyleDropdown2 = dropdowns.add ({stringList:myParaStyleNames, selectedIndex:0});})
    }
    }
    //----------
    ~ {with (dialogRows.add ())}
    ~ {with (dialogColumns.add ())}
    ~ staticTexts.add ({staticLabel: "Object Styles:", minWidth:myLabelWidth});})
    //~                             }
    ~ {with (dialogColumns.add ())}
    ~ myObjectStyleDropdown = dropdowns.add ({stringList:myObjStyleNames, selectedIndex:0});})
    //~                     }
    //~         }
    }
    }
    myReturn = myDialog.show ();
    if(myReturn == true) {}
    myParagraphStyle1 = myParaStyleNames [myParaStyleDropdown1.selectedIndex];
    myParagraphStyle2 = myParaStyleNames [myParaStyleDropdown2.selectedIndex];
    myObjectStyle = myObjStyleNames [myObjectStyleDropdown.selectedIndex];
    myDialog.destroy ();
    }
    else {}
    myDialog.destroy ();
    }
    }
    }
    function myGetParagraphStyleNames() {}


    var myStyleNames = app.documents.item (0).paragraphStyles.everyItem () .name;
    Return myStyleNames;
    }
    ~ function myGetObjectStyleNames() {}
    ~ var myObjStyleNames = app.documents.item (0).objectStyles.everyItem () .name;
    ~ return myObjStyleNames;
    //~ }

    //----------------------------------------------
    myDoc var = app.activeDocument;
    var myDoc.stories = monarticle;
    var myParas, myCount = 0;
    myLib var = app.libraries [0];
    var AnchorItemName = prompt ("Enter the name of library point exactly", "", "anchor point");

    for (i = 0; i
    {
    myParas = .paragraphs [i] monarticle;
    If (myParas.length > 3)
    {
    for (j = 0; j
    {
    firstPara var = myParas [j];
    var nextPara = myParas [j + 1];
    var firstParaStyle = firstPara.appliedParagraphStyle.name;
    var nextParaStyle = nextPara.appliedParagraphStyle.name;
    If ((nextParaStyle == myParagraphStyle2) &&(firstParaStyle == myParagraphStyle1))
    {
    myText = myLib.assets.item (AnchorItemName) .placeAsset (firstPara.insertionPoints [0]) [0];
    firstPara.move (LocationOptions.after, myText.insertionPoints [0]);
    nextPara.move (LocationOptions.after, myText.insertionPoints [-1]);
    myText.fit (FitOptions.frameToContent);
    myCount ++;
    } //End If
    } //End of iteration Para
    } //End of If paralength > 2
    } //End of iteration history
    Alert ("Found and dealt with Occurrences" + myCount);

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

    Green4ever

  • Wonder average CPU for virtual machines

    I have a supermetric that gives me the average demand of CPU for virtual machines.

    It works as set below:

    avgN($R40:A2055,3) / avg($R40:A2030)

    R40 is the data center - A2055 is the attribute of MHz CPU demand.

    A2030 is powered on virtual machines in the data center.

    Is it possible for me to write this formula without having to divide it by the total number of virtual machines in the data center?

    Is 'average' looks should do.

    vCenter.jpg

    Fix.

  • Use the diskette of esxi for virtual machines

    Hello
    I would like to set up a lab and I have hp g6 server but just with a single 600 GB sas disk
    is it possible to install esxi on it and also use it as a storage device for virtual machines on?
    I know that I can install esxi on a cool drive but if what I've said, it's possible I prefer to use that
    Thank you very much

    It's true.

  • define an id scsi for a disc newly added for virtual machines via script

    Hi Experts,

    I used the script below to add disks to several virtual machines
    http://blog.mattvogt.NET/2013/03/14/PowerCLI-mass-add-hard-disks/

    But currently our requirement for change as if we must add 3 2 GB drives, the disks must the controller use SCSI (1:0) - (1:2)

    And next bunch of disks, for example, should use use SCSI (2:0) - (2:2).

    Y at - it an option to set the SCSI ID when adding new disks.
    Please let me know if there is nothing we can achieve through scripts.

    Thanks in advance.

    Kind regards
    Sourav

    Try this new version, it works for me in my test environment

    ### Get VM/Disk Count/Datastore information ### $vmname = Read-Host "VM Name to add disks to"$num_disks = Read-Host "number of disks to add"$ds = "Oracle DB Farm Datastore Group"$format = Read-Host "Disk Format (thin, thick, EagerZeroedThick)"$size = Read-Host "Disk Size (GB)"
    
    $vm = Get-VM $vmname$datastore = Get-DatastoreCluster -Name $ds
    
    ### Add $num_disks to VM1..$num_disks | %{  Write-Host "Adding disk $_ size $size GB and format $format to $($vm.Name) on datastore $datastore"
    
      if($_ -eq 1){      $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format      $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid}      $ctrl = New-ScsiController -Type Paravirtual -HardDisk $hd  }  else{      $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format -Controller $ctrl    $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid}  }}
    
  • Snapshots for virtual machines fault-tolerant

    VSphere availability guide says that you can not fault tolerant VMs snapshot. Otherwise, how would a backup virtual machines?

    If you need to snap for backup, you can stop FT, do the blink of an eye, make the backup, delete the snap and reactivate FT.

    You cannot schedule directly (in the special section), but there are useful scripts that can toggle pi of CLI.

    André

  • Need a script for wise vm file used and put into service space


    Hello

    In my env of customer, we have several file type of request. In each case, we have several virtual machines, including cluster virtual machines.

    We need space total get used and implemented for each folder.

    Thus the requirement is cluster disk must be calculated only once.  Please help me with this...

    -one

    I think a filter to get, maybe all the VM which appear as an RDM or shared vmdk and filter those out of the collection of Get - VM.

    Then add those together separately, combining the resemblance of the name of file maybe?  If you can run this Script of RDM, then I can see what the data might look like to adjust.  I have no RDM to play with on my end, unfortunately, all NFS these days.

    $report = @)

    $vms = get - VM | Name - descending sort. Get-View

    foreach ($vm to $vms)

    {

    foreach ($dev in $vm. Config.Hardware.Device)

    {

    If (($dev.)) GetType()). (Name - eq "VirtualDisk")

    {

    If (($dev.Backing.CompatibilityMode-eq "physicalMode") - or ($dev.Backing.CompatibilityMode - eq 'virtualMode'))

    {

    $row = "" | Select VMName, HDDeviceName, HDFileName, HDMode, HDSize

    $row. VMName = $vm. Name

    $row. HDDeviceName = $dev. Backing.DeviceName

    $row. HDFileName = $dev. Backing.FileName

    $row. HDMode = $dev.Backing.CompatibilityMode

    $row. HDSize = [math]: Round ((($ dev.)) CapacityInKB) / 1048576), 2)

    $report += $row

    }

    }

    }

    }

  • How to install VMplayer 3 network for virtual machines to comminicate with each other?

    People,

    Hello. I use VMPlayer 3.

    SE host: Windows 7
    Comments to: Windows XP and Oracle Linux 5

    I need to set up the network and activate Windows XP communicate with Oracle Linux 5.

    I followed this tutorial http://www.vmware.com/support/ws5/doc/ws_devices_serial_2vms.html to configure 2 virtual machines in Windows 7 host machine.

    I tried to test 2 virtual machines in the way as below:

    In Linux, [user@localhost ~] $ping WindowsXP_HostName
    Release: Unknown host WindowsXP_HostName


    At the Windows XP command prompt:
    C:\ping localhost.localdomain
    Its release: ping localhost 127.0.0.1 with 32 bytes of data...
    Reply from 127.0.0.1: bytes = 32 time = 2ms TTL = 128


    He meets a few times and then disconnected by itself. It seems that Windows XP is ping itself and not Linux server. The host name of the Linux server is 'localhost' as well. It is a kind of confusion for me.


    From the information above, we can see that 2 VMs cannot connect between them.

    Can any folk provides a tutorial or example or case study to set VMPlayer 3 allowing 2 virtual machines communicate with each other by step?

    Very grateful in advance.

    In the guest machine, all I see is click on VMplayer-> VM-> settings-> network-> Network adapter Connection-> select Bridged: directly connected to the physical network. After that, nothing to keep.

    That's it for the network card in Virtual Machine of its parameters, and the rest is done to each guest at the guest OS level.

    In Windows 7 host machine, I don't see anything first.

    What we need to do is to assign 3 IP addresses to 3 machines: Win 7, Win XP Guest and Linux host.

    Why the world can't bring you up Google in a browser and type, the ip static windows xp, then static ip rhea of windows 7 and finally static ip.  As I have already said there are more then enough tutorials on the Internet about how to configure a static IP address by a given operating system then I suggest you Google it!  It makes absolutely no sense to write the instructions step by step for you when there are already dozens of tutorials available on the internet.

  • Need a script for daily activity

    Hello

    I'm looking for the kind of help to create a script from below of task

    The task is less.

    1. you will need to verify that the virtual machine is turned off.

    2. If it is off, I need to rename the display name.

    3. Add notes in the virtual machine

    4 convert model

    5. move to "New folder" to keep somedays in the computers folder, virtual and models.

    Looking for expert help to reduce manual work. Thanks in advance.

    Try something like this

    foreach($vm in (Get-VM | where {$_.PowerState -eq "PoweredOff"})){
        Set-VM -VM $vm -Name $newname -Notes $description -Confirm:$false    $template = Set-VM -VM $vm -ToTemplate -Confirm:$false    Move-Template -Destination (Get-Folder -Name "New Folder") -Template $template -Confirm:$false}
    
  • What is the I/O profile for virtual machine workload?

    Hi all

    As we know, different applications may have different profiles of I/O, for example. OLTP system would generally with [random, samll, report R/W 7:3]

    1. What is typical I/O profile for a virtual machine VMWare?

    2. do you have a guide of best practices configuration for SAN storage LUN available?

    Thx a lot!

    1. What is typical I/O profile for a virtual machine VMWare?

    2. do you have a guide of best practices configuration for SAN storage LUN available?

    There is absolutely no such thing as a 'IO profile' typical of a VMware VM. Always, forever everyday, depends on.

    A hypervisor sits between the OS and the Application and the storage Bay are not because the needs of profile and e/s storage are suddenly turned upside down or scrambled at random in all directions.

    An inactive VM does not generate any more or different IOPS / s only idle physical server. A busy database VM behaves different than a physical server with the same database/application in terms of IOPS profile / s and e/s either.

    A common m

    In a Word, design your storage in the same way as you would in a completely physical world.

    Some recommended reading:

    http://www.VMware.com/resources/TechResources/10329

    http://pubs.VMware.com/vSphere-51/topic/com.VMware.ICbase/PDF/vSphere-ESXi-vCenter-Server-51-monitoring-performance-guide.PDF

    http://pubs.VMware.com/vSphere-51/topic/com.VMware.ICbase/PDF/vSphere-ESXi-vCenter-Server-51-storage-Guide.PDF

    Analyze and understand what is called the "best practices", but do not apply to your environment.

  • PowerCLI script - new virtual machine of the model

    Hi all

    I am very new to power CLI scripting, and these days, that I read a lot of help to automate the creation of a new virtual machine based on the model of the virtual machine.  Script that is not that hard, even location new virtual machine on a particular data and in a particular resource pool store is not difficult.  For this I came up with this very basic script/command:

    "New-VM - ResourcePool < resource_pool > - < folder_name > location - Datastore < datastore_name > - name < VM_name > - < template_name >"model

    However, I came across some problems that I can't find information in help or in the forums.  Problem with the above command is VM will be created in the pool of appropriate resources and file as long as they are unique, but if there are multiple instances of resource pool or a folder with the same name as the script spits out a mannequin.

    So for example if I want to create a new virtual machine to the location following Data_Centre = > RootFolder1 = > SubFolder1 = > SubFolder2 and SubFolder2 name is unique that no problem, the virtual machine is created at this location.  However, if the SubFolder2 exists in Data_Centre = > RootFolder2 = > SubFolder1 as well as the virtual machine is created in the folder root of the location of the model.  For example, if the model is in "DC = > Folder1 = > Subfolder1 = > Subfolder2 ' the virtual machine will be created in the folder Folder1

    Any suggestions on how to ensure that the virtual machine is created in the desired folder/location as well as a list of resources?  In my view, there are really smart guys here and I suspect that this issue would not be a problem at all.  Any help would be appreciated.

    See you soon

    It is not a matter of following the right path.

    You can use the location setting to get the exact folder you want. For example

    $dc = get-data center-name DC1

    $folder = get-file-name Folder1-location $dc

    $subfolder = get-file-name Folder2-location $Folder1

    or

    $dc = get-data center-name DC1

    $subfolder = get-file-name Folder2-location $dc

    You will need to find a "place" in the path to your destination folder where it will be unique.

  • Error recover attribute customized for Virtual Machine

    Hello

    I created a custom attribute TestAtt for the virtual machines by using the vSphere client. The screenshot of the configuration is attached.

    Now, I need to retrieve this value programmatically in my plugin, I'm developing using c#. Here is the snippet of the same thing. For some reason any below appeal fails by saying that the attribute is not found. Even when I used the DoesCustomizationSpecExists, I'm wrong. I am not getting any exception.

    I'm doing this in the right way?

    CustomProperty CustomizationSpecItem = new CustomizationSpecItem();

    customProperty = VIM_SERVICE. GetCustomizationSpec (SERVICE_CONTENT.customizationSpecManager, "TestAtt");

    Kind regards

    Sudhir

    You use the bad managed object to retrieve the custom fields. The customizationManager is used to deal with the customization of the guestOS using Linux quick Prep or Windows Sysprep.

    You want to use is customFieldManager - this is a vSphere SDK for Perl script that shows you how - addVMCustomField.pl

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • public network for virtual machines, private storage and the service console?

    Hello

    So far I had a pretty small facility with 2 servers with 4 physical network adapters each running ESX 3.5, a small box of EqualLogic SAN to shared storage and a few virtual machines on our network of regular reinforcement, routed, not on a private.   The network config was really simple.  I just put everything on real IP addresses on our network of building.

    Now I want to move the SAN and the traffic on a private service console network, but I don't know how to do this.

    Right now I use 2 NETWORK cards on each server:

    vmnic0 is configured on vSwitch0 and has the network of the VM on it that all my use of VMS to talk to the outside world, and it also has the Service Console that uses Virtual Center and I use ssh to it.

    vmnic1 is configured on vSwitch1 and a VMKernel Port and also a Service Console Port for iSCSI Software to talk to my SAN.  (never been clear on why both are needed to talk to the SAN, but doctors say they are)

    My plan is to set up a vSwitch2 and bind it to vmnic2 and implemented a VMKernel Port and the Service Console Port for software iSCSI on the 10.x.x.x network, set up my new (larger) SAN box on the 10.x.x.x network and simply use Storage vMotion to move virtual machines to the new storage space.  As soon as I did this, I would like to not use the Service Console on vSwitch2 and not a Console Service at all on vSwitch0.  Is it possible to delete the one on vSwitch0 and just use a new vSwitch2 for Virtual Center and ssh access?

    So my proposed configuration would be:

    vSwitch0: VM network only, used by the VM guests for oriented public access network, no construction of Network Service Console, linked to vmnic0

    vSwitch1: superfluous once I do storage vMotion of everything on my old SAN, will eventually remove and pair vmnic 1 with vmnic0, linked to vmnic1

    vSwitch2: VMKernel and Service Console on the network 10.x.x.x, used to access the new SAN, used by Virtual Center to access the ESX, used to SSH in to ESX on private network, associated vmnic2

    If it works?

    Thank you.

    Hello

    VMkernel ports cannot live on the same subnet. So if you have 3 vmkernel ports say: vMotion, iSCSI and NFS. You really need 3 subnets. 1 for each vmkernel port.

    Otherwise how does he know all send properly?

    Best regards

    Edward L. Haletky VMware communities user moderator, VMware vExpert 2009, url = http://www.virtualizationpractice.comvirtualization practical analyst [url]
    "Now available: url = http://www.astroarch.com/wiki/index.php/VMware_Virtual_Infrastructure_Security' VMware vSphere (TM) and Virtual Infrastructure Security: securing the virtual environment ' [url]
    Also available url = http://www.astroarch.com/wiki/index.php/VMWare_ESX_Server_in_the_Enterprise"VMWare ESX Server in the enterprise" [url]
    [url =http://www.astroarch.com/wiki/index.php/Blog_Roll] SearchVMware Pro [url] | URL = http://www.astroarch.com/blog Blue Gears [url] | URL = http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links Top security virtualization [url] links | URL = http://www.astroarch.com/wiki/index.php/Virtualization_Security_Round_Table_Podcast Virtualization Security Table round Podcast [url]

Maybe you are looking for

  • ICloud or not iCloud

    I am trying to decide if I want my notes and my contacts in iCloud.  Is it possible to transfer or copy to iCloud for my devices (iPhone and iPad)?  Is iCloud available if I'm not on wi - fi or cell phone data?  I doubt that iClouded would be availab

  • Games like hearts do not work

    Just loaded windows 8 on my Pavilion dv7 and now my games included with windows 7 laptop no longer work.

  • KB2479628 apparently causing Windows hang at startup

    Hello I was wondering if someone could offer some advice on how to solve a problem, I'm going to. I am using Windows 7 64 bit and downloaded all updates published on 8 February. Initially, I tried to install everything but once done the pc couldn't m

  • Have not received update except updates of Defender since 9/13

    It's like that or I have a problem with updates?  I don't know how to check to see if new updates are available, except by using the tool in Windows Update.  Is there a list of available updates posted anywhere on the web, so we can check to make sur

  • I use Director of windows, I downloaded some .avi files

    I use Director of windows, I downloaded some .avi files to make a video, I imported using import video, TI any nut when I went to drag the time line he put it under audio instead of video.