One of the main ways to clean up your Windows PowerShell profile is to group related items into modules. For example, suppose your Windows PowerShell profile contains a few utility functions such as the following:
A function to determine admin rights
A function to determine if the computer is a laptop or a desktop
A function to determine if the host is the Windows PowerShell ISE or the Windows PowerShell console
A function to determine if the computer is 32 bit or 64 bit
A function to write to a temporary file
All of the preceding functions relate to the central theme of being utility types of functions. They are not specific to one technology, and are in fact helper functions, useful in a wide ...