Skip to content

RootITUp/PSDeviceVerification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSDeviceVerification

The PSDeviceVerification module provides a simple way of verifying basic device data like MAC addresses and IMEIs. The goal of this module would be to ensure syntactic and semantic validity of device data for automation processes.

Installation

Install-Module PSDeviceVerification

Basic Usage

> result = Assert-DeviceInformation -MAC "001122334455" -IMEI "1234567890123"
> $result["IMEI"]

Name                           Value
----                           -----
Valid                          False
Data                           1234567890123
Reason                         Invalid IMEI length

> $result["MAC"]

Name                           Value
----                           -----
Valid                          True
Data                           00:11:22:33:44:55
Reason

Test

The repository uses Pester tests for ensuring its functionality.

Invoke-Pester

Authors

  • Torben Soennecken

About

This PowerShell module provides functionality for the basic verification of device information. You can for example check if an IMEI is valid for e.g. a mobile phone.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published