Get-SCSMManagementPack
Yönetim paketlerini alır.
Syntax
Get-SCSMManagementPack
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SCSMManagementPack
[-BundleFile] <String[]>
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SCSMManagementPack
[-ManagementPackFile] <String[]>
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SCSMManagementPack
[-DisplayName] <String[]>
[-Recurse]
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SCSMManagementPack
[-Id] <Guid[]>
[-Recurse]
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SCSMManagementPack
[-Name] <String[]>
[-Recurse]
[-SCSession <Connection[]>]
[-ComputerName <String[]>]
[-Credential <PSCredential>]
[<CommonParameters>]
Description
Get-SCSMManagementPack cmdlet'i bir yönetim grubuna aktarılmış, yönetim paketi dosyalarında (.mp, .xml) bulunan veya bir yönetim paketi paketi paketi (.mpb) dosyasında bulunan yönetim paketlerini alır.
Örnekler
Örnek 1: İçeri aktarılan tüm yönetim paketlerini alma
PS C:\>Get-SCSMManagementPack
Sealed Name DisplayName
------ ---- -----------
True Microsoft.SystemCenter.InstanceGroup.Library Instance Group Library
True Microsoft.Windows.Peripheral.Library Windows Peripheral Library
True ServiceManager.ActivityManagement.Library
True System.Software.Library System Software Library
True Microsoft.SystemCenter.Deployment.Library
True ServiceManager.KnowledgeManagement.Library
True Microsoft.EnterpriseManagement.ServiceManager.UI.Administration ServiceManager Administration ManagementPack
False ServiceManager.LinkingFramework.Configuration
True ServiceManager.LinkingFramework.Library
True System.Snmp.Library SNMP Library
True ServiceManager.Core.Library Service Manager Core Library
True Microsoft.EnterpriseManagement.ServiceManager.UI.Console Service Manager Console ManagementPack
True System.ApplicationLog.Library Application Log Library
True Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring Service Manager Authoring ManagementPack
True Microsoft.SystemCenter.Library System Center Core Library
False Microsoft.EnterpriseManagement.ServiceManager.Default
True Microsoft.SystemCenter.WorkItemGroup.Library Instance Group Library
True System.Library System Library
True Microsoft.Windows.Library Windows Core Library
True Microsoft.SystemCenter.ConfigurationManager Microsoft SystemCenter ConfigurationManager Library
True Microsoft.EnterpriseManagement.ServiceManager.Connector.Sms
False ServiceManager.ChangeManagement.Configuration ServiceManager ChangeManagement Configuration
True System.Health.Library Health Library
True Microsoft.SystemCenter.WorkflowFoundation.Library System Center Workflow Foundation Library
True Microsoft.SystemCenter.Report.Library
True ServiceManager.Datawarehouse.Library
True Microsoft.EnterpriseManagement.ServiceManager.Connector.AD
True ServiceManager.ConfigurationManagement.Library
False ServiceManager.ActivityManagement.Configuration
True System.Notifications.Library System Notification Library
True ServiceManager.IncidentManagement.Library Incident Management Library
True Microsoft.SystemCenter.Subscriptions
True ServiceManager.ChangeManagement.Library
True System.Performance.Library Performance Library
False ServiceManager.IncidentManagement.Configuration Incident Management Configuration
Bu komut, içeri aktarılan tüm yönetim paketlerini alır.
Örnek 2: Bireysel bir yönetim paketi alma
PS C:\>Get-SCSMManagementPack -Name "System.Library"
Sealed Name DisplayName
------ ---- -----------
True System.Library System Library
Bu komut System.Library yönetim paketini alır.
Parametreler
-BundleFile
Yönetim paketlerinin alındığı yönetim paketi paket dosyalarının (.mpb) adlarını belirtir.
Type: | System.String[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ComputerName
Bağlantı kurulacak bilgisayarı belirtir. Bilgisayarın System Center Veri Erişimi hizmetini çalıştırıyor olması gerekir. Varsayılan değer, geçerli yönetim grubu bağlantısının bilgisayarıdır.
Geçerli biçimler netBIOS adı, IP adresi veya tam etki alanı adı (FQDN) içerir. Yerel bilgisayarı belirtmek için bilgisayar adını , "localhost" veya bir nokta (.) yazın.
Type: | System.String[] |
Position: | Named |
Default value: | Localhost |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Yönetim grubu bağlantısının altında çalıştırılacağı kullanıcı hesabını belirtir. Sunucu belirtildiyse, hesabın ComputerName parametresinde belirtilen sunucuya erişimi olmalıdır. Varsayılan değer geçerli kullanıcıdır.
Get-Credential cmdlet'i tarafından döndürülen bir PSCredential nesnesi girebilirsiniz.
Type: | System.Management.Automation.PSCredential |
Position: | Named |
Default value: | The user account of the current context |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisplayName
Alınacak yönetim paketlerinin görünen adını belirtir. Bu parametre normal bir ifade olarak yorumlanır.
Type: | System.String[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Alınacak yönetim paketlerinin kimliğini belirtir.
Type: | System.Guid[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ManagementPackFile
Alınacak yönetim paketlerinin dosya adını (.xml veya .mp) belirtir.
Type: | System.String[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Alınacak yönetim paketlerinin adlarını belirtir. Bu parametre normal bir ifade olarak yorumlanır.
Type: | System.String[] |
Position: | 1 |
Default value: | .* |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Recurse
Alınması için belirtilen yönetim paketlerine bağlı tüm yönetim paketlerini yinelemeli olarak alır.
Type: | System.Management.Automation.SwitchParameter |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SCSession
Bir yönetim sunucusuna bağlantı belirtir. Varsayılan değer geçerli yönetim grubu bağlantısıdır.
Get-SCManagementGroupConnection cmdlet'i tarafından döndürülen bir yönetim grubu bağlantı nesnesi girebilirsiniz.
Type: | Microsoft.SystemCenter.Core.Connection.Connection[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Girişler
System.Guid
Yönetim paketinin GUID'sini Get-SCSMManagementPack cmdlet'inin Id parametresine yönlendirebilirsiniz.
System.String
Bir yönetim paketinin adını Get-SCSMManagementPack cmdlet'inin Name parametresine yöneltebilirsiniz.
Çıkışlar
Microsoft.EnterpiseManagement.Configuration.ManagementPack
Yönetim paketi nesnesi, yönetim paketini ve özelliklerini içerir.