Search found 43 matches

by Reddrgn2
Mon Jun 07, 2021 12:58 pm
Forum: PowerShell
Topic: Import csv users and run powershell script
Replies: 6
Views: 2747

Re: Import csv users and run powershell script

So i am not really sure what fixed my issues but it is fixed. I think it was a combo of issues, the wrong import method for csv, the wrong 'for each', or both. So I was rebuilding from scratch again. Used import method 'get-content' and 'foreach'. Then re-organized the functions of the script a litt...
by Reddrgn2
Mon Jun 07, 2021 6:16 am
Forum: PowerShell
Topic: Import csv users and run powershell script
Replies: 6
Views: 2747

Re: Import csv users and run powershell script

offboarding = someone leaving onboarding = someone joining The reason for the sleep command is that it was having issues running everything correctly. I started with the pipe but it wasn't working correctly. Sometimes it would do it and others it would skip over it. When started again from scratch, ...
by Reddrgn2
Fri Jun 04, 2021 11:08 am
Forum: PowerShell
Topic: Import csv users and run powershell script
Replies: 6
Views: 2747

Import csv users and run powershell script

Product, version and build: primalscript - v8.0.149 Operating system: win 10 enter v:21H1 PowerShell version(s): major 5 - minor 1 - build 19041 - revision 1023 also have 7.1.2 Trying to create a script that will import a list of users, from csv, then run the 'offboarding' script created. I have the...
by Reddrgn2
Fri Jan 22, 2021 8:33 am
Forum: PowerShell
Topic: O365 Dynamic Group Export issue
Replies: 2
Views: 2202

O365 Dynamic Group Export issue

Product, version and build: primalscript 2021 - 7.7.146 Operating system: win 10 - 20H2 - 64b - enterprise PowerShell version(s): 5.1 Trying to get export from Office365 - Dynamic DL members and details of members. I am able to get members and details to display on the console window (sorted by name...
by Reddrgn2
Thu Sep 10, 2020 11:57 am
Forum: PowerShell
Topic: Adding Switch function
Replies: 3
Views: 1649

Re: Adding Switch function

I have read it but I also know there are ways around certain things or ways to get things to work the way wanted. Also know somethings are not do able. Can't always know the limits unless you ask
by Reddrgn2
Thu Sep 10, 2020 11:34 am
Forum: PowerShell
Topic: Adding Switch function
Replies: 3
Views: 1649

Adding Switch function

I am trying to see if what I am thinking in my head was possible, close to way it is in my head. Goal: add a function/switch to script(any) that will allow export after displaying results. Example: run "Get-MsolUser -All -UnlicensedUsersOnly" it displays results. Then to export it I would need to ad...
by Reddrgn2
Tue Sep 08, 2020 6:58 am
Forum: PrimalScript
Topic: PowerShell V7
Replies: 1
Views: 3150

PowerShell V7

To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: primal script 2020...
by Reddrgn2
Wed Apr 29, 2020 11:38 am
Forum: PrimalScript
Topic: Windows Sandbox - Testing
Replies: 2
Views: 2595

Re: Windows Sandbox - Testing

Ok thanks, thought it was going to a stright blank every times - i see there is a little configuration you can do but not really what I would like, guess keep my test play ground, for now.
by Reddrgn2
Wed Apr 29, 2020 8:25 am
Forum: PrimalScript
Topic: Windows Sandbox - Testing
Replies: 2
Views: 2595

Windows Sandbox - Testing

Product, version and build: 64 bit - 2020 primalscript - 7.7.139 Operating system: 64 bit OS (18363.815)- win 10 enterprise - 1909 Working getting another testing environment setup, on current pc. Normally have VM ran in Sandboxie. Install programs run scripts to get needed info either locally or if...
by Reddrgn2
Mon Apr 13, 2020 7:21 am
Forum: PowerShell
Topic: Get AD groups, members and Authorig
Replies: 8
Views: 2889

Re: Get AD groups, members and Authorig

I haven't done that before, looking at it now