Showing posts with label The. Show all posts
Showing posts with label The. Show all posts

Thursday, 2 August 2018

What are the various Site System Role in System center configuration manager (SCCM) Current Branch

Service connection point:


  • A site system role that uploads usage data from your site, and is required to make updates for Configuration Manager available in the console. This role also helps to manage mobile devices with Microsoft Intune and on-premises MDM. 


  • A hierarchy only supports a single instance of this role, and that must be at the top-tier site of your hierarchy. If you expand a standalone primary site into a larger hierarchy, uninstall this role from the primary site, and then install it at the central administration site. 



Reporting services point:


  • A site system role that integrates with SQL Server Reporting Services to create and manage reports for Configuration Manager. 
  • This role is supported at primary sites and the central administration site, and you can install multiple instances of this role at a supported site.



Software update point:

  • A site system role that integrates with Windows Server Update Services (WSUS) to provide software updates to Configuration Manager clients. This role is supported at all sites:

State migration point:

  • When you migrate a computer to a new operating system, this site system role stores user state data. This role is supported at primary sites and at secondary sites. Install multiple instances of this role at a site, and at multiple sites in the same hierarchy.
Management point:

  • A site system role that provides policy and service location information to clients. It also receives configuration data from clients.
  • By default, this role installs on the site server when you install a new primary or secondary site. Primary sites support multiple instances of this role. 

Fallback status point:

  • A site system role that helps you monitor client installation. It identifies clients that are unmanaged because they can't communicate with their management point. 


Enrollment proxy point:

  • A site system role that manages Configuration Manager enrollment requests from mobile devices and macOS computers. Although this role is supported only at primary sites, you can install multiple instances of this role at a site, or at multiple sites in the same hierarchy.



Enrollment point:

  • A site system role that uses PKI certificates for Configuration Manager to enroll mobile devices and macOS computers. Although this role is supported only at primary sites, you can install multiple instances of this role at a site, or at multiple sites in the same hierarchy.



Distribution point:


  • A site system role that contains source files for clients to download, for example:


Application content
Software packages
Software updates
OS images
Boot image

Asset Intelligence synchronization point:


  • A site system role that connects to Microsoft to download information for the Asset Intelligence catalog. This role also uploads uncategorized titles, so that Microsoft can consider them for future inclusion in the catalog.



Data warehouse service point:

  • Use the data warehouse service point to store and report on long-term historical data in your Configuration Manager environment.

Cloud management gateway connection point:

  • A site system role for communicating with the cloud management gateway.

Certificate registration point:


  • A site system role that communicates with a server that runs the Network Device Enrollment Service (NDES). This role manages device certificate requests that use the Simple Certificate Enrollment Protocol (SCEP). This role is supported only at primary sites and the central administration site.

Application Catalog website point:

  • A site system role that provides users with a list of available software from the Application Catalog. Although this role is supported only at primary sites, you can install multiple instances of this role at a site,


Application Catalog web service point:

  • A site system role that provides software information to the Application Catalog website from the software library. Although this role is supported only at primary sites, you can install multiple instances of this role at a site, or at multiple sites in the same hierarchy.

SMS Provider:

  • The assigns this role to each computer that hosts an instance of the SMS Provider. The provider is the interface between a Configuration Manager console and the site database. By default, this role automatically installs on the site server of a central administration site and primary sites. Install additional instances at each site to provide access to additional administrative users or for redundancy.


Configuration Manager site database server:

  • The site assigns this role to site system servers that hold an instance of the site database. Only move this role to a new server by running setup to modify the site to use a different instance of SQL Server to host the site database.


Thursday, 15 September 2016

Set-DnsClientServerAddress: Powershell command to set the DNS Server

Set-DnsClientServerAddress: Powershell command to set the DNS Server


  • You need to configure the DNS Server Ip adress of the Server.
  • This will help name resolution to happen correctly.
  • To configure DNS Server Name for your network Card use "Set-DnsClientServerAddress"

Set-DnsClientServerAddress -InterfaceAlias "AdminNet" -ServerAddresses 192.168.10.2

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.

Thursday, 10 March 2016

Dont install the latest Window OS Management pack -Serious Issues can mess up your monitoring

Dont install the latest Window OS Management pack -Serious Issues can screw up your monitoring


  • Recently released Microsoft OS MP has some serious issues.
  • There is total broken up and the Disk Monitoring is totally mess up.
  • People around the world are complaining about it.
  • I cant imagine when the product has so much investment each time when the OS MP comes it causes lot of issue.
  • I dont know when Microsoft is going to stick to the standard and release a quality OS MP without any issue.
  • Latest verison of this MP is 6.0.7297.0 and it a total avoid :)

Sunday, 7 February 2016

SQL Query to get the Maintenance Mode History for Particular Server SCOM 2016


SQL Query to get the Maintenance Mode History for Particular Server SCOM 2016



  • Many time you get questions from Management whether the particular server was in Maintenance mode and how long.
  • It has always been a challenge for SCOM engineer to pull the Data, as there is now easy way to pull this information.
  • You can use the below SQL query to get that information.
  • What this query does is that it queries the "OperationsManagerDW" database in "ManagedEntity"  table "MaintenanceMode" Table and "MaintenacenModeHistory" table where the ManagetEntity Row ID matches Maintenance mode Manage entity RowID and Maintenance Mode RowId matches Maintenance Mode Manage Entity Row ID.
  • Replace the "Servername" with server name you wan the report for and you will get the Maintenance mode History report for the server


********************
USE OperationsManagerDW
SELECT ManagedEntity.DisplayName, MaintenanceModeHistory.*
FROM ManagedEntity WITH (NOLOCK) 
INNER JOIN
MaintenanceMode ON ManagedEntity.ManagedEntityRowId = MaintenanceMode.ManagedEntityRowId 
INNER JOIN
MaintenanceModeHistory ON MaintenanceMode.MaintenanceModeRowId = MaintenanceModeHistory.MaintenanceModeRowId
where DisplayName Like '%servername%'

*******************

Thursday, 8 October 2015

How to view the dependencies for a management pack

How to view the dependencies for a management pack


Many times you want to know what management pack are the current MP depend on,


To view the dependencies for a management pack

  • In the Operations console, in the Administration workspace, click Management Packs.
  • Right-click the desired management pack, and then click Properties.
  • In the Properties dialog box for the management pack, click the Dependencies tab.
  • The Dependencies tab lists any management packs that the selected management pack depends on and any management packs that depend on the selected management pack.

Sunday, 4 January 2015

How to get the RUN window in Windows Server 2012 R2

How to get the RUN window in Windows 2012


  • To get the Run Windows in Current version You just click on Start and search for Run and it will show up.
  • To get the Run windows in Windows 2012. Right Click on the Start Button.It will show the Run Program there.Click on it and you will get the Run Windows

Wednesday, 31 December 2014

SCOM Agent Uninstall error : The patch Package could not be opened

SCOM Agent Uninstall error : The patch Package could not be opened



  • SCOM agent uninstall was always a piece of Cake. Jut right click and select uninstall from console



  • But recently i was migrating from SCOM 2007 to SCOM 2012 and i have to uninstall SCOM 2007 R2 agents.Most went wellBut few failed with error


"The patch Package could not be opened. Verify that the patch package exists and that you can access it.Or contact the application support."


  • First reaction was shocked. Haven't seen this error.I have access and all the msi to uninstall.



  • Later i found out that issue is because of fact that the agent creates a reg entry of while installing with unique patch number.And if this conflicts or if there multiple of them then it will fail.


So to fix It follow the below steps,


  • Click Start
  • In Search type Regedit
  • Click on HKEY_CLASSES_ROOT\Installer\Products\07779052F1B26F94BAD9C107B8
  • Then double click on "Patches"
  • Delete all the Values in it and Close it.
  • Now go and try to uninstall it and it will work fine.

Tuesday, 11 November 2014

Get-GPO:How to Get list of Group POlicy in your EnviRornment using Powershell

Get-GPO:How to Get list of Group Policy in your Environment using Powershell



GET-GPO is a very powerfull Command.It gets list of all GPO in your Domain.

To get a list of all GPO, thep

GET-GPO

You will get the below error

PS C:\Users\foxsha> GET-GPO
The term 'GET-GPO' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
lling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:8
+ GET-GPO <<<<
    + CategoryInfo          : ObjectNotFound: (GET-GPO:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


The reason for this error is that there is no Module Available for Active Directory

So first Import the Module using Command

Import-Module "grouppolicy"

You will see the below error

PS C:\Users\foxsha> Import-Module "grouppolicy"

Import-Module : The specified module 'grouppolicy' was not loaded because no valid module file was found in any module
directory.
At line:1 char:14
+ Import-Module <<<<  "grouppolicy"
    + CategoryInfo          : ResourceUnavailable: (grouppolicy:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

The resaon for this error is that there is no Group policy Feature installed so first we need to install the group policy features

If you are on your desktop and not on Server,you need to go to below location and download and install it


Then go to Programs and Features in Control Panned .Click "Turn Windows Feature On or OFF " and select "Group policy management"

Now try " Import-Module "grouppolicy" and then GET-GPO and it will run sucesfully

Monday, 10 November 2014

Get-Process:How to capture the list of process running on the Computer using Powershell

How to capture the list of process running on the Computer using Powershell


  • To list all process running on the computer use the Command
           Get-Process

          This will give you list of all the process running on your system.
  • To count number of process running on the system,use
          (get-process).count





  • To output the Process to textfile so that you can send email to your support team with details,use
         get-process | out-File -FilePath c:\temp\testpr.txt


         This will give you output to text file.

  • If you want only to check if particular process is running, then use
          get-process | select-string "goog"


Sunday, 9 November 2014

Get-Content:How to use Get-content to Count the Number of Lines in the File

How to use Get-content to Count the Number of Lines in the File

Get-Content is a very powerful command and you will use it very often in your script.


  • Lets say You want to see all Counte of file,type


Get-Content C:\temp\t1.txt

Where C:Temp is the folder path where the file is and t1.txt is the filename


  • Now if you want to Count the number of Files in the file then, use


(get-content c:\temp\t1.txt).count

This will give the number of Lines in the File


  • Now say you want to Pjust first 5 lines in the File, then use


(get-content c:\temp\t1.txt -totalcount 5)

This will give you the first 5 lines


Also to see only Line where Particular word is matching use the below command

get-content C:\temp\t1.txt | select-string "get-c"

This will show lines only where "get-c" matches