NAME
Win32::Netsh - A family of modules for querying and manipulating the network insterface of a Windows based PC using the netsh utility
VERSION
Version 0.03
SYNOPSIS
use Win32::Netsh;
my $response = netsh(qq{wlan}, qq{show}, qq{interfaces});
netsh(...)
- Description
-
Run the netsh command line utility with the provided arguments
- Parameters
-
... - Variable number of arguments
- Return
-
SCALAR - String captured from the standard out of the command
can_netsh()
- Description
-
Verify that the netsh can be found and executed
- Parameters
-
NONE
- Return
-
UNDEF on error, or 1 for success
netsh_path($path)
- Description
-
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.
- Parameters
- Return
-
- SCALAR
-
String containing the complete path to the netsh command
netsh_context_found($context)
- Description
-
Determine if the given netsh context is supported on this system.
- Parameters
- Return
-
- SCALAR
-
UNDEF if context is not supported, or 1 if context is supported
SEE ALSO
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.
AUTHOR
Paul Durden <alabamapaul AT gmail.com>
COPYRIGHT & LICENSE
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.