< Back
Get-NetView
Post
NAME Get-NetView
SYNOPSIS
Collects data on system and network configuration for diagnosing Microsoft Networking.
SYNTAX
Get-NetView [[-OutputDirectory] <String>] [[-ExtraCommands] <ScriptBlock[]>] [[-MaxThreads] <Int32>]
[-SkipAdminCheck] [<CommonParameters>]
DESCRIPTION
Collects comprehensive configuration data to aid in troubleshooting Microsoft Network issues.
Data is collected from the following sources:
- Get-NetView metadata (path, args, etc.)
- Environment (OS, hardware, domain, hostname, etc.)
- Physical, virtual, Container, NICs
- Network Configuration, IP Addresses, MAC Addresses, Neighbors, Routes
- Physical Switch configuration, QOS polices
- Virtual Machine configuration
- Virtual Switches, Bridges, NATs
- Device Drivers
- Performance Counters
- Logs, Traces, etc.
- System and Application Events
The data is collected in a folder on the Desktop (by default), which is zipped on completion.
Use Feedback hub to submit a new feedback. Select one of these Categories:
Network and Internet -> Virtual Networking
Network and Internet -> Connecting to an Ethernet Network.
Attach the Zip file to the feedback and submit.
Do not share the zip file over email or other file sharing tools. Only submit the file through the feedback hub.
The output is most easily viewed with Visual Studio Code or similar editor with a navigation panel.
PARAMETERS
-OutputDirectory <String>
Optional path to the directory where the output should be saved. Can be either a relative or an absolute path.
If unspecified, the current user's Desktop will be used by default.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ExtraCommands <ScriptBlock[]>
Optional list of additional commands, given as ScriptBlocks. Their output is saved to the CustomModule
directory,
which can be accessed by using "$CustomModule" as a placeholder. For example, {Copy-Item .\\MyFile.txt
$CustomModule}
copies "MyFile.txt" to "CustomModule\\MyFile.txt".
Required? false
Position? 2
Default value @()
Accept pipeline input? false
Accept wildcard characters? false
-MaxThreads <Int32>
Maximum number of simultaneous background tasks, from 1 to 16. Defaults to 5.
Required? false
Position? 3
Default value 5
Accept pipeline input? false
Accept wildcard characters? false
-SkipAdminCheck [<SwitchParameter>]
If present, the check for administrator privileges will be skipped. Note that less data
will be collected and the results may be of limited or no use.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Feature Request List
- Get-WinEvent and system logs:
https://technet.microsoft.com/en-us/lib ... 2147217396
- Convert NetSH to NetEvent PS calls.
- Perf Profile acqusition
- Remote powershell support
- Cluster member execution support via remote powershell
- See this command to get VFs on vSwitch (see text in below functions)
> Get-NetAdapterSriovVf -SwitchId 2
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-NetView -OutputDirectory ".\\"
Runs Get-NetView and outputs to the current working directory.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NetView -SkipAdminCheck
Runs Get-NetView without verifying administrator privileges and outputs to the Desktop.
RELATED LINKS
https://github.com/microsoft/Get-NetView
SYNOPSIS
Collects data on system and network configuration for diagnosing Microsoft Networking.
SYNTAX
Get-NetView [[-OutputDirectory] <String>] [[-ExtraCommands] <ScriptBlock[]>] [[-MaxThreads] <Int32>]
[-SkipAdminCheck] [<CommonParameters>]
DESCRIPTION
Collects comprehensive configuration data to aid in troubleshooting Microsoft Network issues.
Data is collected from the following sources:
- Get-NetView metadata (path, args, etc.)
- Environment (OS, hardware, domain, hostname, etc.)
- Physical, virtual, Container, NICs
- Network Configuration, IP Addresses, MAC Addresses, Neighbors, Routes
- Physical Switch configuration, QOS polices
- Virtual Machine configuration
- Virtual Switches, Bridges, NATs
- Device Drivers
- Performance Counters
- Logs, Traces, etc.
- System and Application Events
The data is collected in a folder on the Desktop (by default), which is zipped on completion.
Use Feedback hub to submit a new feedback. Select one of these Categories:
Network and Internet -> Virtual Networking
Network and Internet -> Connecting to an Ethernet Network.
Attach the Zip file to the feedback and submit.
Do not share the zip file over email or other file sharing tools. Only submit the file through the feedback hub.
The output is most easily viewed with Visual Studio Code or similar editor with a navigation panel.
PARAMETERS
-OutputDirectory <String>
Optional path to the directory where the output should be saved. Can be either a relative or an absolute path.
If unspecified, the current user's Desktop will be used by default.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ExtraCommands <ScriptBlock[]>
Optional list of additional commands, given as ScriptBlocks. Their output is saved to the CustomModule
directory,
which can be accessed by using "$CustomModule" as a placeholder. For example, {Copy-Item .\\MyFile.txt
$CustomModule}
copies "MyFile.txt" to "CustomModule\\MyFile.txt".
Required? false
Position? 2
Default value @()
Accept pipeline input? false
Accept wildcard characters? false
-MaxThreads <Int32>
Maximum number of simultaneous background tasks, from 1 to 16. Defaults to 5.
Required? false
Position? 3
Default value 5
Accept pipeline input? false
Accept wildcard characters? false
-SkipAdminCheck [<SwitchParameter>]
If present, the check for administrator privileges will be skipped. Note that less data
will be collected and the results may be of limited or no use.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Feature Request List
- Get-WinEvent and system logs:
https://technet.microsoft.com/en-us/lib ... 2147217396
- Convert NetSH to NetEvent PS calls.
- Perf Profile acqusition
- Remote powershell support
- Cluster member execution support via remote powershell
- See this command to get VFs on vSwitch (see text in below functions)
> Get-NetAdapterSriovVf -SwitchId 2
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-NetView -OutputDirectory ".\\"
Runs Get-NetView and outputs to the current working directory.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NetView -SkipAdminCheck
Runs Get-NetView without verifying administrator privileges and outputs to the Desktop.
RELATED LINKS
https://github.com/microsoft/Get-NetView