New-SAPLibrary
Synopsis
The command New-SAPLibrary sets up a new SAP Library.
Syntax
New-SAPLibrary [-Parameterfile] <String> [[-DeployerFolderRelativePath] <String>] [-Silent] [-WhatIf]
[-Confirm] [<CommonParameters>]
Description
The SAP Library provides the storage for Terraform state files and SAP installation media.
Examples
Example 1
Import-Module "SAPDeploymentUtilities.psd1"
New-SAPLibrary -Parameterfile .\MGMT-WEEU-SAP_LIBRARY.tfvars -DeployerFolderRelativePath ..\..\DEPLOYER\MGMT-WEEU-DEP00-INFRASTRUCTURE\
Parameters
-Parameterfile
Sets the parameter file for the SAP library. For more information, see Configuring the control plane.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DeployerFolderRelativePath
Sets the relative folder path to the folder that contains the deployer VM's parameter file, named terraform.tfstate .
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Silent
Enables silent deployment.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what happens if the cmdlet runs. However, the cmdlet doesn't make any changes.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
The CommonParameters 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.