About 32,300 results
Open links in new tab
  1. about_Parameters - PowerShell | Microsoft Learn

    Jan 19, 2024 · Describes how to work with command parameters in PowerShell. Long description. Most PowerShell commands, such as cmdlets, functions, and scripts, rely on parameters to …

  2. about_Functions_Advanced_Parameters - PowerShell | Microsoft …

    Feb 25, 2025 · When you supply strings as arguments to parameters that expect a different type, PowerShell implicitly converts the strings to the parameter target type. Advanced functions …

  3. about_Command_Syntax - PowerShell | Microsoft Learn

    Jan 19, 2024 · The syntax diagram lists the command name, the command parameters, and the parameter values. The syntax diagrams use the following symbols: A hyphen - indicates a …

  4. about_Parameter_Sets - PowerShell | Microsoft Learn

    Describes how to define and use parameter sets in advanced functions. Long description. PowerShell uses parameter sets to enable you to write a single function that can do different …

  5. Parameter Attribute Declaration - PowerShell | Microsoft Learn

    Jan 6, 2025 · The Parameter attribute identifies a public property of the cmdlet class as a cmdlet parameter. Syntax [Parameter()] [Parameter(Named Parameters...)] Parameters. Mandatory …

  6. Functions - PowerShell | Microsoft Learn

    Jan 23, 2025 · Learn how to create reusable PowerShell functions, implement best practices, and avoid common pitfalls in function design, error handling, and parameter validation.

  7. about_PowerShell_exe - PowerShell | Microsoft Learn

    Jul 23, 2024 · If you are typing a powershell.exe command in a PowerShell session, prepend the command parameters with a hyphen (-), not a forward slash (/). You can use either a hyphen …

  8. about_Splatting - PowerShell | Microsoft Learn

    Jan 29, 2024 · Describes how to use splatting to pass parameters to commands in PowerShell. Long description. Splatting is a method of passing a collection of parameter values to a …

  9. The Help system - PowerShell | Microsoft Learn

    Jun 27, 2024 · You can also use Get-Command with the Syntax parameter to view the syntax for any command. This shortcut helps you quickly determine how to use a command without …

  10. Get-ADUser (ActiveDirectory) | Microsoft Learn

    Specifies an LDAP query string that is used to filter Active Directory objects. You can use this parameter to run your existing LDAP queries. The Filter parameter syntax supports the same …

Refresh