Skip to content

PSModule/Guid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GUID

A PowerShell module that extends the native capabilities for working with Globally Unique Identifiers (GUIDs).

Prerequisites

This module uses the following external resources:

Installation

To install the module from the PowerShell Gallery, run the following commands:

Install-PSResource -Name GUID
Import-Module -Name GUID

Usage

Here are some typical use cases for the GUID module.

Example 1: Test if a string is a GUID

Check if a string is a valid GUID using:

Test-Guid -Guid 'd85b1407-351d-4694-9392-03acc5870eb1'
'd85b1407-351d-4694-9392-03acc5870eb1' | Test-Guid
'd85b1407-351d-4694-9392-03acc5870eb1' | IsGuid

This command returns True if the provided string is a valid GUID; otherwise, it returns False.

Example 2: Find a GUID in a string

Extract a GUID from a string using:

Search-Guid -Text "The GUID is d85b1407-351d-4694-9392-03acc5870eb1"

This command returns the GUID found in the provided string.

Find More Examples

For additional usage examples, please refer to the examples folder. You can also list all available commands with:

Get-Command -Module GUID

And view detailed help for each command (for instance, for New-GuidPlus) by running:

Get-Help -Examples <command>

Contributing

Contributions are welcome—whether you're reporting an issue, suggesting improvements, or submitting new code!

For Users

If you encounter any bugs, unexpected behavior, or missing functionality, please open an issue on this repository. Your feedback is valuable.

For Developers

If you'd like to contribute code or enhancements, please review the Contribution Guidelines first. You can start by addressing an existing issue or proposing a new feature.

About

A PowerShell module that makes working with GUID sligthly more PowerShelly

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •