-
Notifications
You must be signed in to change notification settings - Fork 1
/
powcuts_home.ps1
50 lines (43 loc) · 1.39 KB
/
powcuts_home.ps1
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
40
41
42
43
44
45
46
47
48
49
50
Write-Host "powershell starting"
$pow_sfdxcli = Get-Content "$path_to_bashcuts\powcuts_by_cli\sfdx_cli.ps1"
if ($pow_sfdxcli -ne $NULL) {
. "$path_to_bashcuts\powcuts_by_cli\sfdx_cli.ps1"
} else {
Write-Host "no sfdx cli"
}
$pow_azcli = Get-Content "$path_to_bashcuts\powcuts_by_cli\pow_az_cli.ps1"
if ($pow_azcli -ne $NULL) {
. "$path_to_bashcuts\powcuts_by_cli\pow_az_cli.ps1"
} else {
Write-Host "no az cli"
}
$pow_common = Get-Content "$path_to_bashcuts\powcuts_by_cli\pow_common.ps1"
if ($pow_common -ne $NULL) {
. "$path_to_bashcuts\powcuts_by_cli\pow_common.ps1"
} else {
Write-Host "no powcli"
}
$pow_open = Get-Content "$path_to_bashcuts\powcuts_by_cli\pow_open.ps1"
if ($pow_open -ne $NULL) {
. "$path_to_bashcuts\powcuts_by_cli\pow_open.ps1"
} else {
Write-Host "no pow_open"
}
$pester = Get-Content "$path_to_bashcuts\powcuts_by_cli\pester.ps1"
if ($pester -ne $NULL) {
. "$path_to_bashcuts\powcuts_by_cli\pester.ps1"
} else {
Write-Host "no pester"
}
$git_common = Get-Content "$path_to_bashcuts\bashcuts_by_cli\.gitcli_bashcuts"
if ($git_common -ne $NULL) {
. "$path_to_bashcuts\powcuts_by_cli\git_common.ps1"
} else {
Write-Host "no pester"
}
$jira_setup = Get-Content "$path_to_bashcuts\powcuts_by_cli\jira_automations.ps1"
if ($jira_setup -ne $NULL) {
. "$path_to_bashcuts\powcuts_by_cli\jira_automations.ps1"
} else {
Write-Host "no jira_automations.ps1"
}