Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: markdmac
  • Content: Threads
  • Order by date
  1. markdmac

    How to get a Document URL via PowerShell & SharePoint Online

    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...
  2. markdmac

    How to encrypt a text file with PowerShell

    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...
  3. markdmac

    WMI Class and Properties Utility

    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...
  4. markdmac

    New FAQ to add Snippet Code to PowerShell_ISE

    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...
  5. markdmac

    Learn how to make GUI forms out of your PowerShell Scripts!

    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...
  6. markdmac

    Stumped by -Replace with RegEx

    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...
  7. markdmac

    New FAQ

    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.
  8. markdmac

    Response to closed thread thread1814-1731181

    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...
  9. markdmac

    Free tool for making PowerShell GUI applications

    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...
  10. markdmac

    Help please to group & average some data

    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...
  11. markdmac

    Custom Theme Not Applying after CU5 installation

    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...
  12. markdmac

    ANyone know how to block web access

    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...
  13. markdmac

    Prompt for table data & create a table?

    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...
  14. markdmac

    How to create dynamic controls from a CSV file?

    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...
  15. markdmac

    How to read innerHTML of table and send as email?

    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...
  16. markdmac

    Problem with remote execution

    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...
  17. markdmac

    How to launch process that won't close?

    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 =...
  18. markdmac

    How to manipulate WMI reults?

    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...
  19. markdmac

    Need help replacing all instances of incorrect text

    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...
  20. markdmac

    How to specify credentials for ASP code to run under?

    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...

Part and Inventory Search

Back
Top