SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


how can i get Powershell


how can i get Powershell

Author
Message
drew.georgopulos
drew.georgopulos
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1097 Visits: 705
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)
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)

Group: General Forum Members
Points: 37530 Visits: 14411
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
drew.georgopulos
drew.georgopulos
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1097 Visits: 705
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search