Page 1 of 1

General Question

Posted: Fri Sep 13, 2019 12:50 pm
by Reddrgn2
Hi, Probably not the best place to ask this question. I am wondering what people are doing for a catalog or library of powershell scripts and tools. I have created a few tools and a lot of scripts, covering AD, O365, SharePoint, etc. I have a main powershell ISE ps1 file script that I open normally, it has the most common scripts I use. Well the issue with that is I tend to do little notes about what it does and if its export or display. So 1 script is kind of two lines, 1 with description and 1 with actual script. So 30 scripts are really 60 lines in ISE. Then I started to wonder what other people are doing for type of thing. The screen shot below is kind of what I mean by catalog or library, from IDERA

Re: General Question

Posted: Sat Sep 14, 2019 12:44 pm
by Reddrgn2
So googling around and browsing forms all over I can't seem to find the option for what I am looking for in PowerShell Studio.

Out of random thought I downloaded PrimalScript and found kind of what I was looking for. See screen shot.

People who use Studio can you let me know if there is an option like found in Primal in Studio.

Re: General Question

Posted: Mon Sep 16, 2019 7:20 am
by brittneyr
At the moment there is no File Browser Panel available in PowerShell Studio. You are welcome to make a feature request here:
https://www.sapien.com/requests

Re: General Question

Posted: Mon Sep 16, 2019 9:02 am
by Alexander Riedel
From what I see in the original picture you are more looking for what is generally referred to as snippets. Both PrimalScript and PowerShellStudio have a snippets browser that shows a number of pre-fabricated snippets and can be customized to show your own alongside.

Re: General Question

Posted: Mon Sep 16, 2019 2:12 pm
by brittneyr
We have received your feature request.

Also, the snippet panel in PowerShell Studio can be found here:
SPS_SnippetsPanel.png
SPS_SnippetsPanel.png (160.68 KiB) Viewed 2506 times

Re: General Question

Posted: Wed Sep 18, 2019 8:19 am
by Reddrgn2
I did see that and I was able to view the folders but because the ps1's are not in snippet format it does not allow me to see the already configured scripts. I could convert all the pre-made scripts but that is really not what I am looking to do or have done. With the file browser option (excatly what I was looking for) I can keep the pre-made scripts for AD ( like getting all the basic user info by looking up users display name or setting proxy address) in the same folder. Look at that folder, right click to open and view the script or right click and run it then enter the required parameters. Or I can then move to another folder and run scripts for Azure. Snippet are nice if you just want blank codes you just need to adjust for that script/form. Just little surprised that file browser is not already listed there. I know it was just brought back to Primal script.