Check out my new technet post:
https://gallery.technet.microsoft.com/Disable-or-Enable-Global-b01116c6
Tuesday, June 14, 2016
Wednesday, June 8, 2016
Powershell: Get a list of your Domain Controllers including Name, IPv4Address, OS and Site
The following PS one liner will export all your Domain Controllers to a text file including information like:
Name,IPv4,OS,Site
The text file will look like the following example:

Script:
Get-ADDomainController -Filter * | Select Name, ipv4Address, OperatingSystem, site | Sort-Object -Property Name >C:\DC_Overview.txt
If you remove >C:\DC_Overview.txt the output will be displayed in Powershell.
Get-ADDomainController -Filter * | Select Name, ipv4Address, OperatingSystem, site | Sort-Object -Property Name
Have fun!
Technet Link:
https://gallery.technet.microsoft.com/PS-Get-a-list-of-your-121f6086
Name,IPv4,OS,Site
The text file will look like the following example:
Script:
Get-ADDomainController -Filter * | Select Name, ipv4Address, OperatingSystem, site | Sort-Object -Property Name >C:\DC_Overview.txt
If you remove >C:\DC_Overview.txt the output will be displayed in Powershell.
Get-ADDomainController -Filter * | Select Name, ipv4Address, OperatingSystem, site | Sort-Object -Property Name
Have fun!
Technet Link:
https://gallery.technet.microsoft.com/PS-Get-a-list-of-your-121f6086
Labels:
Active Directory,
Powershell
Wednesday, April 27, 2016
Free ebook: Introducing Windows Server 2016 Technical Preview
You can get the eBook on the following page:
https://blogs.msdn.microsoft.com/microsoft_press/2016/04/20/free-ebook-introducing-windows-server-2016-technical-preview/
https://blogs.msdn.microsoft.com/microsoft_press/2016/04/20/free-ebook-introducing-windows-server-2016-technical-preview/
Labels:
eBooks,
Windows Server 2016
Wednesday, April 6, 2016
Export all Terminal Server User CALs from your AD Domain using Powershell
You can checkout my script on technet:
https://gallery.technet.microsoft.com/Export-all-Terminal-Server-234c95e1
https://gallery.technet.microsoft.com/Export-all-Terminal-Server-234c95e1
Create a DHCP Scope based on input on Windows Server 2012 and above using Powershell
You can download my script on technet.
https://gallery.technet.microsoft.com/Create-a-DHCP-Scope-based-3a219b3c
https://gallery.technet.microsoft.com/Create-a-DHCP-Scope-based-3a219b3c
Subscribe to:
Posts (Atom)