Skip to content

Curated collection of AI-driven PowerShell prompts to enhance your scripting and automation workflows using GitHub Copilot

License

Notifications You must be signed in to change notification settings

dfinke/Essential-AI-Driven-PowerShell-Prompts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Essential AI-Driven PowerShell Prompts

Below is a list of AI-driven prompts that you can use to generate PowerShell scripts. Click on any of the prompts and it will take you to the GitHub Copilot page where you can generate the script.

This is a free service from Microsoft GitHub. Think ChatGPT and much more.

Table of Contents

PowerShell Prompts

Beginner

  1. Use Powershell To Read A Csv
  2. Use Powershell To List Active Directory Users
  3. Use Powershell To Restart A Windows Service
  4. Use Powershell To Get System Event Logs
  5. Use Powershell To Monitor Disk Space Usage
  6. Use Powershell To Query Installed Software
  7. Use Powershell To Check System Uptime
  8. Use Powershell To Retrieve Network Configuration
  9. Use Powershell To Check Windows Service Status
  10. Use Powershell To Export Event Logs To Csv
  11. Use Powershell To Monitor CPU Usage
  12. Use Powershell To Check Memory Usage
  13. Use Powershell To List Installed Updates
  14. Use Powershell To Retrieve Network Adapter Details
  15. Use Powershell To List Scheduled Tasks
  16. Use Powershell To Check Firewall Status
  17. Use Powershell To Clear Dns Cache

Intermediate

  1. Use Powershell To Automate Windows Updates
  2. Use Powershell To Create A New Active Directory User
  3. Use Powershell To Generate Performance Reports
  4. Use Powershell To Backup System Registry
  5. Use Powershell To Configure Remote Desktop Settings
  6. Use Powershell To Monitor Network Traffic
  7. Use Powershell To Create A Local Admin User
  8. Use Powershell To Join A Computer To A Domain
  9. Use Powershell To Disconnect Idle Remote Sessions
  10. Use Powershell To Set File Permissions
  11. Use Powershell To Audit Login Attempts
  12. Use Powershell To Query Active Sessions
  13. Use Powershell To Export System Configuration

Advanced

  1. Use Powershell To Generate Hardware Inventory
  2. Use Powershell To Manage Azure Resources
  3. Use Powershell To Automate Active Directory Tasks
  4. Use Powershell To Create Custom Modules
  5. Use Powershell To Manage Exchange Online
  6. Use Powershell To Perform Security Audits
  7. Use Powershell To Manage Hyper-V
  8. Use Powershell To Automate VMware Tasks
  9. Use Powershell To Manage Office 365
  10. Use Powershell To Perform Data Migrations
  11. Use Powershell To Manage AWS Resources
  12. Use Powershell To Automate SQL Server Tasks

Click Run The Prompt

After clicking on the prompt, you will be taken to the GitHub Copilot page where you can generate the script. Click on the Run The Prompt button to generate the script.

alt text

After Running The Prompt

After running the prompt, you will see the generated script. You can copy the script by clicking on the Copy button or download the script by clicking on the Download button.

alt text

In Action

alt text

Contribute

If you have any AI-driven prompts that you would like to add to this list, please create a pull request, follow the format below, and I will add it to the list.

About

Curated collection of AI-driven PowerShell prompts to enhance your scripting and automation workflows using GitHub Copilot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published