跳至内容
菜单
探索主题
教程列表
技巧贴士
函数参考
简体中文
⌄
简体中文
正體中文
Español
Français
Deutsche
日本語
한국어
English
首页
→
How-to 指南
→
PowerShell 贴士
实用解决方案
PowerShell 贴士 实用指南
解决问题,继续构建。 Windows powershell 操作方法文章集
找到你需要的答案
按任务分类浏览实用解决方案。
搜索此页面
此页面有 __COUNT__ 个条目
PowerShell Function
如何使用 PowerShell 函数
本文将区分函数和 cmdlet,介绍如何创建函数,以及如何在 PowerShell 中使用函数传递参数。
↗
PowerShell ACL Permission
如何使用 PowerShell 管理 ACL 权限
本文将学习不同的权限类型,以及如何使用 PowerShell 查询、修改和删除文件和文件夹上的 ACL。
↗
PowerShell Memory
如何使用 PowerShell 查找 CPU 和 RAM 使用情况
本文探讨了不同的方法,包括使用 Get-Counter、Get-WmiObject 和 Get-Process cmdlet,有效地用 PowerShell 查找和监控 CPU 和 RAM 使用情况。
↗
PowerShell Variable
如何清除 PowerShell 中的变量内容
本教程将教你如何清除 PowerShell 中的变量内容。
↗
PowerShell String
如何检查字符串在 PowerShell 中是否不为 NULL 或 EMPTY
本教程将介绍在 PowerShell 中检查字符串是否不为 null 或空的不同方法。
↗
PowerShell Folder
如何检查 PowerShell 中的文件夹是否存在
本教程将教你如何在 PowerShell 中检查文件夹是否存在。
↗
PowerShell Current Location
如何获取 PowerShell 脚本的当前位置
本文将讨论如何在不同版本的 PowerShell 脚本环境中获取 PowerShell 脚本的当前所在位置。
↗
PowerShell Script
如何从批处理文件运行 PowerShell 脚本
本教程将教您如何从批处理文件运行 PowerShell 脚本。
↗
PowerShell Boolean
如何从命令提示符将布尔参数传递给 PowerShell 脚本
本教程将教你如何从命令提示符向 PowerShell 脚本传递布尔值。
↗
PowerShell Array
如何从 PowerShell 数组中删除重复值
本教程将教您从 PowerShell 数组中删除重复值的方法。
↗
PowerShell String
PowerShell 中的字符串插值
本文将讨论变量是什么,以及在 Windows PowerShell 中如何使用它们进行字符串插值的几种方法。
↗
PowerShell Operator
PowerShell 中的三元运算符
本教程将介绍 PowerShell 中的三元运算符。
↗
PowerShell Logical Operators
PowerShell 中的逻辑操作符
本文将讨论在 PowerShell 中使用的几种逻辑运算符。本文还讨论了不同的现实世界示例以及我们如何在 PowerShell 脚本中应用它。
↗
PowerShell Variable
PowerShell 中的空变量
本文讨论了空变量,在 PowerShell 中使用空变量的不同语法的影响,以及检查空值的方法。
↗
PowerShell Line
PowerShell 中的换行符
本教程将教你在 PowerShell 中换行。
↗
PowerShell Unicode
PowerShell 中的 UTF-8 编码(CHCP 65001)
本教程将介绍在 PowerShell 中使用 UTF-8 编码的不同方法。
↗
PowerShell LastExitCode
PowerShell 中的 LastExitCode
本文将重点介绍 PowerShell 中的 $? 和 $lastexitcode 命令。
↗
PowerShell Array
PowerShell 多维数组
本教程将介绍 PowerShell 中的多维数组。
↗
PowerShell Parameters
PowerShell 参数上的多个值
本文将讨论参数函数、我们可以在参数中定义的不同类型的变量、如何在单个参数中处理多个值及其示例用法。
↗
PowerShell Operator
PowerShell 包含操作符
本文介绍了 PowerShell 中的 contains 运算符。
↗
PowerShell Robocopy
使用 Robocopy 和参数传递的 PowerShell
本教程将教您如何在 PowerShell 中使用 robocopy。
↗
PowerShell Binding
如何在 PowerShell 中使用 CmdletBinding 属性
cmdlet 是一个轻量级脚本,在 PowerShell 环境中执行单个功能。cmdlet 可以用任何 .Net 语言编写。
↗
PowerShell JSON
如何在 PowerShell 中将 JSON 对象写入文件
本文介绍了在 PowerShell 中将 JSON 对象写入文件的方法。
↗
PowerShell List
如何在 PowerShell 中获取正在运行的进程列表
PowerShell Get-Process 命令可以用来检索 Windows 机器中正在运行的进程列表。它提供了每个正在运行的进程的详细信息。
↗
←
上一页
1
2
3
4
…
11
下一页
→
未找到条目
请尝试其他搜索,或清除筛选条件。
清除筛选条件