We offer two things:
1. Hundreds of automation script samples based on IT Pros' frequently asked IT tasks
2. Script Browser & Script Analyzer tools to ease and improve the script writing
Script of the Day
Script Download: The script is available for download from https://gallery.technet.microsoft.com//How-to-export-the-users-a996b16c. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script is used to export the usage status of each user’s OneDrive for Business.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
Script Download: The script is available for download from https://gallery.technet.microsoft.com//Fix-the-issue-KB2920189-2cdb41b7. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This script shows how to fix the issue “KB2920189 fails to install on generation 2 virtual machines” in Windows Server 2012 R2.
Some IT Admins encounter an issue that KB2920189 fails to install on generation 2 virtual machines in Windows Server 2012 R2. This script is to fix that issue.
Script Download: The script is available for download from https://gallery.technet.microsoft.com//How-to-find-out-stale-10fa6295. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This PowerShell script can find out stale statistics of databases in SQL Server that may cause performance issues.
Some people ask how to find stale statistics for these statistics may cause performance issues. This PowerShell script will demo how to check stale statistics which have been updated for more than 1000 times in SQL Server 2008 R2 starting with Service Package 2 or SQL Server 2012 starting with Service Package 1.
Script Download: The script is available for download from https://gallery.technet.microsoft.com//How-to-Manage-Permissions-0e32a949. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This sample demonstrates how to bulk get and set the security permission for folders and files using PowerShell.
If you want to get or set security permission of a folder or a file, it’s easy for you to right click the folder of file and click the Properties option to view or set the permission. But if you need to check or set security permission for many folders or files, you may spend much time in finishing it. The sample will help you to check or set security permissions for one or more folders and files using the PowerShell script.
Script Download: The script is available for download from https://gallery.technet.microsoft.com//How-to-Manage-Permissions-e5b32b49. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This sample demonstrates how to bulk get and set the access permission for registry keys using PowerShell.
If you want to get or set permission for one registry key, it’s easy for you to right click the registry key and click the Permission… option to view or set the permission. But if you need to check or set permissions for multiple registry keys, you may spend much time finishing it. The sample will help you to check or set permission for one or more registry keys using the PowerShell script.