1.在powershell世界裡都是由物件組成,包含property與method
2.善用 pipeline: | Out-Host -Paging,以下兩種指令對於CPU與Memory的消耗有很大的差異:

benchen15 發表在 痞客邦 留言(0) 人氣()

因測試需要,在防火牆建立允許icmpv4 ping的規則:
New-NetFirewallRule –DisplayName “Allow Ping” –Direction Inbound –Action Allow –Protocol icmpv4 –Enabled True

benchen15 發表在 痞客邦 留言(0) 人氣()


當遇到以下兩種情況:
1.同步處理狀態都成功,但是下載狀態的更新檔案與已下載的容量都沒有變化

benchen15 發表在 痞客邦 留言(0) 人氣()

#系統版本低於6就忽略
if([environment]::OSVersion.version.Major -lt 6) {return}

benchen15 發表在 痞客邦 留言(0) 人氣()

如何建置kms server可以參考以下文章:
Installing Volume Activation Services Role in Windows Server 2012 to setup a KMS Host

benchen15 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。