About 47,100 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. Save-Script (PowerShellGet) - PowerShell | Microsoft Learn

    Save-Script uses the Name parameter to specify the script's name. The Repository parameter specifies where to find the script. The script is saved in the location specified by the Path parameter. Test …

  3. about_Scripts - PowerShell | Microsoft Learn

    You can run scripts on your computer or in a remote session on a different computer. Writing a script saves a command for later use and makes it easy to share with others. Most importantly, it lets you …

  4. How to Write a PowerShell Script Module - PowerShell

    Saving a script with the .psm1 extension means that you can use the module cmdlets, such as Import-Module. The module cmdlets exist primarily so that you can import and export your code onto other …

  5. about_Variables - PowerShell | Microsoft Learn

    Long description You can store all types of values in PowerShell variables. For example, store the results of commands, and store elements that are used in commands and expressions, such as …

  6. Save-PSResource (Microsoft.PowerShell.PSResourceGet) - PowerShell

    This cmdlet combines the functionality of the Save-Module and Save-Script cmdlets from PowerShellGet v2. Save-PSResource downloads a resource from a registered repository to a specific path on the …

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

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

    You can use Export-Csv -IncludeTypeInformation to save objects in a CSV file and then use the Import-Csv cmdlet to create objects from the text in the CSV file.

  9. Backup-BitLockerKeyProtector (BitLocker) | Microsoft Learn

    Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.

  10. Script modules - PowerShell | Microsoft Learn

    Mar 27, 2025 · In this chapter, you learned how to turn your functions into a script module in PowerShell. You also explored best practices for creating script modules, including the importance of adding a …