This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: TMConsole Module | |
| Previous link: https://gallery.technet.microsoft.com/TMConsole-Module-Clear-487eff0e | |
| Downloaded: 427 times (as of 05/21/2020) | |
| The TMConsole module is a basic, two function module. Although the concept is simple and the code is minimal, the impact | |
| of these two functions has been great. The Clear-TMConsole function, "clears" the console by shifting the the top of the | |
| console window out of view. Previously entered information can be viewed by scrolling up in the console. The New-TMConsole | |
| function, opens a new Windows PowerShell console from an existing PowerShell console and provides the user an option to | |
| close the current console. The default option will leave the current console open. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: The 1 to 100 Game | |
| Previous link: https://gallery.technet.microsoft.com/The-1-to-100-Game-5288e279 | |
| Downloaded: 749 times (as of 05/21/2020) | |
| Update: The newest version of this function (3.0), has been posted on the PowerShell Gallery at | |
| https://www.powershellgallery.com/packages/Start-1to100Game3.0/3.0/DisplayScript. Read the newest write up here: | |
| http://tommymaynard.com/the-1-to-100-game-updated-2016. | |
| While this advanced function isn't as useful as many in the TechNet Gallery, it does show a great example of nested |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Convert Alphanumeric String to the NATO Phonetic Alphabet Equivalent | |
| Previous link: https://gallery.technet.microsoft.com/Convert-Alphanumeric-8c1d6a79 | |
| Downloaded: 858 times (as of 05/21/2020) | |
| There was a post in the TechNet Forum about needing a solution to convert a string into the NATO phonetic alphabet | |
| equivalent (link). I really liked the project and quickly wrote out an advanced function in Windows PowerShell to | |
| accompany the VBS solution that was also posted. Please let me know if there are any problems that need correcting. | |
| The 1.3 version will speak the results, if the -Speak switch parameter is included when the function is run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Specify and Create Multiple Credential Objects | |
| Previous link: https://gallery.technet.microsoft.com/Specify-and-Create-d80ad39e | |
| Downloaded: 461 times (as of 05/21/2020) | |
| This advanced function will allow a user to specify and then create multiple credential objects. Creating additional | |
| credential objects allows a user the ability to use different credentials for various purposes while working in the Windows | |
| PowerShell console, or ISE. More information, including a walkthrough of the function's development, can be found here: http://tommymaynard.com/ql-creating-multiple-credential-objects-2015. | |
| Although this advanced function has only been tested on Windows 8.1, I suspect it should work on most other Windows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Get Synonyms for Approved and Unapproved Verbs | |
| Previous link: https://gallery.technet.microsoft.com/Get-Synonyms-for-Approved-f6625752 | |
| Downloaded: 452 times (as of 05/21/2020) | |
| The newest version can be found here: http://tommymaynard.com/get-tmverbsynonym-1-4-2017/ | |
| As many PowerShell users are aware, cmdlets and functions should use a verb-noun naming convention with approved | |
| verbs. There are times when the verb a person may desire to use for the cmdlet or function isn't approved -- that's | |
| where this function can assist. This function will return synonyms for verbs and indicate if the synonyms are approved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Check Email Address Domain Against the Top-Level Domain List from IANA | |
| Previous link: https://gallery.technet.microsoft.com/Check-Email-Address-Domain-41cb7838 | |
| Downloaded: 496 times (as of 05/21/2020) | |
| At times it seems that there has been some frustration when trying to validate an email address. In my experience, | |
| this often been because an email address without a domain (.com, .net, .org) is often validated as True. While the | |
| purpose of this advanced function is not to validate an entire email address, it does validate the domain according | |
| to the Internet Assigned Numbers Authority (IANA). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Measure-Command with Multiple Commands, Repetitions, Calculated Averages | |
| Previous link: https://gallery.technet.microsoft.com/Measure-Command-with-52158178 | |
| Downloaded: 529 times (as of 05/21/2020) | |
| In Windows PowerShell, there are often several ways to complete the same task. With that in mind, it makes sense that | |
| we might want to determine how long commands and scripts take to complete. Until now, Measure-Command has been the | |
| cmdlet we’ve used. While Measure-Command has been helpful, I’ve often thought it should include some additional | |
| functionality. Therefore, I’ve written an advanced function, Measure-TMCommand, that adds all the benefits listed below: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Active Directory User Lookup Form | |
| Previous link: https://gallery.technet.microsoft.com/Active-Directory-User-d8ee6a0c | |
| Downloaded: 1,034 times (as of 05/21/2020) | |
| This PowerShell script creates a PowerShell form to search for users in Active Directory by Username (SamAccountName). | |
| The form returns a user's Name, Distinguished Name, Email, Title, and Office Phone. You can read more about the form's | |
| development at http://tommymaynard.com/script-sharing-active-directory-user-lookup-form-2015. | |
| Update to 2.1: 2015-07-23 (see code for changes). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Find DNS Servers Being Used by DHCP Scopes | |
| Previous link: https://gallery.technet.microsoft.com/Find-DNS-Servers-Being-640978d1 | |
| Downloaded: 1,174 times (as of 05/21/2020) | |
| This advanced function determines the DNS Servers being used by a DHCP Scope whether the DNS Servers are assigned | |
| at the Scope Options, or Server Options. It was inspired by the Microsoft TechNet Forums | |
| (https://social.technet.microsoft.com/Forums/en-US/58723d31-7586-40c3-acd2-183f20b49daf/how-to-dump-the-dns-options-for-each-dhcp-scope?forum=ITCG). | |
| Please read more here: http://tommymaynard.com/script-sharing-find-dns-servers-being-used-by-dhcp-scopes-2015/. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| TechNet Contribution: Map Drive to Drive Letter Using the Win32_DiskDrive Interface Type Property | |
| Previous link: https://gallery.technet.microsoft.com/Map-Drive-to-Drive-Letter-1fff91ad | |
| Downloaded: 2,904 times (as of 05/21/2020) | |
| This project began on the TechNet forums. Someone requested help determining the drive letter of a USB drive. | |
| It was first recommended to use the Win32_LogicalDisk class, but I was concerned that this might return false | |
| results since an SD card would report the same Description and DriveType as a USB using Win32_LogicalDisk. | |
| I recommended using the Win32_DiskDrive class and the InterfaceType property so the user could ensure the drive |
NewerOlder