top of page

Skip to Main Content

A useful poweshell script to return a set of ip adresses and record type from the DNS server on the network, returned in a csv file.

There are 3 parts to this:

  1. An input file

  2. A powershell script

  3. An output file

Input file

You will need a list of servers, DNS alias's or sub domains in a txt file, return separated.

e.g.

ser12365v.bsmt.uk

dynamics.bsmt.uk

Powershell script

  1. Location of source file

  2. Location of output file

Get-Content " D:\Working Documents\ADAccountsStatus\DNSList.txt" | Resolve-DNSName | Select Name,IPAddress,Type | export-csv " D:\Working Documents\ADAccountsStatus\DNSConfig.csv"

Output file

You will get a csv file with the ip address and type or record.

#Dynamics365 #AD #powershell #account #user #script #projectserver #sharepoint

Comments


Write a comment...Write a comment...

Featured Posts

Searching SQL - Finding that one record

Using a chart to rollup values from a sub entity

Recent Posts

Regarding Issues - Matching Email in Dynamics

Launch a Workflow from a button on a grid

Useful Chrome plugins

Searching SQL - Finding that one record

Importing issues, those odd ones in Dynamics 365

Increasing the depth of calculations in Dynamics 365

Dynamics 365 Quick way to get more information about an Entity

SSRS - Reporting Options

Emails in workflows, advanced dynamic values

Do you have a client which doesn't always create the DNS record as you asked....

Archive
Search By Tags
Follow Us

-

- -

www.facebook.com

www.facebook.com is blocked

www.facebook.com refused to connect.

ERR_BLOCKED_BY_RESPONSE

www.facebook.com refused to connect.

Chat

Click To Reply

Let's Chat!

loadbalancer.visitor-analytics.io

loadbalancer.visitor-analytics.io is blocked

This page has been blocked by an extension

  • Try disabling your extensions.

ERR_BLOCKED_BY_CLIENT

Reload

This page has been blocked by an extension

bottom of page