跳到內容
選單
探索主題
教程列表
技巧貼士
函數參考
正體中文
⌄
正體中文
简体中文
Español
Français
Deutsche
日本語
한국어
English
首頁
→
How-to 指南
→
PowerShell 貼士
實用解決方案
PowerShell 貼士 實用指南
解決問題,繼續建構。 Windows powershell 操作方法文章集
找到你需要的答案
依照工作任務分類瀏覽實用解決方案。
搜尋此頁面
此頁面有 __COUNT__ 個項目
PowerShell Alias
在 PowerShell 中使用參數創建別名
掌握帶參數的 PowerShell 別名! 學習如何使用函數作為解決方法,以及提高指令碼效率的最佳實踐。 立即提高您的工作效率!
↗
PowerShell File
PowerShell 複製檔案並重新命名
本文的主要目的是展示最基本的 I/O 操作,即複製一個文件然後將其粘貼到另一個目錄或位置,並使用不同的名稱。
↗
PowerShell Copy-Item
PowerShell 複製項目進度
Start-BitsTransfer cmdlet 可以用來將檔案從來源複製到目的地。這個命令帶有進度條,顯示在特定時間內完成了多少工作。
↗
PowerShell Array
PowerShell 中的字串陣列
本教程演示了如何在 PowerShell 中創建字串數組。
↗
PowerShell Parameter
PowerShell 中的不同參數
本文將討論參數函數是什麼、不同類型的參數及其樣本用途。
↗
PowerShell Content
PowerShell Set-Content Cmdlet
Set-Content cmdlet 被廣泛用於將新的文本內容寫入現有檔案或用給定的文本值替換現有的文本內容。它包含幾個可選的參數,以便於提供不同的功能,這些功能對用戶非常有用。
↗
PowerShell String
如何使用 PowerShell 檢查字符串的開頭
本文將演示如何使用 Windows PowerShell 中的不同方法和函數檢查字符串變量的開頭。
↗
PowerShell File
如何使用 PowerShell 將數據附加到文件
本文將討論 PowerShell Add-Content Cmdlet 如何運作,以及附加內容到文件的不同範例。
↗
PowerShell Parameters Arguments
如何在 Windows PowerShell 中獲取命令行參數
本文將解釋我們如何使用 PowerShell 的參數功能處理命令行參數,參數如何運作,我們如何使用 PowerShell 參數傳遞值,以及定義參數的基本方法是什麼。
↗
PowerShell New Line
如何在 PowerShell 中將新行添加到命令輸出中
本教程將教您在 PowerShell 中將新行添加到命令輸出中的不同方法。
↗
PowerShell Array
如何在 PowerShell 中將項目添加到數組
本教程將教您如何在 PowerShell 中向數組添加項目。
↗
PowerShell Object
如何在 PowerShell 中為對象添加屬性
本文討論了我們如何使用 Add-Member 命令向 PowerShell 對象添加屬性。
↗
PowerShell Color
如何在 PowerShell 中更改顏色
本文將討論如何使用 PowerShell 更改字體顏色、腳本的背景顏色和控制台窗口顏色。
↗
PowerShell Operator
在 PowerShell 中的呼叫運算符 &
在 PowerShell 中,有一個非常常見的運算符 `&`。這個運算符被用戶用來實現命令所需的功能。
↗
PowerShell Method
PowerShell 中的所有替換方法
本文將討論如何使用不同的 PowerShell 替換方法來替換或刪除字符、文本和單詞。
↗
PowerShell Boolean
PowerShell 中的布林值
本文將解釋什麼是布林值,以及我們如何在 Windows PowerShell 環境中使用它們。
↗
PowerShell Comment
如何在 PowerShell 中註解程式碼
本文將展示在 Windows PowerShell 中註解代碼的多種方法。本文還介紹了一些註解代碼時的最佳實踐。
↗
PowerShell String
如何比較 PowerShell 中兩個字串物件的內容
本文探討了幾種在 PowerShell 中比較兩個字串物件內容的方法,從使用 -eq 和 -ne 等運算符的基本相等和不等檢查,到涉及 Equals() 方法的更高級技術。
↗
PowerShell File
如何使用 PowerShell 連接文件
本教程將教您如何使用 PowerShell 連接檔案。
↗
PowerShell SQL
如何使用 PowerShell 檢查 SQL Server 版本
本教程將教您如何使用 PowerShell 檢查 SQL 伺服器版本。
↗
PowerShell Session
使用 PowerShell 遠端處理執行命令
本文將討論 PowerShell 遠端處理的工作原理、幾個 PowerShell 遠端處理命令,以及我們如何將其投入實際使用。我們還將區分它與許多類似 cmdlet 的優勢。
↗
PowerShell Email
在 PowerShell 中向多個收件人傳送電子郵件
本文將演示使用 PowerShell 編寫和使用哪些命令向多個收件人傳送電子郵件。
↗
PowerShell User
PowerShell 以不同使用者身份執行
本文介紹如何在 powershell 中以不同使用者身份執行。
↗
PowerShell Directory
在 PowerShell 中獲取父級的父目錄
本教程將教你在 PowerShell 中獲取父級的父目錄。
↗
←
上一頁
1
…
5
6
7
…
11
下一頁
→
找不到項目
請嘗試其他搜尋,或清除篩選條件。
清除篩選條件