Scripts By spinlock
New-TempFile.ps1 by spinlock 21 Apr 2011 07:01 AM UTCby 2 users
Advanced Event 10
Returns a temporary file name. If the -InputObject parameter is specified (or piped in), the contents are written to the temporary file. Accepts and acts upon -whatif, -encoding, -verbose -debug parameters Allows the user to specify which directory the tempfile is to be created in. Optionally displays the contents of the temporary file in notepad once completed (-ShowInNotepad)
get-LogFileName.ps1 by spinlock 20 Apr 2011 10:22 PM UTCby 2 users
Advanced Event 9
Meets and exceeds all the design points. Even checks that the directory exists, and is a directory and not some sort of leaf container.
ConvertTo-PicstoEmail by spinlock 19 Apr 2011 08:13 PM UTCby 2 users
Advanced Event 81 Comments
The less said about it the better. Didn't get the time to do much on this..so it's my shameless attempt to garner points by uploading something, rather than nothing. Loads the Modules - and points the user to where they can be downloaded from if not installed. Puts little bit of a framework picture up but not much. Taught me that if possible Powershell should stick to not graphic approaches as it seemed very unreliable - WPK crashed frequently.
search-twitterUser by spinlock 18 Apr 2011 09:27 PM UTCby 2 users
Advanced Event 7
Pulls username to real name mapping from a supplied Web page. Caches the results in a CSV file, which then is used to allow the user to lookup twitter names from their real name, and vice versa. The cache is updates if it is older than a day (configurable by parametes daysOld) Uses Reusable functions - temporary file creation, and ensures that files is deleted. Include Integrated help with multiple usage examples. It is not short - but lots of checking of I/O.
get-TwitterName.ps1 by spinlock 14 Apr 2011 11:33 PM UTCby 2 users
Advanced Event 6
Pulls twitter names from networking web page. In addition to the spec of the event (and meeting the extra points criteria) it also allows for the returning of user's full names (as held on the networking page), and allows the user to specify the output format CSV (more useful if geting usernames as well), and XML, as well as text, and choose encoding, force, and noclobber. See the comments at the end for testing references - or the examples in the help.
get-SystemCompatibility by spinlock 13 Apr 2011 09:13 PM UTCby 2 users
Advanced Event 52 Comments
Returns a customised PSObject(s) containing the suitability of the target computer(s) for Windows 7. Meets all the design points set out in event specification. Returned object also includes the results of each of the subsystem tests for more granular reporting.
get-SvcHost by spinlock 12 Apr 2011 10:57 PM UTCby 2 users
Advanced Event 4
Returns an object of the services running under service host and the memory commitment of the hosting process ! Does what it says on the tin !
get-EventfromProvider by spinlock 12 Apr 2011 07:26 PM UTCby 2 users
Advanced Event 3
Collects events from the local computer, remote computers or all computers within the Active Directory. Allows users to select the age of the events returned, and the number of events for the providers. Run "get-help get-EventfromProvider -full" to get the complete help.
get-RunningService by spinlock 07 Apr 2011 12:38 AM UTCby 2 users
Advanced Event 21 Comments
Get a list of Running services, and their depedancies.
get-ProcessLoadedModule by spinlock 05 Apr 2011 09:20 AM UTCby 2 users
Advanced Event 11 Comments
This function outputs the DLL version for supplied executibles Uses WMI to interrogate a computer (by default the local computer) to determine what version of DLLs are in use
- 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)