Create OVA from windows and deploy via script

Hi Guys
I am looking for a way to deploy a windows VM from an ova package and have it contain things like the ip address et
However now i would like to use the import-vapp procedure in powercli 5.8 and just populate the information then in the vm
any ideas how to do this ? How can i create the ova in a way that the deployment will ask me for the ip address / vm name etc / username and password ?
Or is there a way to do this after the ova is deployed ?
Thanks  for any help

Your OVA/OVF needs to be created where these values are configured through properties.
You can then use the Get-OvfConfiguration to find these properties and populate the hash table that is returned.
The hash table can be passed on the OvfConfiguration parameter on the Import-VApp cmdlet.

Similar Messages

  • How to get the current logged in username from windows and put it into an AS var

    Hello,
    I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
    Thanks in advance
    Michael

    Just for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
    In the html page that publishes with the .swf file under the <head> section:-
    <script language="JavaScript" type="text/javascript">
    function findUserName() {
         var wshell=new ActiveXObject ("wscript.shell");
         var username=wshell.ExpandEnvironmentStrings("%username%");
         return username;
    </script>
    The ActionScript:-
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call ("findUserName");
    trace (username); // a quick test to see it in output

  • When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    after perusing other subjects with playback issues: 
    this is the fix: 
    -Launch Control Panel - Double click Quicktime, If you do not see quicktime, look on the top left side of control panel and switch to classic view. This will then allow you to see Quicktime.
    -Now click the advanced tab and click on Safe Mode GDI Only, Apply, then ok.

  • I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    I have a mac mini server which I want to set up for remote access from windows and mac pcs.  How do I do this.  I can access it form my home network OK

    Posted in error.

  • I have just switched from windows and bought myself a new mac mini, only had it a few weeks and already getting message not enough free space. Help, surely cant be out of space already

    I have just switched from windows and bought myself a new mac mini, only had it a few weeks and already getting message not enough free space. Help, surely cant be out of space already

    It sounds unlikely of course. But from your question it's hard to tell what might have filled your HDD. Are you constantly on file sharing or has filled the drive with movies?
    Best way to tell is to start checking what folders occupy space. "Get Info" for the HDD and its subfolders is a way to start checking where the data in question resides.
    And as BGreg say, call Apple support is also a good way to begin with.

  • Changed to linux from windows and lost all my touchscreen and sound

    changed to linux from windows and lost all my touchscreen and sound

    dina6370 wrote:
    changed to linux from windows and lost all my touchscreen and sound
    Hi,
    You need some sorts of driver, please try the following forum:
       http://www.linuxquestions.org/
    Good luck
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to Create a default domain and deploy the application in jdeveloper  using a script or code (not manually)

    Hi ,
    I have installed Jdev   using silent installation .
    Now I have some  apps already created I want to create a default domain and then deploy apps into that through ant or any script?
    Can anyone help me on this?
    Thanks and Regards,
    Vivek Pemawat

    We still don't know what you want to archive with here.
    Cvele_new_account got you a pointer on how to install the DefaultDomain.
    Tip: if you want to know or see the exact command line jdev uses to install the DefaultDomain, open jdev and in the application server navigator right click on hte integrated server and select configure DefualtDomain. In the log window you see the command line with all parameters.
    Timo

  • Image Deployment Changes Windows Update from Windows and MS Update to Just Windows Only

    Before capturing an image I make sure that Windows update is set to update "Windows and other products from Microsoft Update".  After and capturing and deploying the image I notice on the client machine it has been set to Windows only.  There
    is nothing in the TS that I know of that would switch this....I am not running any updates or anything in the TS.  Anyone have any ideas on this?  Thanks in advance

    Sysprep changes this setting before the image is captured. This is normal behaviour.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Cut and paste from Windows to vi via putty

    I'm using putty to access my linux machine from my windows machine, as my wife is using the mythtv on the linux machine...
    I need to cut some text from a windows document and insert it into a document on the linux machine.  I loaded up putty and can open the document in vi (I guess it really is vim), cut it from the windows document, and try to past into vi.  I am sure I used to be able to do this by right clicking where I wanted the text to go, but now vi just goes into Visual mode (the bottom of the screen says  ----(insert)  VISUAL     and I cannot paste.
    Not sure what I did to start causing this behavior, or what to do to undo it, or whether I'm just remembering wrong, but reading internet sources seems to confirm I should be able to do what I am trying to do.

    I have the same problem it started few weeks ago. I have Arch server without X so i have to ssh and maintain the server. To paste in vi i use the scroll button. Its not only in putty from windows but also in Linux terminals too except Linux terminals is way better, if the scroll button don't work you can just  click on Edit and Paste or (shift+ctrl+v) from gnome-terminal.
    When i try to paste using the scroll button i get this error message:
    E353: Ingenting i register" my locale is Swedish so in English it translate something like this E353: nothing in register"

  • Permissions needed to create a WLST session and deploy OSB

    Hi,
    Can anyone tell me what Weblogic permissions are needed to create a session with the OSB Configuration SessionManagementMBean?
    It appears you need to have administrators privilege because in my environment I only have Deployers privileges which si enough for me to do an OSB deployment from the OSB Console (and apply a Customisation file etc)
    but when I do it via WLST I get the exception below when I try to create a session:
    weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[30maro, IntegrationAdministrators, Monitors, Deployers], on ResourceType: com.bea.wli.sb.management.configuration.SessionManagementMBean Action: execute, Target: createSession
    The Javadoc for the SessionManagementMBean and Oracle examples and indeed docuemtnation appears to be silent on this matter.
    This is a pain because it suggests I need to have full Administrator privileges to perfor a deployment via a script but only Deployers privilege if I do it manually.
    If anyone can shed light on this (or how to grant someone with Deployers privilege to create a session via the MBean) that would be much appreciated.

    I ended up answering this myself. It turns out this is a bug (that exists in OSB at least to Version 11.1.1.5) for which Oracle can provide a version specific patch that allows someone in the Deployers group to deploy via WLST.
    regards

  • Display image in forms & reports developed on windows and deployed on Unix

    Hi,
    We are upgrading from Forms and reports 6i to forms10g.
    We need to insert image in forms and reports. Recompile and deploy on unix server.
    So can anyone let me know the exact steps to create jar file containing images, where to place the jar file.
    Corresponding folder, file and configuration changes required on windows and unix.
    Av.

    Hi Frank,
    thanks for the link it helped me in understanding how images work for forms.
    But my real concern is how this will work in reports?
    As we dont have any reportsweb.cfg nor any java path for reports?
    Can you help me in understanding how to embed image in reports that will be displayed even after porting the report on unix oas.
    Regards,
    Av.

  • ORA-12571 error while creating packages from Windows clients

    Hello,
    We are facing the ORA-12571 error while creating / replacing packages from Windows Clients connected to a 8.1.7.2.0 db on a Solaris server.
    However, there are
    1. no errors in connecting and creating transactions from a Sql session
    2. no errors in creating / replacing unwrapped/wrapped small (few lines) packages
    3. no errors in connecting from a Unix session (remote telnet sessions inclusive).
    This happens only when creating wrapped/unwrapped packages, source code of which is greater than 500 kb approx.
    Can somebody help me resolve this issue. Any Help would be greatly appreciated.
    Regards.
    Lakshmanan, K

    Update: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
    I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
    Ben

  • HOW TO - Create new from clipboard and process multiple files - please help

    Need help - have new version of photoshop on trial only ATM...
    Want to know - HOW TO:
    1. Create new from clipbaord
    2. Process multiple files
    Please help.

    For clipboard copy, I start with File > New and the size will be set to what's in the clipboard. Then once the new file is opened, Edit > Paste will place the clipboard contents as a layer in the new document.
    You must remember to use the command Layer > Flatten Image of you want to save as jpeg or any other file format that doesn't support layers.
    For processing multiple files,
    File > Automate > Batch or
    File > Scripts > Image Processor...
    Check the User guide or google information for those commands if you have specific needs.
    Gene

  • File Upload Performance using IE from Windows to Unix via HTTPS

    Hi,
    Is there any performance issue uploading a file
    using IE from Windows client to UNIX server via HTTPS?
    Before that, we were using HTTP protocol and everything run smooth
    Once we change to HTTPS, we might hit the "HTTP 500 Internal server error"
    Even though this does not happen all the time but still, it affect the overall performance of our system
    We'd tested other browsers such as Netscape, Firefox, Opera and we don't hit any problem with them
    Is there any way to improve the performance?
    Is there any site i can refer to? cause i need some explaination on how this could be happen
    Thanks

    Is there any performance issue uploading a file
    using IE from Windows client to UNIX server via
    HTTPS?With HTTPS, the contents of the files are encrypted while uploading. This might hit the performance in some cases.

  • Boot from Media and static IP script

    I thought I would give back a bit to the community.  My current engagement has a client where 2/3 of the computers are not on DHCP, and probably won't be anytime soon.  There is a feature deficiency in the SCCM boot from media function, it lets
    you set the IP address in the initial WinPE startup, but that address isn't communicated to Windows.  Windows comes up expecting to find DHCP.  Hint, hint here anyone from the product group, this should be added to the Apply Network Settings task
    This script needs to be put in the task sequence right before the Apply Network Settings task sequence step.  The script will check to see if the variables were already set in Windows (which works correctly).  If not (only happens when you are
    doing a new install) it will read the entries from WinPE and write them to the TS variables needed by Apply Network Settings. 
    There is a limitation to the scipt that it can only put in as much as can be entered by WinPE.  So things like multiple DNS servers for example can't be entered into PE, so they can't be transfered to Windows.
    Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2")
    WQL = "Select * from Win32_NetworkAdapterConfiguration where IPEnabled = TRUE"
    Set colNetAdapters = objWMIService.ExecQuery (WQL)
    WScript.Echo "Number of adapters is " & colNetAdapters.Count
    set objSCCM = CreateObject("Microsoft.SMS.TSEnvironment")
    if objSCCM("OSDAdapter0IPAddressList") = "" then
     For Each objNetAdapter In colNetAdapters
      if objNetAdapter.DHCPEnabled then
       WScript.Echo "DHCP Enabled"
      else
       WScript.Echo "DHCP Disabled"
       objSCCM("OSDAdapter0EnableDHCP") = false
       if Not IsNull (objNetAdapter.IPAddress) then
        strIPAddress = objNetAdapter.IPAddress(0)
        WScript.Echo "IP Address:       " & strIPAddress
        objSCCM("OSDAdapter0IPAddressList") = strIPAddress
       end if
       if Not IsNull (objNetAdapter.IPSubnet) then
        strIPSubnet = objNetAdapter.IPSubnet(0)
        WScript.Echo "IP Subnet:        " & strIPSubnet
        objSCCM("OSDAdapter0SubnetMask") = strIPSubnet
       end if
       if Not IsNull (objNetAdapter.DefaultIPGateway) then
        strIPGateway = objNetAdapter.DefaultIPGateway(0)
        WScript.Echo "IP Gateway:       " & strIPGateway
        objSCCM("OSDAdapter0Gateways") = strIPGateway
       end if
       if Not IsNull (objNetAdapter.DNSServerSearchOrder) then
        strDNSServerSearchOrder = objNetAdapter.DNSServerSearchOrder(0)
        WScript.Echo "DNS Server:       " & strDNSServerSearchOrder
        objSCCM("OSDAdapter0DNSServerList") = strDNSServerSearchOrder
       end if
       if Not IsNull (objNetAdapter.MACAddress) then
        strMACAddress = objNetAdapter.MACAddress(0)
        WScript.Echo "MAC Address:      " & strMACAddress
       end if
       if Not IsNull (objNetAdapter.DNSDomainSuffixSearchOrder) then
        strDNSDomainSuffixSearchOrder = objNetAdapter.DNSDomainSuffixSearchOrder(0)
        WScript.Echo "DNS DOMAIN:       " & strDNSDomainSuffixSearchOrder
       end if
       if Not IsNull (objNetAdapter.WINSPrimaryServer) then
        strWins = objNetAdapter.WINSPrimaryServer
        objSCCM("OSDAdapter0EnableWINS") = true
        if Not IsNull (objNetAdapter.WINSSecondaryServer) then
         strWins = strWins & "," & objNetAdapter.WINSSecondaryServer
        end if
        WSCript.Echo "WINS Server:      " & strWins
        objSCCM("OSDAdapter0WINSServerList") = strWins
       else
        objSCCM("OSDAdapter0EnableWINS") = false
       end if
       objSCCM("OSDAdapterCount") = 1
      end if
     Next
    End If
    Bob

    Here is a new version of the script, I think it has a few tweaks in it, it's been a while.  But I don't think it will solve your problem, neither will setting the variable in the collection.  Try this, it might help, run the script as cscript StaticIPBoot
    and look at the output, it might give you some clue as to what's going on, or better yet change the script in the task sequence to:
    cscript StaticIPBoot.vbs > c:\ip.txt
    The script is fairly verbose, it might give you an idea of why it's not working.  The only reason I can see for that variable to be zero is that the script isn't finding any network adapters, or DHCP is enabled.
    Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2")
    WQL = "Select * from Win32_NetworkAdapterConfiguration where IPEnabled = TRUE"
    Set colNetAdapters = objWMIService.ExecQuery (WQL)
    WScript.Echo "Number of adapters is " & colNetAdapters.Count
    set objSCCM = CreateObject("Microsoft.SMS.TSEnvironment")
    if objSCCM("OSDAdapter0IPAddressList") = "" then
     For Each objNetAdapter In colNetAdapters
      if objNetAdapter.DHCPEnabled then
       WScript.Echo "DHCP Enabled"
      else
       WScript.Echo "DHCP Disabled"
       objSCCM("OSDAdapter0EnableDHCP") = "false"
       if Not IsNull (objNetAdapter.IPAddress) then
        strIPAddress = objNetAdapter.IPAddress(0)
        WScript.Echo "IP Address:       " & strIPAddress
        objSCCM("OSDAdapter0IPAddressList") = strIPAddress
       end if
       if Not IsNull (objNetAdapter.IPSubnet) then
        strIPSubnet = objNetAdapter.IPSubnet(0)
        WScript.Echo "IP Subnet:        " & strIPSubnet
        objSCCM("OSDAdapter0SubnetMask") = strIPSubnet
       end if
       if Not IsNull (objNetAdapter.DefaultIPGateway) then
        strIPGateway = objNetAdapter.DefaultIPGateway(0)
        WScript.Echo "IP Gateway:       " & strIPGateway
        objSCCM("OSDAdapter0Gateways") = strIPGateway
       end if
       if Not IsNull (objNetAdapter.DNSServerSearchOrder) then
        strDNSServerSearchOrder = objNetAdapter.DNSServerSearchOrder(0)
        WScript.Echo "DNS Server:       " & strDNSServerSearchOrder
        objSCCM("OSDAdapter0DNSServerList") = strDNSServerSearchOrder
       end if
       if Not IsNull (objNetAdapter.MACAddress) then
        strMACAddress = objNetAdapter.MACAddress(0)
        WScript.Echo "MAC Address:      " & strMACAddress
       end if
       if Not IsNull (objNetAdapter.DNSDomainSuffixSearchOrder) then
        strDNSDomainSuffixSearchOrder = objNetAdapter.DNSDomainSuffixSearchOrder(0)
        WScript.Echo "DNS DOMAIN:       " & strDNSDomainSuffixSearchOrder
       end if
       if Not IsNull (objNetAdapter.WINSPrimaryServer) then
        strWins = objNetAdapter.WINSPrimaryServer
        objSCCM("OSDAdapter0EnableWINS") = "true"
        if Not IsNull (objNetAdapter.WINSSecondaryServer) then
         strWins = strWins & "," & objNetAdapter.WINSSecondaryServer
        end if
        WSCript.Echo "WINS Server:      " & strWins
        objSCCM("OSDAdapter0WINSServerList") = strWins
       else
        objSCCM("OSDAdapter0EnableWINS") = "false"
       end if
       objSCCM("OSDAdapterCount") = "1"
      end if
     Next
    End If
    Bob

Maybe you are looking for

  • Help w/ port forwarding on 5505

    I have the following configuration in my ASA 5505 and I'm having problems connecting with other players on my XBox (moderate NAT). I think my problem is that I need to forward ports tcp:3074, udp:3074, and udp:88 to my xbox which is at 192.168.2.50 (

  • Problem in working with adf task flow..

    hi all i m trying to run jsf page using adf task flow it is giving me belove error and not running the page what should i do now? Target URL -- http://localhost:7101/Myapp-ViewController-context-root/faces/head.jsf <ViewHandlerImpl> <_checkTimestamp>

  • EDI order change - user exit

    Hi group   Quick question...while doing a PO change ( IDOC_INPUT_ORDCHG)....sales order line items are to be deleted....I know that this needs to be done in a user exit...i am trying to nail down to the right user exit...... I found only one user exi

  • A problem: Application net_rim_bb_addressbook_app (409)

    Hello, please help me.... Error syncing contact with MS Office 2003 (Outlook): Uncaught exception: Application net_rim_bb_addressbook_app (409) is not responding: process terminated ...synchronizes only 15 out of 580 contacts and the application (BB

  • Trouble Installing Asphalt 6

    I bought Asphalt 6 Adrenaline HD for the Playbook and can not get it to install. The file is 516 MB, but it seems to only download 511 MB of it and then just stops without installing it. A user at Crackberry forums suggested that it might be a server