Win32::Netsh - A family of modules for querying and manipulating the network insterface of a Windows based PC using the netsh utility
Version 0.04
use Win32::Netsh; my $response = netsh(qq{wlan}, qq{show}, qq{interfaces});
Run the netsh command line utility with the provided arguments
... - Variable number of arguments
SCALAR - String captured from the standard out of the command
Verify that the netsh can be found and executed
NONE
UNDEF on error, or 1 for success
Set the complete path to the netsh command. Typically the command is in the path, but this function can be used to specify a location to use.
Complete path, including the .exe extension.
String containing the complete path to the netsh command
Determine if the given netsh context is supported on this system.
Context to examine (for example "wlan").
UNDEF if context is not supported, or 1 if context is supported
Win32::Netsh::Interface for examining and controlling the netsh interface context including interface ipv4.
Win32::Netsh::Wlan for examining and controlling the netsh wlan context for wireless interfaces.
Paul Durden <alabamapaul AT gmail.com>
Copyright (C) 2015 by Paul Durden.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Win32::Netsh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::Netsh
CPAN shell
perl -MCPAN -e shell install Win32::Netsh
For more information on module installation, please visit the detailed CPAN module installation guide.