diff --git a/Generators/creditCardNumber.ps1 b/Generators/creditCardNumber.ps1 new file mode 100644 index 0000000..ef414a3 --- /dev/null +++ b/Generators/creditCardNumber.ps1 @@ -0,0 +1,8 @@ +function creditCardNumber { + $Value1 = get-random -Minimum 1000 -maximum 9999 + $Value2 = get-random -Minimum 1000 -maximum 9999 + $Value3 = get-random -Minimum 1000 -maximum 9999 + $Value4 = get-random -Minimum 1000 -maximum 9999 + $creditCardNumber = ("$value1" + ' ' + "$Value2" + ' ' + "$value3" + ' ' + "$value4") + return ($creditCardNumber) +} diff --git a/NameIT.psd1 b/NameIT.psd1 index 390ead9..97f3449 100644 --- a/NameIT.psd1 +++ b/NameIT.psd1 @@ -131,8 +131,9 @@ ,'NextWeek' ,'YearToDate' ,'Job' + ,'creditCardNumber' ) - + CultureNorms = @{ FallbackLang = 'en' CultureRoot = 'cultures'