Remove-SmaModule
SMA'dan bir modülü siler.
Syntax
Remove-SmaModule
[-Name <String>]
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-SmaModule
[-Id <String>]
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Remove-SmaModule cmdlet'i Service Management Automation'dan (SMA) bir modülü siler.
Örnekler
Örnek 1: Modülü kaldırma
PS C:\> Remove-SmaModule -Name "Module01" -WebServiceEndpoint "https://localhost"
Bu komut Module01 adlı modülü kaldırır.
Parametreler
-AuthenticationType
Kimlik doğrulama türünü belirtir. Geçerli değerler:
- Temel
- Windows
Bu parametre için 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 |
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
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
Bir modülün tanımlayıcısını belirtir.
Type: | String |
Aliases: | ModuleId |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Modülün adını belirtir.
Type: | String |
Aliases: | ModuleName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
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. Protokolü eklemeniz gerekir, örneğin http:// veya https://.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |