Showing posts with label Windows 2012. Show all posts
Showing posts with label Windows 2012. Show all posts

Thursday, 15 September 2016

PowerShell Commmand to Disable DHCP on the Network Interface

PowerShell Commmand to Disable DHCP on the Network Interface

  • In Server we generally dont use DHCP to assign IP address.
  • We usuall set Static IP Address to Server.
  • So we need to disable the DHCP.
  • To disable DHCP from Powershell use the Command "Set-NetIPInterface" with option -DHCP Disabled

Set-NetIPInterface -InterfaceAlias "Admin" -DHCP Disabled -PassThru

  • You should specifyf or which interface you want to disable the DHCP, So you have to give the InterfaceAlias as well.

Monday, 27 July 2015

Command to Get List of Patches installed on Windows 2008 R2 and Windows 2012

Command to Get List of Patches installed on Windows 2008 R2 and Windows 2012


  • Manytime we get request from application owners who request for list of patches instaled and on what date
  • You can use the below command to get the list of Patches from the server. This will Create a html file called hotfix.html in your C: drive.
  • wmic qfe list brief /format:htable > "c:\hotfix.html"

Thursday, 7 May 2015

DFS File System Management pack for Windows 2012 R2/2008/2003 - Step by Step Install

DFS File System Management pack for Windows 2012 R2/2008/2003


  • File system is one of the biggest thing in any company.
  • And Monitoring Distributed File System is one great Challenge.
  • Microsoft has given a Management pack to Monitor the File system on Windows 20012 R2,2008 R2 and 2003.
  • You can download the MP from here-->Click here
  • The File Services management pack retrieves events and other health information generated by the services that make up the File Services role. Some of the role service management packs included in the File Services Management Pack also track important operational parameters such as the use of the Distributed File System (DFS) Replication staging area and the number of replication conflicts generated.
    In addition to the overall File Services role, this management pack monitors the following role services:
    • DFS Namespaces
    • DFS Replication
    • File Server (the Server service for SMB file sharing)
    • File Server Resource Manager (the service used for File Server Resource Manager and File Classification Infrastructure)
    • Services for Network File System 
  • Following are the supported OS
  • Monitored Computer
    Support
    Windows Server 2012
    Supported
    Windows Server 2008 R2
    Supported
    Windows Server 2008
    Supported
    Windows Server 2003
    Supported
    Windows 8
    Supported
  • Importing the MP is straight forward.Just Download all the MP's from above link.
  • Open SCOM console go to Administration --> Management Pack--> Right Click and select Import Managemet Pack.
  • Select from Disk Option and the select all the MP's that are Downloaded.
  • Please note that you have to remove older vesriosn of DFSS Replication management packs prior to installing the NEW DFS Replication management pack.