powershellscripts.com

PowerShell Logo


47 results found for the Networking Category in about 0.016 seconds
Add Acces Rule TMG

http://gallery.technet.microsoft.com/Add-Acces-Rule-TMG-bbe645ec

Auto Update Hosts File to Distribute over Active Directory

http://gallery.technet.microsoft.com/Auto-Update-Hosts-File-to-a4ff6be9

Check NLB status on nodes
Find the status codes on NLB nodes and report status
http://gallery.technet.microsoft.com/7c396f99-2a0f-4d86-9e28-4ee31f8085c7

Create record A on DNS Server with CSV List

http://gallery.technet.microsoft.com/Create-record-A-on-DNS-6af32409

deactivate Nagle Algorithm on iSCSI interfaces
The following script is intended to deactivate the Nagle Algorithm on iSCSI interfaces. You define via the IP filter in the variable $strTargetNICAddress on top of the script which of your interfaces are iSCSI interfaces. The script checks all interfaces and adds/updates the corr
http://gallery.technet.microsoft.com/deactivate-Nagle-Algorithm-66ca7608

DNSSEC trust anchor add/rollover/verify sample script
Add/rollover/verify trust anchors for DNSSEC
http://gallery.technet.microsoft.com/187cbccd-0d69-45ff-b1be-aeb4157b7d7d

DNSSEC zone sign/rollover sample script
Sign/rollover a zone using DNSSEC
http://gallery.technet.microsoft.com/535485ee-d393-41f2-8c85-e1d9075080d8

Export and import WLAN profiles
PowerShell functions to export and import WLAN profiles in Windows Vista/Windows 7.
http://gallery.technet.microsoft.com/652a0652-9f5e-4aed-9a4d-3b4e2cb56aa6

Filter DNS Debug Log
To decommission a DNS Server, for instance when you are going to demote a Domain Controller, can become a quite delicate matter as you might not be aware of all system pointing to your DNS Server.
http://gallery.technet.microsoft.com/Filter-DNS-Debug-Log-75ccc153

FlexLMLibrary.ps1

http://gallery.technet.microsoft.com/FlexLMLibraryps1-ff4be891

Force after hours logoffs
This script will shutdown PCs that are logged in after the hours defined in the user's Active Directory account Login Hours paremeter, as well as PCs that do not have users logged in.
http://gallery.technet.microsoft.com/a2fc9792-fa2a-4771-8fae-d527a38c0132

Get-AtomicTime

http://gallery.technet.microsoft.com/14452800-1d90-4a46-9834-649b5e31a853

Get-ComputerIP
Simple script that can either use a single computer or host list to check the connection and report back status of 'Up' or 'Down' and the IP address if 'Up'
http://gallery.technet.microsoft.com/9213cdfb-07d7-4d52-a7a2-158ccc8974af

Get-DNSClientCache
This function takes the output of "ipconfig /displaydns" and converts it into Powershell objects that can be manipulated.
http://gallery.technet.microsoft.com/ad12dc1c-b0c7-44d6-97c7-1a537b0b4fef

Get-DnsRegisteredServers.ps1
This script gets the reverse lookup zone from a DNS Server and displays all the systems registered.
http://gallery.technet.microsoft.com/28e8b98e-565b-40be-ba2c-1134341bb555

Get-HostsFile
This function will allow you to retrieve the contents of a hosts file on a local or remote system.
http://gallery.technet.microsoft.com/ef3e9262-87c5-4ad6-8001-8e381e0d89e6

GEt-IPAddresses of IPV6 capable adapters
<# # Microsoft PowerShell Source File -- Created with SAPIEN Technologies PrimalScript 2011#        Converted from codeplex        Demo code shows how to ewxtract individual types of address# NAME:  get-IPAddress.ps1# # AUTHOR: James Vierra , Designed Systems & Services# DATE  :
http://gallery.technet.microsoft.com/GEt-IPAddresses-of-IPV6-fa46459e

get-loggedonuser function
Powershell function to get the logged on users on a local or remote computer, with session information.
http://gallery.technet.microsoft.com/0e43993a-895a-4afe-a2b2-045a5146048a

Get-MACAddress
A function to get MAC addresses from local or remote computer
http://gallery.technet.microsoft.com/b780c4e4-e986-40a3-9296-65caadd31211

How to create DNS A, AAAA-Record and PTR Records for IPv4 and IPv6
The following script shows how to create DNS records for IPv4 and IPv6 addresses, including their PTR records.
http://gallery.technet.microsoft.com/0e0423ae-5626-4ce0-a7e0-28877f9ff4fa

How to request a certificate and configure a new IIS web site in an NLB cluster
This sample script will demonstrate how to create an NLB cluster, request an SSL certificate, create a new web site, configure the new certificate for this web site and setup the web site to require SSL.
http://gallery.technet.microsoft.com/e3a7aeef-2c3a-493a-94fa-822ec88986a8

List IP4 Route Table Information
Returns information about the IP route tables configured on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more
http://gallery.technet.microsoft.com/55bdf855-7c21-475c-b3c2-b966207418ad

List Network Adapter Configuration Properties

http://gallery.technet.microsoft.com/32b0cccd-aaf8-42b5-8abd-40b8438cfff4

List Network Adapter Configuration Properties
Lists configuration information for all the network adapters installed on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Frame
http://gallery.technet.microsoft.com/f03581e9-e109-45cc-bbbe-e17c7e0bce0f

List Network Adapter Properties
Lists property values for all the network adapters installed on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For
http://gallery.technet.microsoft.com/1b7f40b6-e1cb-4d5d-b602-ad3ad69fed14

List Network Client Information
Returns information about all the network clients installed on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For m
http://gallery.technet.microsoft.com/2173203f-dc3d-4a7c-a496-dc9576da3121

List Network Configuration Information for a Remote Computer

http://gallery.technet.microsoft.com/f2a967bf-a17d-400a-8237-26e0512caa50

List Network Login Profiles
Returns network login information for all the users of a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more info
http://gallery.technet.microsoft.com/4b84fb8a-964e-4811-98d2-de1009685a14

List Proxy Server Information
Returns information about the Internet proxy server used by a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more
http://gallery.technet.microsoft.com/9f6b4e68-e4ba-4546-a0d0-2e404e4fac7c

List the Network Protocols on a Computer
Uses WMI to return information about all the network protocols installed on a computer. This script requires both Windows PowerShell and the corresponding version of the .NET Fra
http://gallery.technet.microsoft.com/c4eb1596-7ac9-4be7-a711-b43446a3e3df

Monitor VPN Sites and Alert by E-mail
This script monitors several VPN sites and sends sys admin an alerting e-mail if any exceeds certian criteria like maxresponsetime , max number of dropped pings
http://gallery.technet.microsoft.com/09932acd-bc0b-4112-a656-5445a4b358a1

Monitored Computer Restart
Does a monitored remote restart of a computer.
http://gallery.technet.microsoft.com/3d509f58-90c4-487a-ad09-934eb83ecfce

NetworkManagement.ps1
DescriptionThis is the network management library, it contains several functions that will assist the administrator in working with his networking stack. Of particular interest is the Get-NetstatReport function that parses the output of netstat into a PSObject for you to work wit
http://gallery.technet.microsoft.com/f17c7600-5356-4e97-bc76-0551504d06a5

Obtain DNS Automatically
Script to take input from text file containing computer names and set them to obtain DNS settings from the DHCP server.
http://gallery.technet.microsoft.com/fe44e65d-7c73-46a3-93a6-ef2bf4344ca6

Perform DirectAccess Scripting
Allows you to perform DirectAccess scripting using the XML file created by the DirectAccess Setup Wizard. This script requires both Windows PowerShell and the corresponding versio
http://gallery.technet.microsoft.com/a4609e73-ebb4-4aec-b982-2c896793a08c

Ping Multiple Servers using PowerShell
Hi,Did you ever want to ping multiple servers at once. rather then ping every server independitally? If yes then this script is for you. Just add you server in $serverName variable. I hope that you will like this script.More Info: http://newdelhipowershellusergroup.blogspot.com/2
http://gallery.technet.microsoft.com/Ping-Multiple-Servers-ba915a7c

Resolve IP address from Hostname

http://gallery.technet.microsoft.com/44e9fef7-a04b-40b3-bb05-97659e56e27e

Same subnet calculator
This Windows Forms based Powershell script will calculate whether two IP addresses are on the same subnet, given the subnet mask.  It will display the respective network ID's for each IP address entered, and compare them to establish if they are on the same network.
http://gallery.technet.microsoft.com/Same-subnet-calculator-a7bab396

Set-DNSServerSearchOrder
At times it is necessary to set the DNS Server Search Order on a machine that is not receiving it's IP from DHCP.  This function will allow you to do just that.  To verify the current setup of the DNS Server Search Order, you can run the following Get-WmiObject command and select
http://gallery.technet.microsoft.com/Set-DNSServerSearchOrder-67617b18

Show NIC Binding Order
Updated to include the IP address bound to the NIC: I wrote this script to audit cluster servers to ensure that the NIC binding order was set correctly, however you can run this on any local or remote server to get the same results.Usage-------------------------------------------
http://gallery.technet.microsoft.com/Get-NIC-Binding-Order-a2dc8087

SubNet Scan
Scripts allow to scan specific range of IP addresses. It receive a list of machines with each address and some information about it like machine name from DNS, system and service pack info.
http://gallery.technet.microsoft.com/SubNet-Scan-dad0311f

Test if an IP is in a private subnet
A simple function to test if an IP is in one of the private subnets.
http://gallery.technet.microsoft.com/a28770f4-8dac-4d66-9451-c0d2a4b8cf80

Test-Port
This is a simple port scanner that you can run against one or more hosts and check one or more ports to see if they are open.
http://gallery.technet.microsoft.com/97119ed6-6fb2-446d-98d8-32d823867131

Verify Network Connectivity and List Computer Properties

http://gallery.technet.microsoft.com/ae8757f3-83af-4339-9b50-a9de9980b1ca

Wake on Lan module
This powershell module contains a single function called Send-WakeOnLan which is able to send a Wake-on-Lan packet to a computer in the network.
http://gallery.technet.microsoft.com/bf53eb4d-3ad9-4f05-a855-20cf2569a3ea

WAN Monitor
Users report “…the network is slow.” but what do they really mean from the technical perspective? Well, they could mean that Facebook is slow to post their social updates but I am not Mark Z. so I don’t care too much about that.However, if access to the business servers is slow t
http://gallery.technet.microsoft.com/WAN-Monitor-aa5e438c

WindowsFirewallManagement.ps1
DescriptionThis is a collection of functions for working with the Built-in Windows Firewall client. It allows you to enumerate services that are available, ports that are open and applications that are allowed through the firewall. There is also a function that allows you to crea
http://gallery.technet.microsoft.com/2834b674-7e16-479c-9de1-489903ee2652