This project is read-only.

WMI AutoScript PowerShell ISE Add On

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 3392
Change Set: a077e648883d
Released: Sep 12, 2014
Updated: Nov 12, 2014 by freistli
Dev status: Stable Help Icon

Recommended Download

Source Code WMIAutoCode_AddOn
source code, 9K, uploaded Oct 2, 2014 - 3392 downloads

Release Notes

The WMI Autoscript function is just released. This Powershell Add-On is to easily create and run WMI code in Powershell throgh Form UI in Powershell ISE.

1. Download the code, save it to your script folder, such as F:Powershell\autoload
2. Open Powershell ISE
3. Run "psedit $profile" to open Microsoft.PowerShellISEprofile.ps1
4. Append below short script into the Microsoft.PowerShellISEprofile.ps1, this can auto load scripts from a source folder when ISE starts:

Set-ExecutionPolicy bypass -Scope CurrentUser
 $autodir="F:\Powershell\autoload" 
 Get-ChildItem "${autodir}\*.ps1" | ForEach-Object {.$_} 
 $output = "Scripts in " + $autodir  + " loaded"
 Write-Host $output

5. Restart ISE. You will see the new submenu WMI AutoScript when click Add-Ons.
6. Run it with Admin permission, a friendly UI wizard will help you generate code automatically.
.


Changes on Sep. 18, 2014: Show progress bar when loading namespaces and classes

Reviews for this release

     
Works as Advertised!
by TerryWa on May 15, 2015 at 6:09 PM