### Install PSUtil Module Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md Installs the PSUtil module from the PowerShell gallery. This command is the standard way to add the module to your system. ```PowerShell Install-Module PSUtil ``` -------------------------------- ### Combine grep and exp for Pattern Extraction Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md An example showcasing the combined usage of 'grep' (Select-String) and 'exp' (Select-ExpandProperty) to find and extract specific patterns from text streams. ```PowerShell "abc def ghi" | grep "(d\w+)" | exp ``` -------------------------------- ### Use desktop Function for Directory Navigation Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md Illustrates the 'desktop' function, which provides a convenient way to navigate directly to the user's desktop directory or another specified user's desktop. ```PowerShell desktop desktop someotheruser ``` -------------------------------- ### Add PSUtil to PowerShell Profile Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md Provides instructions on how to add the PSUtil module to the PowerShell profile to ensure it's always available and keybindings are recognized upon shell startup. ```PowerShell notepad $profile ``` -------------------------------- ### Use explorer Function for Folder Navigation Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md Demonstrates the 'explorer' function, which opens specified folders or the current directory in Windows File Explorer. It can also open module paths. ```PowerShell explorer dir | explorer gmo PSUtil | explorer ``` -------------------------------- ### Preimport.ps1 Loaded Files (PowerShell) Source: https://github.com/powershellframeworkcollective/psutil/blob/master/build/filesBefore.txt Lists the files and directories processed by the preimport.ps1 script. These paths indicate the order of script execution and configuration loading within the psutil framework. ```powershell internal\scripts\strings.ps1 internal\configurations\validations\* internal\configurations\*.ps1 ``` -------------------------------- ### Use exp Alias for Expand-PSUObject Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md Shows how to use the 'exp' alias, a shortcut for `Select-ExpandProperty`. This function extracts a specific property from objects flowing through the pipeline. ```PowerShell dir | exp FullName ``` -------------------------------- ### Use grep Alias for Select-String Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md Demonstrates using the 'grep' alias, which is a shortcut for the `Select-String` cmdlet. It's commonly used for filtering pipeline output based on patterns. ```PowerShell dir | grep ``` -------------------------------- ### Use exp Alias for Expand-PSUObject (Simplified) Source: https://github.com/powershellframeworkcollective/psutil/blob/master/README.md Further demonstrates the 'exp' alias for `Select-ExpandProperty`. This usage shows its application without explicitly naming a property, potentially expanding default or all properties. ```PowerShell dir | exp ``` -------------------------------- ### Postimport File List Source: https://github.com/powershellframeworkcollective/psutil/blob/master/build/filesAfter.txt A list of PowerShell files loaded during the postimport process, presented in their loading order. This list specifies the paths to scripts executed by the postimport mechanism. ```PowerShell internal\tepp\*.tepp.ps1 internal\tepp\assignment.ps1 internal\scripts\license.ps1 internal\scripts\expandedObjects.ps1 internal\scripts\aliases.ps1 internal\scripts\keybindings.ps1 internal\scripts\license.ps1 internal\conversions\*.ps1 internal\tasks\*.ps1 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.