2025年1月23日 星期四

windows 啟動路徑

 C:\Users\xxxxx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

2025年1月9日 星期四

如何更新powershell?

打開 PowerShell 終端并輸入以下命令來安裝最新版本的 PowerShell: 

winget install --id Microsoft.Powershell --source winget


看powershell版本,開啟終端機

$PSVersionTable




windows 如何看使用者密碼還剩幾天?(沒有加入AD)

 (Get-LocalUser -Name "使用者名稱").PasswordLastSet.AddDays(90) - (Get-Date)