
- PowerShell 教程
- PowerShell - 主頁
- PowerShell - 概述
- PowerShell - 環境設定
- PowerShell - Cmdlet
- PowerShell - 檔案和資料夾
- PowerShell - 日期和時間
- PowerShell - 檔案 I/O
- PowerShell - 高階 Cmdlet
- PowerShell - 指令碼
- PowerShell - 特殊變數
- PowerShell - 運算子
- PowerShell - 迴圈
- PowerShell - 條件
- PowerShell - 陣列
- PowerShell - 雜湊表
- PowerShell - 匹配
- PowerShell - 反引號
- PowerShell - 括號
- PowerShell - 別名
- PowerShell 有用資源
- PowerShell - 快速指南
- PowerShell - 有用資源
- PowerShell - 討論
PowerShell - 日期和時間操作
以下是有關係統日期和時間的 powershell 指令碼示例。
序列號 | 操作和說明 |
---|---|
1 |
獲取系統日期
示例指令碼:演示如何使用 PowerShell 指令碼獲取系統日期。 |
2 |
設定系統日期
示例指令碼:演示如何使用 PowerShell 指令碼設定系統日期。 |
3 |
獲取系統時間
示例指令碼:演示如何使用 PowerShell 指令碼獲取系統時間。 |
4 |
設定系統時間
示例指令碼:演示如何使用 PowerShell 指令碼設定系統時間。 |
廣告