Category Archives: Powershell

  1. #PowershellBasics: Bulk insert.

    Leave a comment

    September 21, 2021 by Kenneth Fisher

    In my last post I talked about invoke-sqlcmd. It’s a nice easy way to run a query or a .sql …
    Continue reading

  2. #PowershellBasics: Finding a common AD group for a set of users.

    3

    June 17, 2021 by Kenneth Fisher

    A while back (almost 7 years 😲) I wrote a post on finding the common AD groups of a set …
    Continue reading

  3. #PowershellBasics: Writing to the screen

    8

    May 20, 2021 by Kenneth Fisher

    Writing to the screen is a really basic debugging technique. That said, since I’m really new with Powershell this is …
    Continue reading

  4. #PowershellBasics: Comments and comment based help

    5

    May 13, 2021 by Kenneth Fisher

    I’ve talked about SQL Server comments before and how important they are. In PowerShell comments are important for all the …
    Continue reading

  5. #PowershellBasics: Setting a variable vs a comparison.

    1

    April 27, 2021 by Kenneth Fisher

    In SQL Server both the set and equality functions are handled by the equals sign (=). For example: Set Equality …
    Continue reading

  6. SQL Homework – December 2020 – Participate in the Advent of Code.

    Leave a comment

    December 3, 2020 by Kenneth Fisher

    Christmas. Depending on where you live it’s a big deal even if you aren’t Christian. It pervades almost every aspect …
    Continue reading

  7. Non-SQL Tips and tricks – #tsql2sday 127 Rollup

    3

    June 16, 2020 by Kenneth Fisher

    I was thrilled to host TSQL Tuesday this month (#127) and I my prompt was non-SQL tips and tricks. Now …
    Continue reading

  8. #PowershellBasics: Using environment variables ($env:ProgramFiles)

    3

    April 6, 2020 by Kenneth Fisher

    The other day Kendra Little (blog|twitter) mentioned that she was trying to get a command in Powershell working. Specifically one …
    Continue reading

  9. #PowershellBasics: Run a file and pass it a parameter.

    Leave a comment

    February 17, 2020 by Kenneth Fisher

    I realized in my last #PowershellBasics post that I was talking about running a file and passing in an optional …
    Continue reading

  10. #PowershellBasics: Get input using Read-Host

    Leave a comment

    February 5, 2020 by Kenneth Fisher

    Conditions are the life blood of programming. This condition is met so now I need to do this task. That …
    Continue reading

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 3,755 other subscribers

Follow me on Twitter

ToadWorld Pro of the Month November 2013