跳到內容
選單
探索主題
教程列表
技巧貼士
函數參考
正體中文
⌄
正體中文
简体中文
Español
Français
Deutsche
日本語
한국어
English
首頁
→
How-to 指南
→
PowerShell 貼士
實用解決方案
PowerShell 貼士 實用指南
解決問題,繼續建構。 Windows powershell 操作方法文章集
找到你需要的答案
依照工作任務分類瀏覽實用解決方案。
搜尋此頁面
此頁面有 __COUNT__ 個項目
PowerShell Binding
如何在 PowerShell 中使用 CmdletBinding 特性
cmdlet 是一種輕量級的腳本,在 PowerShell 環境中執行單一功能。cmdlet 可以用任何 .Net 語言編寫。
↗
PowerShell CSV
如何在 PowerShell 中合併 CSV 文件
可能需要合併多個 CSV 文件並將數據寫入文本文件中,這可以在 PowerShell 中完成。可以使用 Import-Csv 和 Export-Csv 命令來執行此操作。
↗
PowerShell Path
如何在 PowerShell 中拆分目錄路徑
本教程將教您如何在 PowerShell 中拆分目錄或文件路徑。
↗
PowerShell File
如何使用 PowerShell 從路徑中提取檔案名稱
這個教程將教你如何使用 PowerShell 從路徑中提取檔名。
↗
PowerShell DateTime
如何在 PowerShell 中使用 ParseExact 解析日期時間
這個教學將教你如何在 PowerShell 中解析和轉換字串為 DateTime 格式。
↗
PowerShell Escape
如何在 PowerShell 中轉義單引號和雙引號
本教程將教您如何在 PowerShell 中轉義單引號和雙引號。
↗
PowerShell CSV
如何在 PowerShell 中將數據附加到 CSV 文件
本教程將教您如何使用 PowerShell 向 CSV 文件中追加數據。
↗
PowerShell Function
如何從 PowerShell 函數返回多個項目
這個教程將教您如何從 PowerShell 函數返回多個值。
↗
PowerShell Array
如何使用 PowerShell 對數組值進行排序
本教程將教您如何在 PowerShell 中排序數組值。
↗
PowerShell String
如何從字串中提取 PowerShell 子字串
您可以在 Windows PowerShell 中從字串中提取子字串。
↗
PowerShell Exit Code
如何從 PowerShell 中的 Start-Process 獲取退出代碼
本文將解釋如何在使用 start-process cmdlet 執行腳本後獲取退出代碼。
↗
PowerShell Color
如何重置 PowerShell 顏色
本教程演示如何重置 PowerShell 顏色。
↗
PowerShell Help
如何為 PowerShell 腳本撰寫基於註解的幫助
您可以為您的 PowerShell 腳本和 cmdlet 編寫基於註解的幫助。
↗
PowerShell File
如何使用 PowerShell 獲取文件大小(以 KB 為單位)
本教程將教你如何使用 PowerShell 獲取文件的大小(以 KB 為單位)。
↗
PowerShell String
如何使用 PowerShell 檢查文件是否包含特定字符串
您可以使用 Windows PowerShell 檢查文本檔案是否包含特定字符串。
↗
PowerShell ACL
如何使用 PowerShell 管理 NTFS 權限
本文將討論如何使用 Get-ACL 命令管理 NTFS 權限。
↗
PowerShell File
如何使用 PowerShell 解鎖文件
本文將討論如何使用 PowerShell 解鎖並允許從互聯網下載的文件。
↗
PowerShell XML
如何使用 PowerShell 解析 XML 文件
這篇文章將討論如何使用 Windows PowerShell 正確解析 XML 檔案。
↗
PowerShell Environment Variables
如何使用 PowerShell 設置環境變量
本文將討論在我們當前會話中使用 PowerShell 設置環境變數並刷新它們。
↗
PowerShell String
如何使用 PowerShell 移除變數中的空格
本教程將教您如何使用 PowerShell 從變數中刪除空格。
↗
PowerShell File
如何使用 PowerShell 將文本文件內容存儲在變量中
此教程將教您如何在 PowerShell 中將整個文本文件內容存儲在變量中。
↗
PowerShell String
如何使用 PowerShell 生成隨機字串
本文將討論如何使用 PowerShell 生成隨機字串,以用於密碼。
↗
PowerShell Folder
如何使用 PowerShell 打開資料夾
本教程將教你如何使用 PowerShell 打開資料夾。
↗
PowerShell Process
如何在 PowerShell 中獲得類似於任務管理器的進程列表
本文說明了我們如何在 PowerShell 上從本地計算機獲取性能指標。我們使用 PowerShell 上的 Get-Counter Cmdlet 從 Windows 的性能監控程序中獲取性能計數器數據。
↗
←
上一頁
1
…
3
4
5
…
11
下一頁
→
找不到項目
請嘗試其他搜尋,或清除篩選條件。
清除篩選條件