https://github.com/PsCustomObject/PowerShell-Functions
A repository containing all functions usually part of my modules
https://github.com/PsCustomObject/PowerShell-Functions
Last synced: 4 months ago
JSON representation
A repository containing all functions usually part of my modules
- Host: GitHub
- URL: https://github.com/PsCustomObject/PowerShell-Functions
- Owner: PsCustomObject
- License: mit
- Created: 2019-11-04T21:46:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-29T06:41:23.000Z (9 months ago)
- Last Synced: 2024-08-13T07:05:52.927Z (8 months ago)
- Language: PowerShell
- Size: 30.3 KB
- Stars: 24
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - PsCustomObject/PowerShell-Functions - A repository containing all functions usually part of my modules (PowerShell)
README
# PowerShell-Functions
Repository is used to store and shared useful PowerShell functions that have been developed to serve a specific purpose.
Functions in the repository are usually ported into my PowerShell modules but are also made available as *single* files for easier download in case the whole module is not needed.
## Current available functions
- **[New-Timer](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/New-Timer.ps1)** used to instantiate and start a new StopWatch timer object
- **[Get-ElapsedTime](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Get-ElapsedTime.ps1)** used to return information about a StopWatch timer object
- **[Stop-Timer](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Stop-Timer.ps1)** used to halt and existing StopWatch timer object
- **[Get-TimerStatus](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Get-TimerStatus.ps1)** used to get status of an existing StopWatch timer object
- **[New-ApiRequest](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/New-ApiRequest.ps1)** used to quickly generate API calls to services supporting OAuth2 authentication
- **[Test-IsGuid](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Test-IsGuid.ps1)** used to check if a string is a valid GUID
- **[Convert-EmlFile](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Convert-EmlFile.ps1)** used to convert any eml file into an easy to use PowerShell object
- **[New-StringConversion](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/New-StringConversion.ps1)** used to convert special characters from strings
- **[Test-IsRegistryKey](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Test-IsRegistryKey.ps1)** used to check if a registry key is valid. Function is a helper for *[Export-Registry](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Export-Registry.ps1)*
- **[Export-Registry](https://github.com/PsCustomObject/PowerShell-Functions/blob/master/Export-Registry.ps1)** used to export registry key in either *CSV* or *XML* format
- **[Test-IsValidDN](https://github.com/PsCustomObject/PowerShell-Functions/Test-IsValidDn.ps1)** used to test if an input string is a valid **AD Distinguished Name**