About 298,000 results
Open links in new tab
  1. Sample scripts for system administration - PowerShell

    A collection of examples walks through scenarios for administering systems with PowerShell. NOTE: Most of these examples only work on Windows.

  2. 5 PowerShell Script Examples To Inspire You to Get Scripting

    Jul 28, 2021 · Wanting to learn how PowerShell scripting works, but don't know where to start? Learn 5 PowerShell script examples in this tutorial!

  3. GitHub - fleschutz/PowerShell: 500+ free PowerShell scripts

    Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see talk2windows), or simply to learn PowerShell.

  4. PowerShell Script Examples [Top 75] - SPGuides

    Jan 18, 2024 · These 75 PowerShell script examples should give beginners a solid foundation to automate tasks and manage systems using PowerShell. Remember, the best way to learn is by doing, so try out these examples, modify them, and practice writing your own scripts to become more proficient in PowerShell scripting.

  5. Powerful PowerShell: 10 Useful Scripts | by Sruthik - Medium

    Jan 30, 2024 · These scripts cover a range of scenarios — from system maintenance to data manipulation. Let’s get started! Maintaining adequate free space on your C drive is crucial for computer performance and...

  6. How to write & run your first PowerShell script - PDQ

    Nov 20, 2024 · PowerShell saves scripts in the .ps1 format. Feel free to use your own custom folder and file names. For our demonstration, we created both a file and a folder: Create the new PowerShell script file, and add the Write-Host cmdlet (cmdlet is another word for a PowerShell command). Write-Host "Hello, World!"

  7. PowerShell by Example

    PowerShell by Example, modeled after Go by Example, is a hands-on introduction to PowerShell using annotated example programs. Check out the first example or browse the full list below. To execute the scripts make sure you have at least PowerShell 5 installed.

  8. Getting started with PowerShell - PowerShell | Microsoft Learn

    Aug 2, 2024 · Windows PowerShell is an easy-to-use command-line shell and scripting environment for automating administrative tasks of Windows-based systems. Windows PowerShell is preinstalled on all modern versions of the Windows operating system. The easiest way to find PowerShell on Windows 11 is to type PowerShell into the …

  9. PowerShell Examples - Rob van der Woude

    May 27, 2023 · This page lists some sample scripts I wrote in PowerShell. Unless stated otherwise, these scripts run in Windows as well as in PowerShell on Linux (tested in Windows 7 SP1 and Ubuntu Linux 16.04) Many of these scripts return their results or status as errorlevel. Help is available for some of the scripts (the most recent ones) with the -h switch.

  10. Hello World - PowerShell By Example

    PowerShell by Example is a hands-on introduction to PowerShell using annotated example programs.

  11. Some results have been removed
Refresh