Repository navigation
Expand file tree
/
Copy pathRealFly.psm1
More file actions
39 lines (34 loc) · 1.73 KB
/
Copy pathRealFly.psm1
File metadata and controls
39 lines (34 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Implement your module commands in this script.
# Export only the functions using PowerShell standard verb-noun naming.
# Be sure to list each exported functions in the FunctionsToExport field of the module manifest file.
# This improves performance of command discovery in PowerShell.
$ModuleFolder = Split-Path $PSCommandPath -Parent
# $Scripts = Join-Path -Path $ModuleFolder -ChildPath 'scripts'
$Functions = Join-Path -Path $ModuleFolder -ChildPath 'Functions'
$Script:ModuleFiles = @(
# Load Functions
$(Join-Path -Path $Functions -ChildPath 'Get-RFConfig.ps1')
$(Join-Path -Path $Functions -ChildPath 'Get-RFRecentJobComment.ps1')
$(Join-Path -Path $Functions -ChildPath 'Get-RFJobErrorCode.ps1')
$(Join-Path -Path $Functions -ChildPath 'Get-RFJobErrorDetails.ps1')
$(Join-Path -Path $Functions -ChildPath 'Get-RFUserMapping.ps1')
$(Join-Path -Path $Functions -ChildPath 'Get-RFNextPage.ps1')
$(Join-Path -Path $Functions -ChildPath 'Connect-RFSession.ps1')
$(Join-Path -Path $Functions -ChildPath 'Get-RFUserMapping.ps1')
$(Join-Path -Path $Functions -ChildPath 'Set-RFColorCode.ps1')
$(Join-Path -Path $Functions -ChildPath 'Set-RFConfig.ps1')
$(Join-Path -Path $Functions -ChildPath 'Start-RFMigration.ps1')
$(Join-Path -Path $Functions -ChildPath 'Stop-RFMigration.ps1')
)
foreach ($f in $ModuleFiles) {
. $f
}
# Module-level variable
$RFConfig = @{}
# Load fly.client Models
$modelsRootPath = $(get-module fly.Client).path.split('Fly.Client.psm1') -join "Model"
. $modelsRootPath\PlatformType.ps1
. $modelsRootPath\ProjectMappingItemStage.ps1
. $modelsRootPath\ProjectMappingItemStageStatus.ps1
. $modelsRootPath\ColorCode.ps1
. $modelsRootPath\MappingJobType.ps1