VMware/PowerCLI

Top / VMware / PowerCLI

ܼ

³

  • vCenter Server ESX/ESXi ؤ³
    # 桼̾ѥɤ٥񤭤ʤȤ
    # ϤΥץץȤɽ
    connect-viserver -server xxx.xxx.xxx.xxx
    
    # 桼̾ѥɤϤʤʤ٥񤭤Ǥ
    connect-viserver -server xxx.xxx.xxx.xxx -user xxx -password xxx
    
    # ³֥Ȥ¸ƤǤΤȤ
    $hoge = connect-viserver -server xxx.xxx.xxx.xxx
    
  • vCenter Server ESX/ESXi
    # ä˹פΤ褦ʤ
    disconnect-viserver -server xxx.xxx.xxx.xxx
    
    # ³֥ȤФǤ
    disconnect-viserver $hoge
    

ե

  • ե֥Ȥμ
    # Ʊ̾ΥեĤʤȯǼ롣
    $folder = get-folder -name hoge
    
    # Ʊ̾Υեʣʤ鳬ؤ򤿤ɤäưդˤ
    # hoge/fuga/piyo  piyo Ϥ
    # folder Υ֥Ȥ get-folder ۲ΥեΤ name ǥե륿ƹʤǤ
    $folder = get-folder -name hoge | get-folder -name fuga | get-folder -name piyo
    

GUI PowerCLI ɲ

VMware Labs ȯ Onyx äƤġȤ vSphere Client Ǥ GUI ȥ쥹 PowerCLI ΥɤˤƤ롣


Last-modified: 2012-11-11 () 21:55:46 (2141d)