Tag Archives: Powershell

  1. #PowershellBasics: Multi-line commands

    2

    July 19, 2022 by Kenneth Fisher

    When I’m sharing code one of the things I hate most is having a scroll bar along the bottom. I …
    Continue reading

  2. #PowershellBasics: Write the output to a file.

    1

    July 14, 2022 by Kenneth Fisher

    Last week I posted about a request to get a list of services. The first problem I ran into was …
    Continue reading

  3. #PowershellBasics: Expanding the column width to avoid truncation

    3

    July 7, 2022 by Kenneth Fisher

    I was recently asked to get a list of all of the services running on one of the boxes we …
    Continue reading

  4. #PowershellBasics: The WHERE clause

    1

    November 9, 2021 by Kenneth Fisher

    Sometimes when you are trying to figure something out you run across something really interesting. In this case I discovered …
    Continue reading

  5. #PowershellBasics: Select the columns in the output.

    1

    November 4, 2021 by Kenneth Fisher

    After my post last week on sorting the list, I now have a list of files, sorted in the right …
    Continue reading

  6. #PowershellBasics: Sort a list

    3

    October 26, 2021 by Kenneth Fisher

    In my last post I grabbed a file list but I really need it sorted alphabetically. Now, I’ve been a …
    Continue reading

  7. #PowershellBasics: Get a list of files from a directory.

    4

    October 21, 2021 by Kenneth Fisher

    I’ve got a project I’m working on at the moment and it includes a number of elements from my recent …
    Continue reading

  8. #PowershellBasics: Adding data to a string using subexpressions.

    7

    October 14, 2021 by Kenneth Fisher

    I’m working on a project right now where I want to add the date/time to the end of a filename. …
    Continue reading

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

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

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

Join 3,746 other followers

Follow me on Twitter

ToadWorld Pro of the Month November 2013