2025/03/17

HP ESXI 6.5 升級7.0 U3

原本的ESXI是HP專用6.5版,為了安裝比較新的win server os,要升級ESXI。
目前ESXI已無免費版,所以是去HP的官網下載裡面最新版本的ESXI(https://support.broadcom.com/c/portal/login?formDate=1742174666301&saveLastPath=false&redirect=%2Fgroup%2Fecx%2Fproductfiles%3FsubFamily%3DVMware%2520vSphere%26displayGroup%3DVMware%2520vSphere%2520-%2520Enterprise%2520Plus%26release%3D7.0%26os%3D%26servicePk%3D202621%26language%3DEN&idpEntityId=https%3A%2F%2Faccess.broadcom.com%2Fdefault)
升級方式
1.先把iso做成開機usb,插上server。
2.server重開機,讀取usb。
3.在安裝選項的地方,選擇升級esxi。
4.安裝完成重開機。
時間很快,不到15分鐘就好了,但有一個地方要注意的事,升級後,之前使用的6.5免費版授權序號就不能用了,登入esxi web console時,就會提示目前是60天試用版。
這時只要在輸入7.0免費版的esxi序號啟動就行了,這個序號沒有分是不是用在某一廠牌伺服器專用的esxi,只要是7.0都通用。


The original ESXi was an HP-specific version of 6.5. To install a newer Windows Server OS vm, an ESXi upgrade is required.

Since ESXi no longer offers a free version, the latest version was downloaded from HP’s official website:
HP ESXi Download.

Upgrade Process:

  1. Create a bootable USB from the ISO and plug it into the server.
  2. Reboot the server and boot from the USB.
  3. In the installation options, select "Upgrade ESXi."
  4. After installation, reboot the server.

The upgrade is fast, taking less than 15 minutes. However, one important thing to note is that after upgrading, the previous ESXi 6.5 free license will no longer work. When logging into the ESXi web console, it will indicate that the current version is a 60-day trial.

To resolve this, simply enter a free ESXi 7.0 license key to activate it. This key is not brand-specific and works for any ESXi 7.0 installation.

2025/03/05

Covered Call賠賠賠

用週選做covered call,遇到這種一直殺的盤,沒適時停損,愈賠愈多,最後受不了,心態扛不住昨晚才停損,停損後就往上噴了.....

前幾個月賺的都沒了還倒賠,做期權,紀律真的太重要了。

2025/03/04

查詢使用者帳號可以設定電腦加入網域次數

在ad環境中,每個使用者帳號可以設定電腦加入網域10次,如果要查這個帳號剩次數可以用,可以用下列這個powershell,它會顯示已經使用幾次,下圖就是某帳號已用掉3次,還剩7次。

$UserName = "account"  # 替換為你的帳號名稱

$UserSID = (Get-ADUser $UserName).SID

Get-ADComputer -Filter * -Property ms-DS-CreatorSID | Where-Object { $_.'ms-DS-CreatorSID' -eq $UserSID } | Measure-Object