how can i get Powershell

  • to search stored procedures for server names?

    we have the list of server names, but not sure if we must script the procedures out and search for server names from the server name list on the file system or is it possible to use the server list and search the procedures traversing each db on a server?

    thanks a lot

    drew

    (powershell illiterate)

  • Is this a recurring need?

    If not, I do this kind of impact analysis using a multi-query window in SSMS and running a "find" proc that can search the metadata of all databases in an instance for a specific term.

    If it is a recurring need then what is your ideal output? rows in a table? a text file? some info to stdout is ok?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • No, i dont anticipate it being recurring.

    Its part of a migration to a virtual environment. We're trying to limit licensing and consoidate former standalone servers that used to be linked into instances on a consolidation server...so lots of existing procedures have the old linked server name in their joins, and we are trying to get down to one mother ship.

    An idea the network admins want to try is to alias the old server names with DNS to get them to point to the new consolidation server...i'm not sure how that works, but i do know there just got to be too many standalones.

    Our perception is that what has already moved into VMs is faster than it was because the VM has less latency than the standalones communicating over the network did, something i found counterintuitive but great.

    thanks again.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply