Search found 12 matches

by cstewart28
Thu Sep 01, 2016 8:41 am
Forum: PowerShell
Topic: Powershell and Regex
Replies: 1
Views: 1632

Powershell and Regex

I have a document that has a structured layout, such as: Layout ID: LC-004 Name: Items 1 Description: Description of stuff Type: Server Equipment ID: 3sdrsqq PPEquipment ID: PP-003 IP Address: 10.0.0.1 This is on a couple pages, I need to put all the values into an array Here is here I'm starting fr...
by cstewart28
Wed Mar 02, 2016 8:29 pm
Forum: PowerShell
Topic: Adding Multiple Users to Multiple AD Groups
Replies: 9
Views: 19295

Re: Adding Multiple Users to Multiple AD Groups

Thank you however I tried and got errors, Add-ADGroupMember : Cannot validate argument on parameter 'Members'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At C:\Users\admin\Documents\Add Users from Security Matrix.ps1:11 char:49 + Add...
by cstewart28
Wed Feb 17, 2016 1:11 pm
Forum: PowerShell
Topic: Adding Multiple Users to Multiple AD Groups
Replies: 9
Views: 19295

Re: Adding Multiple Users to Multiple AD Groups

I have been trying, but I guess I thought I could make it work, but it is not working out. Could you please help me out. #CSV file format #adusers,adgroup1, adgroup2, adgroup3 #aduser1 X X #aduser2 X #aduser3 X X $adusers = @() $group = "sAppV-Firefox" $group = Get-ADGroup "UAT-MID-Ap...
by cstewart28
Sun Feb 14, 2016 9:41 am
Forum: PowerShell
Topic: Adding Multiple Users to Multiple AD Groups
Replies: 9
Views: 19295

Adding Multiple Users to Multiple AD Groups

I'm trying to find a solutions for adding around 1000 AD accounts into multiple (up to 25 different) AD groups with not all AD accounts being in every AD group. The source data will be a csv file with the following format: Name adGroup1 adGroup2 adGroup3......adGroup25 adUser1 X X adUser2 X adUser3 ...
by cstewart28
Tue Jan 13, 2015 8:28 pm
Forum: PowerShell GUIs
Topic: Converting from HTML output to GridView
Replies: 18
Views: 6991

Re: Converting from HTML output to GridView

I think I have added the progressbar correctly, but now I'm trying to get the rows high lighted based on a value returned from the function and what I found does not seem to work. Here is the function: # utility function to get camera data function Get-CameraData { Param ($csvfile) Import-Csv $csvfi...
by cstewart28
Tue Jan 13, 2015 11:34 am
Forum: PowerShell GUIs
Topic: Converting from HTML output to GridView
Replies: 18
Views: 6991

Re: Converting from HTML output to GridView

I'm trying to change it, but the only option I have from the Platform drop down is V2 - 32 Bit and V2 - 64 Bit.
by cstewart28
Tue Jan 13, 2015 10:50 am
Forum: PowerShell GUIs
Topic: Converting from HTML output to GridView
Replies: 18
Views: 6991

Re: Converting from HTML output to GridView

>> Building (CameraStatus) Project...
>> Merging 'Startup.pss' ...
>> Merging 'MainForm.psf' ...
>> Merging 'Globals.ps1' ...
>> Writing 'CameraStatus.Run.ps1' ...
>> Platform: V2 64Bit (STA)
You selected the file: C:\temp\Cameras.csv

No error is coming up..
by cstewart28
Tue Jan 13, 2015 10:19 am
Forum: PowerShell GUIs
Topic: Converting from HTML output to GridView
Replies: 18
Views: 6991

Re: Converting from HTML output to GridView

How could I add a status bar or strip based on this so it progress each time one if the items are checked?
by cstewart28
Tue Jan 13, 2015 10:16 am
Forum: PowerShell GUIs
Topic: Converting from HTML output to GridView
Replies: 18
Views: 6991

Re: Converting from HTML output to GridView

It works from the command line.

Thanks again