mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 14:07:20 +02:00
Added list-local-ip.ps1
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the network details
|
||||
Checks the network
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the network details of the local computer and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-network.ps1
|
||||
|
||||
N E T W O R K
|
||||
✅ Online with 30ms latency (16ms..56ms, 0/10 loss)
|
||||
N E T W O R K
|
||||
✅ Firewall enabled
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -17,10 +17,11 @@
|
||||
|
||||
Write-Host "`n N E T W O R K" -foregroundColor green
|
||||
& "$PSScriptRoot/check-firewall"
|
||||
& "$PSScriptRoot/list-ip-addresses.ps1"
|
||||
& "$PSScriptRoot/list-local-ip.ps1"
|
||||
& "$PSScriptRoot/ping-local-devices.ps1"
|
||||
& "$PSScriptRoot/list-ssh-key.ps1"
|
||||
& "$PSScriptRoot/check-vpn.ps1"
|
||||
& "$PSScriptRoot/list-internet-ip.ps1"
|
||||
& "$PSScriptRoot/ping-remote-hosts.ps1"
|
||||
& "$PSScriptRoot/check-dns.ps1"
|
||||
& "$PSScriptRoot/check-vpn.ps1"
|
||||
& "$PSScriptRoot/list-ssh-key.ps1"
|
||||
exit 0 # success
|
||||
|
Reference in New Issue
Block a user