Search found 117 matches

by jsira2003@yahoo.com
Fri May 10, 2019 7:44 pm
Forum: PowerShell
Topic: CSV to Data Table Coder Application
Replies: 11
Views: 6402

Re: CSV to Data Table Coder Application

You supply the csv file. It create the actual code with the data! Then you can throw away the csv file! That was the plan. There are times when you just don't want the csv file. The program takes the actual csv file data and build the code around it.
by jsira2003@yahoo.com
Fri May 10, 2019 7:19 pm
Forum: PowerShell
Topic: CSV to Data Table Coder Application
Replies: 11
Views: 6402

Re: CSV to Data Table Coder Application

What is interesting about this about 6 months ago I had a discussion with someone at this website about incorporating a csv file into a data table and was shown the code and I had to manually type the data in for each record. I did that once and I thought I could automate this process. Then I realiz...
by jsira2003@yahoo.com
Fri May 10, 2019 5:18 pm
Forum: PowerShell
Topic: CSV to Data Table Coder Application
Replies: 11
Views: 6402

CSV to Data Table Coder Application

I wrote a csv to data table coder application. Needless to say it does all the heavy lifting and saves you a tremendous amount of time making your data a part of your application. It is free and it is on our website www.siraoops.com. It was created with powershell studio. The link: <removed because ...
by jsira2003@yahoo.com
Sun Jan 27, 2019 7:32 pm
Forum: PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 12805

Re: GetNetworkCredential difficulties

I got all your notes. I read them all, studied them and printed them out. I think there is something obscure here since this is behaving differently.

I appreciate your work and time. I really do.

I need to review it all again.

John
by jsira2003@yahoo.com
Sun Jan 27, 2019 7:22 pm
Forum: PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 12805

Re: GetNetworkCredential difficulties

I'll pull the parens out. My code shows that error with the debug.

Crazy stuff!

John
by jsira2003@yahoo.com
Sun Jan 27, 2019 6:56 pm
Forum: PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 12805

Re: GetNetworkCredential difficulties

I tried this: $Secure2 = $aline | ConvertTo-SecureString -Key ($key) -debug This is what I got Exception calling .ctor with 2 argument(s): 'cannot process argument basuse the value of the argument "password" is null. change the value of argument "password" to a non-null value. John
by jsira2003@yahoo.com
Sun Jan 27, 2019 6:49 pm
Forum: PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 12805

Re: GetNetworkCredential difficulties

I have changed all instances of the key to be the byte array. It appears that the array without the byte cast worked the same as with the byte cast.

John
by jsira2003@yahoo.com
Sun Jan 27, 2019 6:46 pm
Forum: PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 12805

Re: GetNetworkCredential difficulties

[byte[]]$global:LilHash1 = (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)

This isn't my actual key but you get the idea.

I used values from 0 - 255. Not the 1-32 as I have shown. I have put 32 values in the parenthesis.

John
by jsira2003@yahoo.com
Sun Jan 27, 2019 6:28 pm
Forum: PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 12805

Re: GetNetworkCredential difficulties

I still can't get over works in ise and not packaged. That doesn't make sense. The logic is the same, however the environment is different.
by jsira2003@yahoo.com
Sun Jan 27, 2019 6:13 pm
Forum: PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 12805

Re: GetNetworkCredential difficulties

Well as it turns out type [byte[]] array didn't change the outcome. I recreated by key file and put it where expected.

John