netnerds.net
Home
AI Integration Series
AI Usage
About
Subscribe
github bluesky youtube github-star rss
  • SharePoint + PowerShell: Batch Import Models, Create ECT's, Set Permissions

    calendar Sep 20, 2011 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Here is a script that will batch import Models, create associated ECT's, and set permissions for users and admins. Please modify the variables as needed.

    # script from netnerds.net # Make sure the namespace is the same as the namespace in your exported bdcm files # My $siteURL happens to be the same as my $namespace. …


    Read More
  • SharePoint + PowerShell: Import All BDCM Files in a Directory and Set Permissions

    calendar Sep 20, 2011 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    In order to invest as little effort as possible creating and recreating and recreating my External Content Types on my development server, I exported the ECT's then deleted External Content Types, External Systems, and BDC Models. I saved them all in a directory on the SharePoint server, then I placed …
    Read More
  • SharePoint 2010 + PowerShell: Export/Import Calendar Items

    calendar Sep 20, 2011 · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    Today has been miserable. All I wanted to do was import a SharePoint 2007 calendar into SharePoint 2010 to use as sample data for a prototype site. I was caaarraaazzy enough to believe it would be a simple import/export, but no. There's no such thing. Maybe I could use Outlook calendaring or idq files as a medium? No. …
    Read More
  • SharePoint + Powershell: Remove Hold, Record Declaration on All Documents in a Library

    calendar Sep 8, 2011 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    In order to delete a Records Library or Records Center, all holds and records in a library must be removed and the Holds and Processing timer job must be run. If this criteria is not met, the "Delete this Document Library" will not be an option in the library settings.

    Here is how you can do this …


    Read More
  • SharePoint 2010 + PowerShell: Delete Site Content Type

    calendar Sep 7, 2011 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    So first, you have to delete all of the content type's children or you'll receive the error "Error: content type in use." Once the dependencies are gone, you can delete the custom site content type itself.

    $sitename = $args[0] $contentType = $args[1]

    $web = Get-SPWeb $sitename $ct = …


    Read More
  • PowerShell Workaround: "Replicate Directory Changes" Permissions in AD Required for SharePoint 2010 Profile Syncs

    calendar Sep 6, 2011 · 3 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    According to the SharePoint 2010 Communities FAQ, Microsoft is burdening SharePoint 2010 Administrators with new requirements to obtain Active Directory accounts with "Replicate Directory Changes" permissions because...

    In order to interrogate AD about “what has changed since time xyz”, we need the …


    Read More
  • SharePoint 2010 + PowerShell: View Dependencies of Content Types (aka Content Type Usage)

    calendar Sep 6, 2011 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy

    Earlier today, I created some test Content Types while playing around with the fancy new Content Organizer. I ran into a few errors, though, and subsequently wanted to delete the dummy content types to start over. I was unable to, however, because the content types were still in use. By what? I didn't know.

    Too bad …


    Read More
  • VBScript: When You Can't Use Powershell to Ping a Webpage...

    calendar Jul 25, 2011 · 1 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    Sometimes, there's a need to schedule a "ping" to a webpage (that needs to be pre-compiled, for instance). While using PowerShell is the easiest way to do this, it's not always available on older server, while VBScript is nearly always a safe bet. The biggest issue with using VBScript or the command line is …
    Read More
  • Deploying Maintenance Plans with PowerShell or ASP.NET

    calendar Apr 21, 2011 · 6 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    I feel that my job as a DBA is very dynamic and usually keeps me busy with new things... except for deploying maintenance plans.  I hate making maintenance plans.  Luckily, I at least have a template that I can use to keep everything uniform, but it requires me opening up the plan in Visual Studio every time I want to …
    Read More
  • SQL Browser Routing Errors and Infrastructure Errors in Event Log - syspolicy_purge_history

    calendar Nov 18, 2010  · Brandon Abshire   · 2 min read  ·
    Share on: mastodon facebook linkedin bluesky copy
    Recently, I noticed errors occuring daily at 2:00AM on my SQL Cluster. The errors showed Windows logins being routed to the wrong named instances, along with errors from SQL Browser not being able to service client requests. I noticed that all of the instances being affected were SQL Server 2008, but never any of my …
    Read More
    • ««
    • «
    • 9
    • 10
    • 11
    • 12
    • 13
    • »
    • »»

Chrissy LeMaire

SQL & PowerShell MVP. GitHub Star. Creator of dbatools. Need to oil my knees.

GenAI book

Buy now at manning.com for 45% off with code gaipbl45

AI Integration Series

  • Automation with AI Toolkit + GH Models
  • Getting Started with AI for PowerShell
  • Asking Tiny Questions: Local LLMs
  • Local Models Demystified
  • Asking Bigger Questions: Remote LLMs
  • PDF Text to SQL Data with OpenAI
  • Document Classification in SharePoint
  • Azure Functions Doc Parser

dbatools book

Now available in bookstores and amazon 🥳 Buy it at manning.com for 50% off with code bldbatools50

dbatools

dbatools is an awesome PowerShell module that helps you migrate entire instances with a single command, plus a whole lot more.

available from dbatools.io and github

dbachecks

dbachecks validates SQL Server environments using crowdsourced DBA checklists and outputs to Power BI and is available on github.com 📊

Find me

Find me on Bluesky

recent posts

  • Document Intelligence with Azure Functions: A Practical Implementation
  • Automating Document Classification in SharePoint with Power Platform and AI
  • Asking Bigger Questions: Remote LLMs for Automation Engineers
  • AI Integration for PowerShell Developers: Getting Started with PSOpenAI and GitHub Models
  • AI Automation with AI Toolkit for VS Code and GitHub Models: A Visual Guide
  • Asking Tiny Questions: Local LLMs for PowerShell Devs
  • Local models mildly demystified
  • Let's talk about anti-AI slop: my plead for schools to teach AI literacy

categories

powershell 128 sql-server 123 general 64 security 60 windows 47 sharepoint 42 active-directory 37 linux 31 networking 30 vbscript 30 apple 24 virtualization 22 iis 19 genai 14 github 10
All Categories
active-directory37 ai1 apache7 apple24 asp-net2 azure5 azure-functions1 bi4 db24 devcontainers1 exchange7 genai14 general64 github10 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell128 security60 sharepoint42 sql-server123 typescript1 vbscript30 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved