Public/Get-P1SampleScript.ps1

function Get-P1SampleScript {
    <#
    .Synopsis
    Get sample all-in-one scipt to create and configure PlannerOne tenant.
 
    .Description
    The sample script could be adapted and customized to your need. The newly created script will be copied in current folder.
 
 
    .Example
    # Get the sample script
    Get-P1SampleScript
    #>

    [cmdletbinding()]
    param( 
    )
    Process
    {
        Copy-Item "$PSScriptRoot/../Sample/P1SampleScript.ps1" .
        Write-Output "The sample script has been copied to current folder. Run ise ./P1SampleScript.ps1 to customize the script."
    }
}