Commit Graph

7 Commits

Author SHA1 Message Date
Asif Bacchus d5c3c071cd refactor(magicpacket): manual MAC address format validation
- use manual format validation for MacAddress so that ErrorAction works
correctly instead of throwing ParameterBindingError which requires
Try/Catch blocks

BREAKING CHANGES:
- remove parameter validation check for MacAddress,
validate while processing
- change all warnings to errors

Closes #1
2021-09-05 18:49:00 -06:00
Asif Bacchus 1ff4a6bf6a refactor(magicpacket): add manifest and explicit function export 2021-09-05 01:08:20 -06:00
Asif Bacchus 0a9410fb38 docs(magicpacket): update broadcast documentation 2021-09-04 18:50:18 -06:00
Asif Bacchus 3592f519a0 feature(magicpacket): send multiple packets
- send 2 packets per MAC address, 1 second delay between packets
- caters for a dropped packet or other transmission errors
2021-09-04 02:26:10 -06:00
Asif Bacchus 0b8f04561b feature(magicpacket): add comment-based help
- add help text
- include examples
- add pipeline assistance text
- clean-up code format
2021-09-04 02:18:26 -06:00
Asif Bacchus ec2e204a27 feature(magicpacket): add BroadcastIP aliases 2021-09-04 02:16:50 -06:00
Asif Bacchus 7faa4d84c4 struct(modules): working skeleton magic-packet function
- function to send magic packet
- basic validation and error trapping
- need to use cleaner error trapping
- need to add inline help
2021-09-04 00:58:30 -06:00