Remove-SAPSystem
Synopsis
Removes an SAP deployment
Syntax
Removes an SAP deployment defined by the parameter file.
Import-Module "SAPDeploymentUtilities.psd1"
Remove-SAPSystem [-Parameterfile] <String> [-Type] <String> [<CommonParameters>]
Description
Removes an SAP deployment defined by the parameter file.
Examples
Example 1
Removes an SAP system.
Import-Module "SAPDeploymentUtilities.psd1"
Remove-System -Parameterfile .\PROD-WEEU-SAP00-X00.tfvars -Type sap_system
Example 2
Removes an SAP library.
Import-Module "SAPDeploymentUtilities.psd1"
Remove-System -Parameterfile .\PROD-WEEU-SAP_LIBRARY.tfvars -Type sap_library
Parameters
-Parameterfile
Sets the parameter file for the SAP system.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Type
Sets the type of SAP system.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common Parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
v0.9 - Initial version
Copyright (c) Microsoft Corporation. Licensed under the MIT license.