Viewing 15 posts - 211 through 225 (of 486 total)
45 DBs * 16 groups/Domain/DB = 720 logins.
Each login maps to a DB user, which is a member of a db role.
The roles already exist, as do the DB users...
October 15, 2013 at 11:11 am
Hi 360,
I'd originally hoped to use nested AD, but my domain admin tells me "that ain't gonna happen" due to trust issues.
At no point is any of this being done...
October 15, 2013 at 9:16 am
Thanks for the responses.
While the logins are unavoidable, I was trying to avoid creating 700+ corresponding database users (groups, in this case). Lutz's response shows it's possible, but... from BOL...
October 15, 2013 at 5:15 am
You were very close: this needs to be in brackets:
($_.lastWriteTime -lt ((Get-Date).AddHours(-6)))
October 8, 2013 at 6:28 am
Look up the powershell commands get-childitem and remove-item, and you should be well on your way.
You may even find a script to do what you want.
Get back to us if...
October 8, 2013 at 5:29 am
In your stored proc, why not simply check for rows which will cause an error (datalength > 2, in this case) , select them and return a message to the...
September 5, 2013 at 5:17 am
Some definitions appear to be in order:
machine = the physical / virtual server on which an instance of SQL Server is installed.
SQL Server = software that runs on a machine....
August 28, 2013 at 8:03 am
A web search using the words "Services Powershell Status" leads to the following:
get-service -name "MSSQLServer" -Computername TargetServerName
Which returns
Status Name ...
August 28, 2013 at 6:23 am
I know. It was frustrating, since we had to schedule our AD changes around the 15 minute nightly window for re-booting. Even more frustrating as it was only the primary...
July 9, 2013 at 6:38 am
Had a similar problem some months ago with renamed Windows accounts.
http://www.sqlservercentral.com/Forums/Topic1328455-1550-3.aspx#bm1352733
After banging our heads against the proverbial wall for a week, we stumbled upon the solution: re-boot the SQL...
July 9, 2013 at 5:45 am
Jeff,
A while back I experimented with TVPs and Powershell.
Basically, you create a table on a SQL server, and create a stored proc with a TVP to handle the inserts.
In...
June 18, 2013 at 8:24 am
Wow, good to know.
It appears you can use an ip address, perhaps that will allow you to move forward while they debate changes to the naming convention.
May 28, 2013 at 6:50 am
Try with square brackets? [server-name]?
May 24, 2013 at 6:11 am
Viewing 15 posts - 211 through 225 (of 486 total)