首页 > 数据库 >win10 下通过cmd 控制 Oracle Vbox

win10 下通过cmd 控制 Oracle Vbox

时间:2024-07-23 15:32:15浏览次数:8  
标签:... -- cmd controlvm recording Vbox Oracle VBoxManage

win10 下命令行控制 VBox 虚拟机

今天虚拟机突然自己休眠了,各种按钮不能用,只能想其他办法了
我的安装路径是 C:\Program Files\Oracle\VirtualBox

cd C:\Program Files\Oracle\VirtualBox

虚拟机的名称是 Oracle

强制关机
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe controlvm Oracle poweroff
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

查看其他参数

VBoxManage.exe startvm /help

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe controlvm /help
Oracle VM VirtualBox Command Line Management Interface Version 7.0.14
Copyright (C) 2005-2024 Oracle and/or its affiliates

VBoxManage.exe: error: Not enough parameters.

Usage - Change state and settings for a running virtual machine:

  VBoxManage controlvm <uuid | vmname> pause

  VBoxManage controlvm <uuid | vmname> resume

  VBoxManage controlvm <uuid | vmname> reset

  VBoxManage controlvm <uuid | vmname> poweroff

  VBoxManage controlvm <uuid | vmname> savestate

  VBoxManage controlvm <uuid | vmname> acpipowerbutton

  VBoxManage controlvm <uuid | vmname> acpisleepbutton

  VBoxManage controlvm <uuid | vmname> reboot

  VBoxManage controlvm <uuid | vmname> shutdown [--force]

  VBoxManage controlvm <uuid | vmname> keyboardputscancode <hex> [hex...]

  VBoxManage controlvm <uuid | vmname> keyboardputstring <string> [string...]

  VBoxManage controlvm <uuid | vmname> keyboardputfile <filename>

  VBoxManage controlvm <uuid | vmname> setlinkstateN <on | off>

  VBoxManage controlvm <uuid | vmname> nicN <null | nat | bridged | intnet | hostonly | generic | natnetwork>
      [device-name]

  VBoxManage controlvm <uuid | vmname> nictraceN <on | off>

  VBoxManage controlvm <uuid | vmname> nictracefileN <filename>

  VBoxManage controlvm <uuid | vmname> nicpropertyN <prop-name=prop-value>

  VBoxManage controlvm <uuid | vmname> nicpromiscN <deny | allow-vms | allow-all>

  VBoxManage controlvm <uuid | vmname> natpfN <[rulename] ,tcp | udp, host-IP, hostport, guest-IP, guestport>

  VBoxManage controlvm <uuid | vmname> natpfN delete <rulename>

  VBoxManage controlvm <uuid | vmname> guestmemoryballoon <balloon-size>

  VBoxManage controlvm <uuid | vmname> usbattach <uuid | address> [--capturefile=filename]

  VBoxManage controlvm <uuid | vmname> usbdetach <uuid | address>

  VBoxManage controlvm <uuid | vmname> audioin <on | off>

  VBoxManage controlvm <uuid | vmname> audioout <on | off>

  VBoxManage controlvm <uuid | vmname> clipboard mode <disabled | hosttoguest | guesttohost | bidirectional>

  VBoxManage controlvm <uuid | vmname> clipboard filetransfers <on | off>

  VBoxManage controlvm <uuid | vmname> draganddrop <disabled | hosttoguest | guesttohost | bidirectional>

  VBoxManage controlvm <uuid | vmname> vrde <on | off>

  VBoxManage controlvm <uuid | vmname> vrdeport <port>

  VBoxManage controlvm <uuid | vmname> vrdeproperty <prop-name=prop-value>

  VBoxManage controlvm <uuid | vmname> vrdevideochannelquality <percentage>

  VBoxManage controlvm <uuid | vmname> setvideomodehint <xres> <yres> <bpp> [[display]  [enabled:yes | no |
      x-origin y-origin] ]

  VBoxManage controlvm <uuid | vmname> setscreenlayout <display> <on |
      primary x-origin y-origin x-resolution y-resolution bpp | off>

  VBoxManage controlvm <uuid | vmname> screenshotpng <filename> [display]

  VBoxManage controlvm <uuid | vmname> recording <on | off>

  VBoxManage controlvm <uuid | vmname> recording screens <all | none | screen-ID[,screen-ID...]>

  VBoxManage controlvm <uuid | vmname> recording filename <filename>

  VBoxManage controlvm <uuid | vmname> recording videores <widthxheight>

  VBoxManage controlvm <uuid | vmname> recording videorate <rate>

  VBoxManage controlvm <uuid | vmname> recording videofps <fps>

  VBoxManage controlvm <uuid | vmname> recording maxtime <sec>

  VBoxManage controlvm <uuid | vmname> recording maxfilesize <MB>

  VBoxManage controlvm <uuid | vmname> setcredentials <username> --passwordfile= <filename | password>  <domain-name>
      --allowlocallogon= <yes | no>

  VBoxManage controlvm <uuid | vmname> teleport <--host=host-name> <--port=port-name> [--maxdowntime=msec]
      [--passwordfile=filename | --password=password]

  VBoxManage controlvm <uuid | vmname> plugcpu <ID>

  VBoxManage controlvm <uuid | vmname> unplugcpu <ID>

  VBoxManage controlvm <uuid | vmname> cpuexecutioncap <num>

  VBoxManage controlvm <uuid | vmname> vm-process-priority <default | flat | low | normal | high>

  VBoxManage controlvm <uuid | vmname> webcam attach [pathname [settings] ]

  VBoxManage controlvm <uuid | vmname> webcam detach [pathname]

  VBoxManage controlvm <uuid | vmname> webcam list

  VBoxManage controlvm <uuid | vmname> addencpassword <ID> <password-file | -> [--removeonsuspend= yes | no ]

  VBoxManage controlvm <uuid | vmname> removeencpassword <ID>

  VBoxManage controlvm <uuid | vmname> removeallencpasswords

  VBoxManage controlvm <uuid | vmname> changeuartmodeN disconnected | server pipe-name | client pipe-name |
      tcpserver port | tcpclient hostname:port | file filename | device-name

  VBoxManage controlvm <uuid | vmname> autostart-enabledN on | off

  VBoxManage controlvm <uuid | vmname> autostart-delayseconds

VBoxManage.exe: error: Not enough parameters.

參考資料

标签:...,--,cmd,controlvm,recording,Vbox,Oracle,VBoxManage
From: https://www.cnblogs.com/Miac/p/18318508

相关文章

  • Linux-shell脚本链接Oracle执行查询
    #!/bin/bash#zkm2024-07-22Linux脚本链接Oracle数据库,用户判断sftp、ftp生成文件目录是否为空,若为空则短信表插入一条数据,用于短信提醒。#注意:#1、当前服务器需要安装Oracle客户端#2、sqlplus验证连接Oracle正常#当前时间date_time=`date+"%Y%m%d%H%M"`#输出时间echo"开......
  • Oracle 到 MySQL 函数替换方案汇总
    常用函数和语法转换  NVL函数Oracle语法:NVL(COUNT(*),0)MySQL语法:IFNULL(COUNT(*),0) 转字符串 Oracle语法:to_char(字段)MySQL语法:CONVERT(字段,CHAR) Rownum递增 Oracle语法:SELECTrownumnumFROMSYS_ENUMMySQL语法:SELECT(@i:=@i......
  • Oracle——navicat连接Oracle数据库报错(12514)
    2024/07/221.问题描述2.解决办法3.参考材料1.问题描述与其他厂商做数据对接时,对方提供相关视图,我navicat连接Oracle数据库时报错,其报错代码如下:ORA-12514:TNS:listenerdoesnotcurrentlyknowofservicerequestedinconnectdescriptor2.解决办法对方提供实例为hisd......
  • 尝试在cmd(python)中安装turtle
    当我在cmd中编写pipinstallturtle后,这条消息出现在我面前。有人知道该怎么办吗?C:\>pipinstallturtleCollectingturtleUsingcachedturtle-0.0.2.tar.gz(11kB)ERROR:Commanderroredoutwithexitstatus1:command:'C:\Users\Bruger\App......
  • Robot Framework 数据库库调用 Oracle 存储过程失败,并出现字符到数字转换错误
    我有一个OraclePL/SQL程序,我可以直接调用如下,没有问题:BEGINexample_package_name.example_procedure(p_item_no=>123456,p_send_now=>true);END;(注意:p_item_no期望aNUMBER和p_send_now期望aBOOLEAN)我正在......
  • Oracle SQL:多字段组合去重技巧详解
    在Oracle数据库中,如果你需要根据多个字段的组合进行去重,最常用的几种方法是使用 DISTINCT 关键字、GROUPBY 子句,或者使用窗口函数 ROW_NUMBER()。1.使用 DISTINCT 关键字如果想要获取所有唯一的记录组合,可以使用 DISTINCT 关键字。这将返回指定列的唯一组合。SE......
  • docker 创建 oracle 11g
    参考【DB宝11】在Docker中只需2步即可拥有Oracle11g企业版环境(11.2.0.3)拉取镜像#从Dockerhub下载,网络不好时,一般比较慢dockerpulllhrbest/oracle_11g_ee_lhr_11.2.0.3:1.0#可以选择从阿里云下载dockerpullregistry.cn-hangzhou.aliyuncs.com/lhrbest/oracle_11g_ee_......
  • 一、Oracle DB服务器体系结构概览。
    一、OracleDB服务器体系结构概览。  OracleDB服务器体系结构包含以下三种主要结构:内存结构、进程结构和存储结构。基本的OracleDB系统由OracleDB和数据库实例组成。数据库包括物理结构和逻辑结构。由于物理结构和逻辑结构是分开的,因此管理数据的物理存储时不会影响......
  • 如何从 Oracle 迁移到 Greenplum 第二篇
    如何从Oracle迁移到Greenplum第二篇Greenplum中文社区Greenplum中文社区2020/04/3009:00阅读数2.7K本文被收录于专区数据库进入专区参与更多专题讨论  在上周和大家分享的《如何从Oracle迁移到Greenplum第一篇》中,我们介绍了Greenplum......
  • Oracle(11)Oracle有哪些常见的数据类型?
    Oracle数据库提供了多种数据类型,用于存储不同类型的数据。以下是一些常见的Oracle数据类型,并结合代码进行详细说明:VARCHAR2:存储可变长度的字符串,最大长度为4000字节。CREATETABLEemployees(employee_idNUMBER,first_nameVARCHAR2(50),last_nameVAR......