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
The PowerShell team has recently announced PowerShellGet, a new way to discover, install and update PowerShell modules, in the Windows Management Framework 5.0 Preview. In this blog, you will learn how to install Script Browser & Script Analyzer through the PowerShellGet.
First, you need to download and install Windows Management Framework 5.0 Preview.
Next, launch Windows PowerShell ISE, and type the following command into the PowerShell console. The installation does not require administrator permission because it installs the apps to your current user profile.
Install-Module ScriptBrowser –Scope CurrentUser
After the installation, you can enable Script Browser / Script Analyzer in the PowerShell ISE by entering the following cmdlets:
The Script Browser and Script Analyzer apps have received nearly 15,000 downloads since they were released half a month ago. Microsoft PowerShell MVPs provided numerous suggestions to help us improve the apps. Based on what we have learnt in the past two weeks, today we bring to you the 1.2 update of Script Browser and Script Analyzer. The team is committed to making the apps useful. Your feedback is very important to us.
Download Script Browser & Script Analyzer 1.2(If you have already installed an earlier version of Script Browser & Script Analyzer, you will get an update notification when you launch Windows PowerShell ISE.)
1. A standalone desktop version of Script Browser
In this release, we provide a new standalone desktop version of Script Brower so that non-PowerShell scripters, e.g. SQL/VBS scripters, can also benefit from the browser.
You can easily configure the Script Browser desktop app and the Script Browser PowerShell ISE plugin to share the favorite samples and downloaded samples.
2. New Cmdlets to manually load Script Browser / Script Analyzer when you need them
In the past releases, the Script Browser and Script Analyzer plugins are turned on automatically when you start Windows PowerShell ISE. In this release, you can choose to manually load Script Browser and Script Analyzer into ISE when you need them. Here is how to do it.
First, you need to uncheck the following ‘Allow the installer to update Windows PowerShell ISE profile’ option when you install the 1.2 update. In this way, the Script Browser and Script Analyzer will not be loaded automatically when you start ISE.
Next, when you need Script Browser / Script Analyzer in the ISE, you can type the following cmdlets to load them:
When you do not need them, you can type these cmdlets:
We even provided a cmdlet for starting the desktop version of Script Browser:
3. Largely improved Script Analyzer rules
In this release, we figured out a new solution to largely improve the speedof Script Analyzer.
We have also fixed all Script Analyzer issues that users have reported. Please continue sharing your feedback with us.
4. Bug Fixes
a) Improve the startup speed of Script Browser and Script Analyzer
b) Fixed a sample rating display issue
We sincerely suggest you give the new Script Browser & Script Analyzer a try (click here to download). If you love what you see in Script Browser & Script Analyzer, please recommend it to your friends and colleagues. If you encounter any problems or have any suggestions for us, please contact us at onescript@microsoft.com. Your precious opinions and comments are more than welcome.
Script of the Day
Script Download: The script is available for download in Microsoft Script Browser for Windows PowerShell ISE. You need to install the Script Browser application first, and search for the script sample title.
This script could be used to modify content filter configuration in Microsoft Exchange 2010. You can use this script to add or remove values for multi valued property of content filter configuration.
In a real world, IT administrators may want to modify the content filter configuration based on different requests. There are several multi valued properties in content filter configuration. Currently, IT administrators need additional efforts for editing these values. In a large scale deployment, IT administrators may also need to maintain a same configuration on multiple edge transport servers.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery
This script is used to help user managing DG in cloud side.
After Hybrid is set up, the user mailbox, who was moved to cloud side, can't manage the DG created in On-Premise Exchange. This script will create a DG with prefix "EXO". All option can be changed with this DG, and this script can reflect the configuration changes back to on premise DG.
This script is used to check the mailbox item count. If the count reaches or exceeds a certain number, an email will be sent as notification.
This VBScript shows how to get a user password expiration date in Active Directory.
Sometime users want to know when their password will expire. This script is to get the date without Active Directory Cmdlet.
This VBScript shows how to reset all users password in a given OU.
In many cases, the customer need to reset the user password one by one. If would be great if we have a script to automate this task.