# Powershell Examples
*Personal collection of basic examples / scripts.*

| Name | Description |
| :--- | :--- |
| [**Format-Relative**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-format-relative-ps1) | Diffrent methods for displaying relative path. |
| [**Get-ImageData**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-get-imagedata-ps1) | Get image information. |
| [**Get-LastAccess**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-get-lastaccess-ps1) | Retreive a timestamp of when an item was accessed.. |
| [**Get-ModuleCount**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-get-modulecount-ps1) | Measure the amount of loaded modules.. |
| [**Hide-Item**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-hide-item-ps1) | Set item attribute to 'Hidden'. |
| [**Invoke-BSOD**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-invoke-bsod-ps1) | Invokes a Blue Screen of Death from remote script; w/o admin privileges.. |
| [**Measure-Filesize**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-measure-filesize-ps1) | Determine human readable filesize. |
| [**Select-GridView**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-select-gridview-ps1) | GUI listview of symbolic links, selection opens path in explorer.. |
| [**Show-AnsiColorGradient**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-show-ansicolorgradient-ps1) | Display a color gradient in the terminal. Just for fun.. |
| [**Show-Confirmation**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-show-confirmation-ps1) | Prompt user for [y/n] confirmation.. |
| [**Show-MessageBox**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-show-messagebox-ps1) | Make a GUI Message Box visible to the user. |
| [**Test-AppendPerformance**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-test-appendperformance-ps1) | Comparing the performance of two serperate appending methods.. |
| [**Test-Interrupt**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-test-interrupt-ps1) | Continue script action after interuption.. |
| [**Test-Pipeline**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-test-pipeline-ps1) | Does something with paths supplied via pipeline.. |
| [**Test-ProgressBar**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-test-progressbar-ps1) | Display & update progress bar. |
| [**Test-WhatIf**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-test-whatif-ps1) | Example function for '-WhatIf' parameter support.. |
| [**Write-HostCenter**](https://gist.github.com/DaemonPhenex/02e85814ce794af89476b3147643a69e#file-write-hostcenter-ps1) | Display text in the center of the terminal window.. |
---