Showing posts with label Windows Server Core. Show all posts
Showing posts with label Windows Server Core. Show all posts

Tuesday, August 20, 2019

PowershellTip: Show Installed Windows Roles and Features

List all installed Features and Roles

Example 1:
 
Get-WindowsFeature | Where-Object {$_. installstate -eq "installed"}
 

Example 2:
 
Get-WindowsFeature | where-object {$_.Installed -eq $True} | Format-List DisplayName
 
 
 
Example 3:
 
Get-WindowsFeature | Where-Object {$_. installstate -eq "installed"} | Format-List Name, Installstate
 
 

List all roles and Features on a Remote Host

Get-WindowsFeature -ComputerName <ComputerName> | Where-Object {$_. installstate -eq "Installed"}
 
 
 
 

Saturday, August 11, 2018

PowerShell Script: Get AD Domain and Forest functional level

Simple script to show Active Directory domain and forest functional level, FSMO roles, all sites in the forest, Global Catalog servers.

Link for download
.\Get-ADInfo.ps1

Example of usage:
[PS].\Get-ADInfo.ps1

Thursday, July 19, 2018

Enable IP Address Conflict Detection in DHCP on Windows Server

You may use DHCP server option what detects conflicts by pinging an IP address before offering that address to clients.

DHCP Conflict Detection is useful, if some client use a static ip-address from DHCP pool.

On Windows Server by default DHCP Conflict Detection is disabled.

To enabled DHCP conflict detection

Open DHCP console


Wednesday, July 18, 2018

Налаштування Windows DHCP сервера для виявлення конфліктів IP-адрес

DHCP сервер може виявляти конфлікти IP-адрес, перш ніж пропонувати адреси клієнтам.

Виявлення конфліктів IP-адрес є корисним, якщо якийсь клієнт у мережі використовує статичну IP-адресу з пулу DHCP.

Щоб увімкнути виявлення конфліктів IP-адрес

Відкрийте консоль DHCP

Thursday, August 10, 2017

Set Windows Update settings using SCONFIG

Type in command prompt
sconfig


Option #5 shows the current configuration of your Windows Update settings
 

Sunday, July 2, 2017

Install VMware Tools On Windows Server 2012 R2 / 2016 Core

 
Open the Virtual Machine Console -> VM -> Guest -> Install/Upgrade VMware Tools
 
 
Example 1.
In Command prompt type PowerShell
 
Check where the Vmware Tools are mounted on
 
[PS] Get-Psdrive
 
Go to the Drive with Vmware Tools
 
[PS] D:
 
[PS] .\setup64.exe
 
 
 
Follow the steps and restart when completed.
 
When install VMTools done - restart the server:
[PS] Restart-Computer
 
Example 2.
Enter the following command:     

D:\>setup64.exe /S /v "/qn REBOOT=Y"
 
 
Command prompt will return to D:\>. For a minute or two the installation is done than server will reboot.