netnerds.net
Home
Book
Links icon
Data Platform GitHub Org GitHub Profile GitHub Star Profile MVP Profile Twitch
About
Subscribe
  • PowerShell: Create Human-readable Shortcuts to IIS Log File Directories

    Jul 18, 2014 · 2 min read  ·
    Share on:

    About 8 years ago, I wrote a blog post that provided a VBScript to create easy-to-read shortcuts to IIS Log directories. W3SVC56 just wasn't helpful enough to identify which website logs to which directory. Today, I ported that same script to PowerShell. I'm too lazy to explain, so this is what it does: Easy peasy. …


    Read More
  • Import Large CSVs into SQL Server Using PowerShell

    Jul 4, 2014 · 6 min read  ·
    Share on:

    A buddy of mine was running into issues importing a 1 GB CSV of Longitudes and Latitudes available from geonames.org. The CSV contains over 9 million rows, and no matter what he did, DTS/SSIS would not import the data because of conversion issues. That's actually been happening to me a lot lately, too, so I find myself …


    Read More
  • PowerShell: Per-user VMware Thinapp Registration Login Script

    Jun 30, 2014 · 2 min read  ·
    Share on:

    I'm not super familiar with ThinApping, but converted portions of this VMware login script at the request of a consultant. I tried to automate the script a bit more than the one from VMware's blog. Their script required that you put in the path to each EXE. This script will find all exes within a directory and register …


    Read More
  • [Solved]: New-WebServiceProxy / GetListItems Excessive Lookup Issue

    Oct 30, 2013 · 2 min read  ·
    Share on:

    Recently, while trying to use New-WebServiceProxy to automate some SharePoint form entries, I ran into a lookup issue. First, I got this rather generic error: Exception calling "GetListItems" with "7" argument(s): "Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was …


    Read More
  • PowerShell One-Liner: Get External IP Address

    Sep 10, 2013 · 1 min read  ·
    Share on:

    Need your External IP address? Just use the following in PowerShell 3 and above $ip = (Invoke-WebRequest https://ipinfo.io/ip).Content.Trim() As a bonus, you can also get additional IP information using ipinfo.io's JSON web service. $jsonip = Invoke-WebRequest https://ipinfo.io/json $ipinfo = Convertfrom-JSON …


    Read More
  • PowerShell v3: Get Volume Information for Clustered SQL Server Storage

    Jul 23, 2013 · 2 min read  ·
    Share on:

    Unfortunately, there are no native PowerShell Failover Cluster cmdlets which will give you the volume information for disks in a cluster. I've seen some bloggers use Get-ClusterSharedVolume but a Cluster Shared Volume or CSV is different from volumes used within a SQL cluster. The script below, which was written with …


    Read More
  • PowerShell & SharePoint: Using New-WebServiceProxy to Post New Completed Tasks Automatically

    Jul 22, 2013 · 3 min read  ·
    Share on:

    Recently, I was asked to help automate a friend's super boring daily duty of logging repetitive activities to a SharePoint Task list. Even though I'm no longer regularly working with SharePoint (yay!), I accepted the challenge. Below is the script I created, which can be scheduled (and mixed up, even using $a = …


    Read More
  • Use PowerShell v3 to Keep a CookieJar and POST to a Web Form That Prohibits XSS

    Jul 8, 2013 · 1 min read  ·
    Share on:

    In my previous post, I outlined how to use PowerShell v2 to keep a CookieJar and POST to a Web Form that Prohibits XSS. The code was 35 lines long. Upon seeing my post, Lee Holmes suggested using PowerShell v3's Invoke-WebRequest instead to get my code down to 1/5th of its original size. I'm astounded at how easy …


    Read More
  • Summary Post: Update VMware vSphere SSL Certs

    Jul 5, 2013 · 1 min read  ·
    Share on:

    After speaking with a colleague today, I expect this list will grow as I work more with the vSphere suite. But until then, here is a consolidated list of posts and scripts that I've written to ease the replacement of SSL certificates on Windows-based vSphere related products using PowerShell and a Windows Domain …


    Read More
  • Use PowerShell to Keep a CookieJar and POST to a Web Form That Prohibits XSS

    Jul 5, 2013 · 3 min read  ·
    Share on:

    I recently had a project that required I log into a site and submit a form. Initially, I had a Start-Process that launched iexplore but then I decided it would be best to.. scriptallthethings My initial attempts to automate this process failed with the server response "403 Forbidden." As it turns out, the web …


    Read More
    • ««
    • «
    • 6
    • 7
    • 8
    • 9
    • 10
    • »
    • »»

Chrissy LeMaire

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

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 Mastodon

recent posts

  • New Encryption and Certificate Defaults in Microsoft's SQL Server Connection Provider
  • What's new and different in dbatools 2.0
  • Don't waste your time with ($PSEdition -eq 'Core') in your PowerShell module manifest/psd1
  • Exploring faster PowerShell import times.. again
  • You just joined Mastodon, now what?
  • Using GitHub Pages to Setup an Alias on Mastodon
  • Aliases on Mastodon: Add me! I'm also [email protected]
  • Moving to Mastodon: I actually like it better (Updated!)

categories

sql-server 119 powershell 113 general 63 security 59 windows 47 sharepoint 41 active-directory 37 linux 31 networking 30 vbscript 30 apple 24 virtualization 22 iis 19 apache 7 exchange 7
All Categories
active-directory37 apache7 apple24 asp-net2 bi4 db24 exchange7 general63 github7 iis19 linux31 livestreaming4 lync2 mastodon4 networking30 oracle1 powershell113 security59 sharepoint41 sql-server119 vbscript30 virtualization22 windows47 wpf7
[A~Z][0~9]
 

Copyright 2003 -  Chrissy LeMaire. All Rights Reserved