About 3,610,000 results
Open links in new tab
  1. How to Write and Run Scripts in the Windows PowerShell ISE

    Nov 20, 2025 · This article describes how to create, edit, run, and save scripts in the Script Pane.

  2. Getting Started with PowerShell - PowerShell | Microsoft Learn

    Aug 2, 2024 · This chapter focuses on finding and launching PowerShell and solving the initial pain points that new users experience with PowerShell. Follow along and walk through the examples in …

  3. Out-File (Microsoft.PowerShell.Utility) - PowerShell

    The Out-File cmdlet sends output to a file. It implicitly uses PowerShell's formatting system to write to the file. The file receives the same display representation as the terminal. This means that the output …

  4. 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.

  5. How to Write a PowerShell Script Module - PowerShell

    A script module is any valid PowerShell script saved in a .psm1 extension. This extension allows the PowerShell engine to use rules and module cmdlets on your file. Most of these capabilities are there …

  6. Using Visual Studio Code for PowerShell Development

    4 days ago · Together with the PowerShell extension, it provides a rich and interactive script editing experience, making it easier to write reliable PowerShell scripts. Visual Studio Code with the …

  7. Write-Output (Microsoft.PowerShell.Utility) - PowerShell

    This cmdlet is typically used in scripts to display strings and other objects on the console. One of the built-in aliases for Write-Output is echo and similar to other shells that use echo.

  8. Export-Csv (Microsoft.PowerShell.Utility) - PowerShell

    The Force parameter is added to the Export-Csv cmdlet to force the export to write to the file. The Get-Content cmdlet uses the Path parameter to display the file located in the current directory.

  9. about_Variables - PowerShell | Microsoft Learn

    In PowerShell, variables are represented by text strings that begin with a dollar sign ($), such as $a, $process, or $my_var. Variable names aren't case-sensitive, and can include spaces and special …

  10. PowerShell scripts for pipelines - Azure Pipelines | Microsoft Learn

    Aug 19, 2025 · Learn about using PowerShell scripts to customize your pipelines by adding business logic.