Scripts By Nuno Mota
AdvancedEvent10 by Nuno Mota 20 Apr 2011 11:28 AM UTCby 2 users
Advanced Event 102 Comments
- The function accepts piped content; - The function returns the path to the temporary file IF the user does not use the -WhatIf parameter; - The files are created in the TEMP_20110415.txt format, for example, and in C:\Windows\Temp by default. If not possible, then in C:\Temp; - If the user uses the -OpenFile switch, the temporary file will be opened in Notepad at the end of the script; - The user can use the -Encoding parameter to specify ASCII or Unicode to use when writing to the script; - The function also fully supports the WhatTf, Debug, and Verbose parameters.
AdvancedEvent9 by Nuno Mota 20 Apr 2011 11:27 AM UTCby 3 users
Advanced Event 9
AdvancedEvent8 by Nuno Mota 18 Apr 2011 08:43 PM UTCby 3 users
Advanced Event 8
This script depends on: - Windows Image Acquisition Automation Library v2.0 Tool from http://www.microsoft.com/downloads/en/details.aspx?familyid=a332a77a-01b8-4de6-91c2-b7ea32537e29&displaylang=en - PowerShell Pack from http://archive.msdn.microsoft.com/PowerShellPack If these requisites are not met, the user is taken to the webpage where he/she can download them. The script: - gets all the tag information from pictures and displays it in a label next to the picture (in the GUI); - it resizes one picture or all pictures (in the same folder) at the same time to destination folder chosen by the user (using another GUI); - when the user saves the picture, all TAG information gets removed from the picture; - when the user saves a picture, its preferences are saved into a txt file in the same folder of the script. This way, the next time he/she starts the script, those preferences are read an applied; - it uses message boxes for possible errors like no pre-requisites met or the user selecting a folder with no pictures; - it allows the user to set the initial folder to gather the images using a GUI; - it allows the user to set a different folder to save the SHARE_ images using a GUI.
AdvancedEvent7 by Nuno Mota 15 Apr 2011 11:36 PM UTCby 2 users
Advanced Event 7
- The script can use the -VerifyUsernames parameter which will verify each username found against the Twitter website and only write the ones that do exist; - The user can also use the -URL parameter to specify any other website to search for twitter usernames; - The -LookupUsername parameter maps a username to user's "real" name and the -LookupDisplayName does the opposite. These can be used at the same time.
AdvancedEvent6 by Nuno Mota 15 Apr 2011 11:35 PM UTCby 2 users
Advanced Event 62 Comments
- The user can use the -VerifyUsernames parameter which will verify each username found against the Twitter website and only write the ones that do exist. - The user can also use the -URL parameter to specify another website to search for twitter usernames
AdvancedEvent5 by Nuno Mota 13 Apr 2011 09:44 PM UTCby 2 users
Advanced Event 5
AdvancedEvent4 by Nuno Mota 13 Apr 2011 09:43 PM UTCby 2 users
Advanced Event 42 Comments
The script will create a CSV or HTML report in a location chosen by the user using a GUI.
AdvancedEvent3 by Nuno Mota 11 Apr 2011 09:11 PM UTCby 2 users
Advanced Event 31 Comments
If user doesn't use the -LogName and -ETLLogLocation parameters, then check for all classic event logs and all ETL diagnostic logs. If the user uses the -ETLLogLocation parameter, he/she can query an individual ETL log file such as "C:\Windows\System32\setup.etl". User can user the -Computer, -ComputerList and -QueryAD parameters to check remote computers. User can filter events by Provider, ID or Severity.
AdvancedEvent2 by Nuno Mota 08 Apr 2011 08:34 PM UTCby 2 users
Advanced Event 23 Comments
AdvancedEvent1 by Nuno Mota 04 Apr 2011 07:03 PM UTCby 3 users
Advanced Event 13 Comments
Script for the 2011 Scripting Games: Advanced Event 1 - Finding Process Module Versions by Using PowerShell I used the Invoke-Command method for both local/remote machines as this makes the code fully reusable, simpler and fully workable with remote machines.
- Advanced Event 1 (83)
- Advanced Event 10 (34)
- Advanced Event 2 (63)
- Advanced Event 3 (50)
- Advanced Event 4 (51)
- Advanced Event 5 (38)
- Advanced Event 6 (51)
- Advanced Event 7 (39)
- Advanced Event 8 (27)
- Advanced Event 9 (46)
- Beginner Event 1 (149)
- Beginner Event 10 (85)
- Beginner Event 2 (139)
- Beginner Event 3 (100)
- Beginner Event 4 (108)
- Beginner Event 5 (93)
- Beginner Event 6 (102)
- Beginner Event 7 (108)
- Beginner Event 8 (90)
- Beginner Event 9 (92)