Get-SmaModule
SMA'dan bir modül alır.
Syntax
Get-SmaModule
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SmaModule
[-Id <String[]>]
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SmaModule
[-Name <String[]>]
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Description
Get-SmaModule cmdlet'i Service Management Automation'dan (SMA) bir veya daha fazla modül alır.
Örnekler
Örnek 1: Modül alma
PS C:\> Get-SmaModule -WebServiceEndpoint "https://contoso.com/app01" -Id "a65bba12-792b-44e8-8a50-1c3e40c34031"
Bu komut, belirtilen GUID ile modülü alır.
Parametreler
-AuthenticationType
Kimlik doğrulama türünü belirtir. Geçerli değerler:
- Temel
- Windows
Varsayılan değer Windows'dur. Temel kimlik doğrulaması kullanıyorsanız, Kimlik Bilgisi parametresini kullanarak kimlik bilgilerini sağlamanız gerekir.
Type: | String |
Accepted values: | Basic, Windows |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
SMA web hizmetine bağlantı için bir PSCredential nesnesi belirtir.
Kimlik bilgisi nesnesi almak için Get-Credential cmdlet'ini kullanın.
Daha fazla bilgi için Get-Help Get-Credential
yazın.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Bu cmdlet'in SMA modüllerini aldığı modül kimlikleri dizisini belirtir.
Type: | String[] |
Aliases: | ModuleId |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Bu cmdlet'in SMA modüllerini aldığı modül adları dizisini belirtir.
Type: | String[] |
Aliases: | ModuleName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Port
SMA web hizmetinin bağlantı noktası numarasını belirtir.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WebServiceEndpoint
SMA web hizmetinin URL'si olarak uç noktayı belirtir. Örneğin protokolü http:// veya https:// eklemeniz gerekir.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |