I have roughly 1000 files located in SharePoint that I need to query to produce a report of file name and the URL for the file. We are using SharePoint Online and I have been testing with the PNP model.
My company has 2 Factor Authentication enabled, so I need to use the -UseWebLogin method to...
I have written a script that is used for disk cleanup on a file server. The script looks at user shares, checks with AD to see if the account is disabled and if so checks if the user login exists in a text file that indicates who is on litigation hold. If the account is disabled and not on...
I noticed that Microsoft took down their link for PowerShell Scriptomatic. I primarily used to use that just to identify properties in a WMI class. So I made the following to replace that utility.
#==========================================================================
#
# NAME...
Once again sharing stuff that I am finding useful for myself so others don't need to reinvent the wheel. Snippets are great ways to reuse bits of code and were introduced into the PowerShell_ISE with version 3. Please check out my new FAQ and don't forget to rate the FAQ please. faq1619-7773...
I've put together a tutorial that should get people scripting and making PowerShell based tools. Enjoy.
faq1619-7772
I hope that helps.
Regards,
Mark
No trees were harmed in posting this message, however a significant number of electrons were terribly inconvenienced.
Check out my...
I have some files with lines of text that will include a date int eh format of Mar 1, 2015. I need to replace any dates with the format of 3/1/2015. I can correctly identify the date with a regular expression, just not sure how I can use a -Replace to change the format. Can anyone assist...
faq966-7762
I hope that helps.
Regards,
Mark
No trees were harmed in posting this message, however a significant number of electrons were terribly inconvenienced.
Check out my scripting solutions at http://www.thespidersparlor.com/vbscript
Work SMARTER not HARDER.
thread1814-1731181
Go to the properties of the folder. Click the Security tab. Click advanced. Click Change Permissions. Click Add. Type Domain Users, click OK. In the Permissions Entry select This Folder Only in the drop down. Select the Deny box next to delete. Click OK.
I hope that...
The Admin Script Editor is no longer for sale, however prior to closing shop the authors made it an open license. If you cannot afford Sapien's tools, this is a great free alternative.
Admin Script Editor
You can easily make GUI forms using a familiar Visual Studio like interface. This can...
I have a report in a CSV file that lists Cost Center, Mobile Number, Mobile Number User Name and Domestic KBU. The data represents several months of usage for each user.
I need to generate a report where all Mobile Numbers are grouped by Cost Center, I would like each number to appear only...
Just applied CU5 to our server. I copied my custom company OWA theme from C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\14.3.174.1 to the new version folder 14.3.181.6.
I also reran Set-OWAVirtualDirectory "owa (default web site)" -defaultTheme MyThemeName
Then did an...
I need to reign in my teenagers Internet access. I'm looking to create a program that will let me set a daily time range when Internet access is permitted. I'm not looking to do anything fancy, this won't evolve into anything commercial.
The problem I have is I have no idea how to block...
I am hoping someone can assist me as I really don't know where to start with this. I am looking to create what I hope is a simple ASP.Net page. I need to provide five boxes for input (name, email, address, certification date, referral date) and hopefully have a button to add this to a table...
I created an application that has a number of phases, tasks, days for each task and a check box for each task. Based on what check boxes are selected my application creates a word document by combining some templates. This is all working for me perfectly, but the labels for the phases & tasks...
I have written a single page (no code behind) ASP.Net page using VB/VBScript.
There is a table on the page called measurements. A button is used to fire off a sub to perform some simple math on some table cells. This is all working very well. I would also like to be able to send the contents...
I am working on a project that preps some servers for MS Lync installation. I have created a VB.Net program that will generate a PS1 file based on the role a specific server will play. I need the contents of that file to execute on a remote server. The beginning of that PS1 file has the...
I am working on a utility that builds a PowerShell PS1 file. I have my VB.Net application launching that PS1 file as follows:
Private Sub Button4_Click(sender As System.Object, e As System.EventArgs) Handles Button4.Click
Dim TempPath As String
TempPath =...
I am working in VisualBasic.Net Express edition.
While I am excellent with VBScript code, my .Net skills are self taught and lacking the depth of understanding I need for some tasks.
I have managed to remotely be able to check Physical Memory using WMI in VB.Net, but that query returns a...
I've been asked to step in and take over a migration project. The company that setup the migration tools transposed letters in the domain name. Can anyone assist me with SQL update code to search all databases for the text LSV\ and replace it with LVS\?
Regretfully I don't know what field...
I am feeling incredibly old. Haven't done any ASP programming in a few years and feel like I've lost a lot of my old skills.
This morning I created a web page that pulls phone numbers from Active Directory and allows them to be updated and the new values written back to Active Directory.
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.