-
I am new to powershell and am working with a script to dump data from a MSSQL table. CodePlex mssqldump.ps1 is the script location. The table has columns that return datatype of System.String, System.DateTime and System.Int32. I created an array that contains System.String and System.DateTime. when I...
-
I'm looking the best way to pass an ascii file to $myArray, and then pass $myArray to a remote script using Invoke-Command -Args. Part of my problem is the content of the strings, part is the different types of $myArray, part is the limited environment of a remote session. First off, I'm finding...
-
Originally I ran into this while trying to combine AD groups and user members into an array of objects to process and export into a csv file but the following script fragment does the same thing. I am using Powershell ISE Versiion 3 Clear-Host $Groups = 'Group1', 'Group2' $Users = 'User1'...