Microsoft SQL Server 2008 R2 Spécifications Page 52

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 236
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 51
32 CHAPTER 2 Multi-Server Administration
Enrolling SQL Server Instances by Using
Windows PowerShell
Windows PowerShell can also be used to enroll instances. In fact, scripting may be the way
to go if there is a need to enroll a large number of instances into a SQL Server UCP. Let’s say
you need to enroll 200 instances, for example. Using the Enroll Instance Wizard in SSMS can
be very time consuming, because the wizard is a manual process in which you can enroll only
one instance at a time. In contrast, you can enroll 200 instances with a single script by using
Windows PowerShell. The following syntax illustrates how to create a UCP by using Windows
PowerShell. Change the elements in the quotes to match your environment.
$UtilityInstance = new-object -Type Microsoft.SqlServer.Management.Smo.Server
"ComputerName\UCP-Name";
$SqlStoreConnection = new-object –Type
Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
$UtilityInstance.ConnectionContext.SqlConnectionObject;
$Utility =
[Microsoft.SqlServer.Management.Utility.Utility]::Connect($SqlStoreConnection);
$Instance = new-object -Type Microsoft.SqlServer.Management.Smo.Server
"ComputerName\ManagedInstanceName";
$InstanceConnection = new-object –Type
Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
$Instance.ConnectionContext.SqlConnectionObject;
$ManagedInstance = $Utility.EnrollInstance($InstanceConnection, "ProxyAccount",
"ProxyPassword");
The Managed Instances Dashboard
After you have enrolled all of your instances associated with a UCP, you can review the Man-
aged Instances dashboard, as illustrated in Figure 2-5, to gain quick insight into the health
and utilization of all of your managed instances. The Managed Instances dashboard is cov-
ered in Chapter 5, “Consolidation and Monitoring.”
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 235 236

Commentaires sur ces manuels

Pas de commentaire

Veris-industries PX SERIES Datasheet manuali

Manuali dei proprietari e guide per l'utente per Apparecchiature Veris-industries PX SERIES Datasheet.
We fornisce 1 manuali pdf Veris-industries PX SERIES Datasheet per scaricare gratuitamente in base al tipo di documento: Manuale Utente






Più prodotti e manuali per Apparecchiature Veris-industries

Modelli Tipo di Documento
TE SERIES Datasheet Manuale Utente   Veris Industries TE SERIES Datasheet User Manual, 2 pagine
H709 Install Manuale Utente   Veris Industries H709 Install User Manual, 2 pagine
CW SERIES Install Manuale Utente   Veris Industries CW SERIES Install User Manual, 6 pagine
TP SERIES Install Manuale Utente   Veris Industries TP SERIES Install User Manual, 1 pagine
TWS SERIES Install Manuale Utente   Veris Industries TWS SERIES Install User Manual, 3 pagine
E50F5 Install Manuale Utente   Veris Industries E50F5 Install User Manual, 34 pagine
PX SERIES Install Manuale Utente   Veris Industries PX SERIES Install User Manual, 3 pagine
VT7300 SERIES Install Manuale Utente   Veris Industries VT7300 SERIES Install User Manual, 18 pagine
V300 SERIES Install Manuale Utente   Veris Industries V300 SERIES Install User Manual, 2 pagine
Seahawk leak detection accessories Install Manuale Utente   Veris Industries Seahawk leak detection accessories Install User Manual, 2 pagine
MX1 Datasheet Manuale Utente   Veris Industries MX1 Datasheet User Manual, 2 pagine
H709HV Install Manuale Utente   Veris Industries H709HV Install User Manual, 2 pagine
TURBINE SERIES Datasheet Manuale Utente   Veris Industries TURBINE SERIES Datasheet User Manual, 1 pagine
LD2100 Datasheet Manuale Utente   Veris Industries LD2100 Datasheet User Manual, 2 pagine
E30 Install Manuale Utente   Veris Industries E30 Install User Manual, 11 pagine
V201 Install Manuale Utente   Veris Industries V201 Install User Manual, 2 pagine
E31 Install Manuale Utente   Veris Industries E31 Install User Manual, 12 pagine
H923 Install Manuale Utente   Veris Industries H923 Install User Manual, 2 pagine
U018 SERIES Datasheet Manuale Utente   Veris Industries U018 SERIES Datasheet User Manual, 2 pagine
H280 SERIES Datasheet Manuale Utente   Veris Industries H280 SERIES Datasheet User Manual, 2 pagine