< Back

Invoke-DeployPPSRest

Sat Jan 18, 2020 6:42 pm

NAME Invoke-DeployPPSRest



SYNOPSIS





SYNTAX

Invoke-DeployPPSRest [[-InstallDirectory] <String>] [[-SourceAvailableRoutesDirectory] <String>]

[[-SourceAvailableRoutesFile] <String>] [<CommonParameters>]





DESCRIPTION

Deploy Database Schema to web server. This needs to be updated





PARAMETERS

-InstallDirectory <String>

A valid Directory is optional.



Required? false

Position? 1

Default value C:\\PembrokePS\\Rest

Accept pipeline input? false

Accept wildcard characters? false



-SourceAvailableRoutesDirectory <String>

A valid Directory is optional.



Required? false

Position? 2

Default value ((Split-Path -Path (Get-Module -ListAvailable PembrokePSrest).path) + "\\Data")

Accept pipeline input? false

Accept wildcard characters? false



-SourceAvailableRoutesFile <String>

A valid File is optional.



Required? false

Position? 3

Default value \\PembrokePS\\EndpointRoutes.ps1

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Boolean





NOTES





It will create the directory if it does not exist.



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Invoke-DeployPPSRest -InstallDirectory C:\\PembrokePS\\Rest -SourceAvailableRoutesDirectory

C:\\OPEN_PROJECTS\\ProjectPembroke\\PembrokePSrest\\PembrokePSrest\\data -SourceAvailableRoutesFile

C:\\OPEN_PROJECTS\\ProjectPembroke\\PembrokePSrest\\PembrokePSrest\\data\\PembrokePSEndpointRoutes.ps1















RELATED LINKS