Powershell/Tests/BuildVariables.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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# Variables for testing: $testUserPassword = '$T#st1234' # Region for test user generation $userTestingHash = @{ testCase1 = @{ Description = 'Test that user can be converted with different name' Username = 'test_case_1'; UserSID = ''; Password = $testUserPassword; JCUsername = 'test_case_1_migrated'; JCUserSID = ''; UpdateHomePath = $false } testCase2 = @{ Description = 'Test that user can be converted with different name x2s' Username = 'test_case_2'; UserSID = ''; Password = $testUserPassword; JCUsername = 'test_case_2_migrated'; JCUserSID = ''; UpdateHomePath = $true } } $JCCommandTestingHash = @{ testCase1 = @{ Description = 'Test that user can be converted with different name' Username = 'ADMU_tester'; UserSID = ''; Password = $testUserPassword; JCUsername = 'ADMU_migrated'; JCUserSID = ''; UpdateHomePath = $false } # testCase2 = @{ # Description = 'Test that user can be converted with different name x2' # Username = 'ADMU_tester_two'; # UserSID = ''; # Password = $testUserPassword; # JCUsername = 'ADMU_migrated_two'; # JCUserSID = ''; # } } $JCFunctionalHash = @{ testCase1 = @{ Description = 'Test that user is jumpcloud bound to system after migration' Username = 'ADMU_bind_1'; UserSID = ''; Password = $testUserPassword; JCUsername = 'ADMU_bind_1_migrated'; UpdateHomePath = $false BindAsAdmin = $false JCSystemUsername = $null } testCase2 = @{ Description = 'Test that user is jumpcloud bound AS ADMIN to system after migration' Username = 'ADMU_bind_2'; UserSID = ''; Password = $testUserPassword; JCUsername = 'ADMU_bind_2_migrated'; UpdateHomePath = $false BindAsAdmin = $true JCSystemUsername = $null } testCase3 = @{ Description = 'Test that user is jumpcloud local username is set' Username = 'ADMU_bind_3'; UserSID = ''; Password = $testUserPassword; JCUsername = 'ADMU_bind_localuser'; UpdateHomePath = $false BindAsAdmin = $true JCSystemUsername = "ADMU_SystemUser" } } $JCReversionHash = @{ testCase1 = @{ Description = 'Reverse' Username = 'ADMU_newUserInit'; UserSID = ''; Password = $testUserPassword; JCUsername = 'ADMU_newUserInit2'; UpdateHomePath = $true; } } $JCExistingHash = @{ renameOriginalFiles = @{ Description = 'Existing' Username = 'ADMU_ExistingUser'; UserSID = ''; Password = $testUserPassword; JCUsername = 'ADMU_ADMU_ExistingUser2'; UpdateHomePath = $false } } |