Tests/MockedTestObjects.json
{
"Edit-UPN": [ { "Parameters": { "Identity": "testuser", "CurrentUPN": "Fabrikam.com", "NewUPN": "Contoso.com", "SearchBase": "OU=Finance,OU=UserAccounts,DC=FABRIKAM,DC=COM", "Verbose": "True" } } ], "Find-DisabledAccount": [ { "Dataset": { "AccountExpirationDate": "9/20/2019 4: 56: 18 PM", "DistinguishedName": "CN=testuser,OU=Test OU,OU=Gebruikers,OU=Bedrijf,DC=domain,DC=local", "Enabled": "False", "LastLogonDate": "", "LockedOut": "False", "Name": "testuser", "ObjectClass": "user", "ObjectGUID": "6c1e8bf5-a0ff-4fdc-bd49-50a0bfc4c597", "PasswordExpired": "True", "PasswordNeverExpires": "False", "SamAccountName": "testuser", "SID": "S-1-5-21-2024976220-43588214-141561111-1103", "UserPrincipalName": "testuser@domain.local" } } ], "Find-LockedAccount": [ { "Dataset": { "AccountExpirationDate": "9/20/2019 4: 56: 18 PM", "DistinguishedName": "CN=testuser,OU=Test OU,OU=Gebruikers,OU=Bedrijf,DC=domain,DC=local", "Enabled": "True", "LastLogonDate": "", "LockedOut": "True", "Name": "testuser", "ObjectClass": "user", "ObjectGUID": "6c1e8bf5-a0ff-4fdc-bd49-50a0bfc4c597", "PasswordExpired": "True", "PasswordNeverExpires": "False", "SamAccountName": "testuser", "SID": "S-1-5-21-2024976220-43588214-141561111-1103", "UserPrincipalName": "testuser@domain.local" } } ], "Get-AdminsAfterChange": [ { "Dataset": { "Label1": "value", "Label2": "value" } } ], "Get-AdminsBeforeChange": [ { "Dataset": { "Label1": "value", "Label2": "value" } } ], "Get-DomainAndForestMode": [ { "Dataset": { "NetBIOSName": "domain", "PDCEmulator": "DC01.domain.local", "DomainMode": "Windows2012R2Domain", "ForestMode": "Windows2012R2Forest" } } ], "Get-ExpiringAccount": [ { "Dataset": { "AccountExpirationDate": "9/20/2019 4: 56: 18 PM", "DistinguishedName": "CN=testuser,OU=Test OU,OU=Gebruikers,OU=Bedrijf,DC=domain,DC=local", "Enabled": "True", "LastLogonDate": "", "LockedOut": "False", "Name": "testuser", "ObjectClass": "user", "ObjectGUID": "6c1e8bf5-a0ff-4fdc-bd49-50a0bfc4c597", "PasswordExpired": "True", "PasswordNeverExpires": "False", "SamAccountName": "testuser", "SID": "S-1-5-21-2024976220-43588214-141561111-1103", "UserPrincipalName": "testuser@domain.local" } } ], "Get-HomeDirectory": [ { "Dataset": { "Name": "testuser", "HomeDirectory": "\\server01\\homedrive$\testuser" } } ], "Get-InactiveUser": [ { "Dataset": { "AccountExpirationDate": "9/20/2019 4: 56: 18 PM", "DistinguishedName": "CN=testuser,OU=Test OU,OU=Gebruikers,OU=Bedrijf,DC=domain,DC=local", "Enabled": "True", "LastLogonDate": "", "LockedOut": "False", "Name": "testuser", "ObjectClass": "user", "ObjectGUID": "6c1e8bf5-a0ff-4fdc-bd49-50a0bfc4c597", "PasswordExpired": "True", "PasswordNeverExpires": "False", "SamAccountName": "testuser", "SID": "S-1-5-21-2024976220-43588214-141561111-1103", "UserPrincipalName": "testuser@domain.local" } } ], "Get-LastCreated": [ { "Dataset": { "Label1": "value", "Label2": "value" } } ], "Get-LastLogon": [ { "Dataset": { "DistinguishedName": "CN=testuser,OU=Test OU,OU=Gebruikers,OU=Bedrijf,DC=hetspook,DC=nl", "Enabled": "True", "GivenName": "", "LastLogonDate": "", "Name": "testuser", "ObjectClass": "user", "ObjectGUID": "6c1e8bf5-a0ff-4fdc-bd49-50a0bfc4c597", "SamAccountName": "testuser", "SID": "S-1-5-21-2024976220-43588214-141561111-1103", "Surname": "", "UserPrincipalName": "testuser@hetspook.nl" } } ], "Get-NonExpiringPassword": [ { "Dataset": { "AccountExpirationDate": "9/20/2019 4: 56: 18 PM", "DistinguishedName": "CN=testuser,OU=Test OU,OU=Gebruikers,OU=Bedrijf,DC=domain,DC=local", "Enabled": "True", "LastLogonDate": "", "LockedOut": "False", "Name": "testuser", "ObjectClass": "user", "ObjectGUID": "6c1e8bf5-a0ff-4fdc-bd49-50a0bfc4c597", "PasswordExpired": "False", "PasswordNeverExpires": "True", "SamAccountName": "testuser", "SID": "S-1-5-21-2024976220-43588214-141561111-1103", "UserPrincipalName": "testuser@domain.local" } } ], "Import-DNSFromCSV": [ { "Dataset": { "Label1": "value", "Label2": "value" } } ], "Reset-Password": [ { "Dataset": { "Label1": "value", "Label2": "value" } } ] } |