关于主题
说明
关于主题涵盖了有关 PowerShell 的一系列概念。
关于主题
about_Alias_Provider
介绍别名提供程序的功能。
about_Aliases
介绍如何在 PowerShell 中使用 cmdlet 和命令的备用名称。
about_Arithmetic_Operators
介绍在 PowerShell 中执行算术的运算符。
about_Arrays
描述数组,这些数组是设计用于存储项集合的数据结构。
about_Assignment_Operators
介绍如何使用运算符将值分配给变量。
about_Automatic_Variables
描述存储 PowerShell 的状态信息的变量。 这些变量由 PowerShell 创建和维护。
about_Break
描述可用于立即退出 Foreach、For、While、Do 或 Switch 语句的语句。
about_CimSession
描述 CimSession 对象以及 CIM 会话与 PowerShell 会话之间的差异。
about_Classes
介绍如何使用类创建自己的自定义类型。
about_Command_Precedence
介绍 PowerShell 如何确定要运行的命令。
about_Command_Syntax
介绍 PowerShell 中使用的语法关系图。
about_Comment_Based_Help
介绍如何为函数和脚本编写基于注释的帮助主题。
about_CommonParameters
描述可与任何 cmdlet 一起使用的参数。
about_Comparison_Operators
介绍在 PowerShell 中比较值的运算符。
about_Continue
描述 语句如何 Continue
立即将程序流返回到程序循环的顶部。
about_Core_Commands
列出设计用于 PowerShell 提供程序的 cmdlet。
about_Data_Sections
介绍数据部分,这些节将文本字符串和其他只读数据与脚本逻辑隔离开来。
about_Debuggers
介绍 PowerShell 调试器。
about_Do
运行语句列表一次或多次,受 While 或 Until 条件约束。
about_Enum
语句 enum
用于声明枚举。 枚举是一种非重复类型,它由一组名为枚举器列表的命名标签组成。
about_Environment_Provider
介绍环境提供程序的功能。
about_Environment_Variables
介绍如何在 PowerShell 中访问 Windows 环境变量。
about_Execution_Policies
介绍 PowerShell 执行策略并说明如何管理这些策略。
about_Experimental_Features
介绍如何使用 PowerShell 的实验性功能。
about_FileSystem_Provider
介绍 FileSystem 提供程序的功能。
about_For
介绍可用于基于条件测试运行语句的语言命令。
about_Foreach
描述可用于遍历项集合中的所有项的语言命令。
about_Format.ps1xml
Format.ps1xml
PowerShell 中的文件定义 PowerShell 控制台中对象的默认显示。
about_Function_Provider
描述函数提供程序的功能。
about_Functions
介绍如何在 PowerShell 中创建和使用函数。
about_Functions_Advanced
介绍与 cmdlet 类似的高级函数。
about_Functions_Advanced_Methods
描述指定特性的 CmdletBinding
函数如何使用可用于已编译 cmdlet 的方法和属性。
about_Functions_Advanced_Parameters
说明如何将参数添加到高级函数。
about_Functions_CmdletBindingAttribute
描述使函数像编译的 cmdlet 一样工作的属性。
about_Functions_OutputTypeAttribute
介绍报告函数返回的对象类型的属性。
about_Group_Policy_Settings
介绍 PowerShell 的组策略设置。
about_Hash_Tables
介绍如何在 PowerShell 中创建、使用和排序哈希表。
about_hidden
描述 Hidden 关键字,该关键字对默认Get-Member结果隐藏类成员。
about_History
介绍如何在命令历史记录中获取和运行命令。
about_If
介绍一个语言命令,可用于基于一个或多个条件测试的结果运行语句列表。
about_Job_Details
提供有关本地和远程计算机上的后台作业的详细信息。
about_Jobs
提供有关 PowerShell 后台作业如何在后台运行命令或表达式而不与当前会话交互的信息。
about_Join
介绍联接运算符 (联接) 如何将多个字符串合并为单个字符串。
about_Language_Keywords
描述 PowerShell 脚本语言中的关键字。
about_Language_Modes
介绍语言模式及其对 PowerShell 会话的影响。
about_Line_Editing
介绍如何在 PowerShell 命令提示符下编辑命令。
about_locations
介绍如何从 PowerShell 中的工作位置访问项。
about_Logging_Non-Windows
PowerShell 记录来自引擎、提供程序和 cmdlet 的内部操作。
about_Logging_Windows
PowerShell 记录来自引擎、提供程序和 cmdlet 的内部操作。
about_logical_operators
描述在 PowerShell 中连接语句的运算符。
about_Methods
介绍如何使用方法在 PowerShell 中对对象执行操作。
about_Modules
介绍如何安装、导入和使用 PowerShell 模块。
about_Object_Creation
说明如何在 PowerShell 中创建对象。
about_Objects
提供有关 PowerShell 中对象的基本信息。
about_Operator_Precedence
按优先顺序列出 PowerShell 运算符。
about_Operators
介绍 PowerShell 支持的运算符。
about_PackageManagement
PackageManagement 是软件包管理器的聚合器。
about_Parameters
介绍如何在 PowerShell 中使用命令参数。
about_Parameters_Default_Values
介绍如何为 cmdlet 和高级函数的参数设置自定义默认值。
about_Parsing
描述 PowerShell 如何分析命令。
about_Path_Syntax
介绍 PowerShell 中的完整和相对路径名称格式。
about_pipelines
在 PowerShell 中将命令合并到管道中。
about_PowerShell_Config
PowerShell 的配置文件,替换注册表配置。
about_PowerShell_Editions
不同版本的 PowerShell 在不同的基础运行时上运行。
about_Preference_Variables
自定义 PowerShell 行为的变量。
about_Profiles
介绍如何创建和使用 PowerShell 配置文件。
about_Prompts
介绍 Prompt 函数,并演示如何创建自定义 Prompt 函数。
about_Properties
介绍如何在 PowerShell 中使用对象属性。
about_Providers
介绍 PowerShell 提供程序如何提供对在命令行上无法轻松访问的数据和组件的访问。
about_psconsolehostreadline
介绍如何创建自定义 PowerShell 在控制台提示符下读取输入的方式。
about_PSSession_Details
提供有关 PowerShell 会话及其在远程命令中扮演的角色的详细信息。
about_PSSessions
介绍 powerShell 会话 (PSSessions) ,并说明如何与远程计算机建立持久连接。
about_pwsh
说明如何使用 pwsh 命令行工具。 显示语法并描述命令行开关。 pwsh 启动 PowerShell 会话。
about_Quoting_Rules
介绍在 PowerShell 中使用单引号和双引号的规则。
about_Redirection
介绍如何将输出从 PowerShell 重定向到文本文件。
about_Ref
介绍如何创建和使用引用类型变量。 可以使用引用类型变量来允许函数更改传递给它的变量的值。
about_Registry_Provider
介绍注册表提供程序的功能。
about_Regular_Expressions
介绍 PowerShell 中的正则表达式。
about_Remote
介绍如何在 PowerShell 中运行远程命令。
about_Remote_Disconnected_Sessions
说明如何与 PSSession 断开连接并进行重新连接。
about_Remote_Jobs
介绍如何在远程计算机上运行后台作业。
about_Remote_Output
介绍如何解释远程命令的输出并设置其格式。
about_Remote_Requirements
介绍在 PowerShell 中运行远程命令的系统要求和配置要求。
about_Remote_Troubleshooting
介绍如何对 PowerShell 中的远程操作进行故障排除。
about_Remote_Variables
说明如何在远程命令中使用本地和远程变量。
about_Requires
防止脚本在没有所需元素的情况下运行。
about_Reserved_Words
列出由于在 PowerShell 中具有特殊含义而不能用作标识符的保留词。
about_Return
退出当前作用域,它可以是函数、脚本或脚本块。
about_Run_With_PowerShell
介绍如何使用“使用 PowerShell 运行”功能从文件系统驱动器运行脚本。
about_Scopes
介绍 PowerShell 中的范围概念,并演示如何设置和更改元素的范围。
about_Script_Blocks
定义什么是脚本块,并说明如何在 PowerShell 编程语言中使用脚本块。
about_Script_Internationalization
介绍脚本国际化功能,使脚本可以轻松地在用户界面中向用户显示消息和说明 (UI) 语言。
about_Scripts
介绍如何在 PowerShell 中运行和编写脚本。
about_Session_Configuration_Files
描述会话配置文件,用于会话配置 (也称为“终结点”) 来定义使用会话配置的会话环境。
about_Session_Configurations
介绍会话配置,用于确定可远程连接到计算机的用户以及他们可以运行的命令。
about_Signing
介绍如何对脚本进行签名,使其符合 PowerShell 执行策略。
about_simplified_syntax
介绍为对象集合编写筛选器脚本的更简单、更自然的语言方式。
about_Special_Characters
介绍可用于控制 PowerShell 如何解释命令或参数中的下一个字符的特殊字符。
about_Splatting
介绍如何使用展开将参数传递给 PowerShell 中的命令。
about_Split
说明如何使用 Split 运算符将一个或多个字符串拆分为子字符串。
about_Switch
说明如何使用 开关来处理多个 If
语句。
about_Telemetry
介绍在 PowerShell 中收集的遥测数据。
about_Throw
介绍 Throw 关键字,用于生成终止错误。
about_Trap
描述处理终止错误的关键字。
about_Try_Catch_Finally
介绍如何使用 Try
、 Catch
和 Finally
块来处理终止错误。
about_Type_Operators
介绍适用于 Microsoft .NET Framework 类型的运算符。
about_Types.ps1xml
介绍如何使用 Types.ps1xml 文件扩展 PowerShell 中使用的对象类型。
about_Updatable_Help
介绍 PowerShell 中的可更新帮助系统。
About_Using
允许指示会话中使用的命名空间。
about_Variable_Provider
介绍变量提供程序的功能。
about_Variables
介绍变量如何存储可在 PowerShell 中使用的值。
about_While
描述可用于基于条件测试结果运行命令块的语言语句。
about_Wildcards
介绍如何在 PowerShell 中使用通配符。