Sign In
olivier pieri's WebLog
SQL, SQL Server, ADO.NET and other data topics
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
Where Are You ?
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
ADO.Net
ADOMD.Net
AMO
analysis services
DMF
DMV
powershell
SMO
SQL
SQL Server
SSAS
Monthly Archives
Archives
November 2011
(1)
September 2011
(1)
March 2011
(4)
January 2011
(2)
May 2007
(1)
November 2005
(1)
July 2005
(1)
December 2004
(6)
Social Media Sharing
March, 2011
MSDN Blogs
>
olivier pieri's WebLog
>
March, 2011
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
olivier pieri's WebLog
Update SQL Server Statistics with Powershell
Posted
over 1 year ago
by
olivier pieri
0
Comments
It can be usefull to have a script to update statistics with powershell. this script is very simple, you just have to connect to you database and call the updatestatistics () method for all your tables : [System.Reflection.Assembly]::LoadWithPartialName...
olivier pieri's WebLog
Rebuild SQL Server index with Powershell
Posted
over 1 year ago
by
olivier pieri
0
Comments
let continue to explore what we can achieve with powershell for SQL Server management. The goal of this post is to rebuild fragmented index with power shell. To achieve that we need to use the invoke-sqlcmd cmdlet. try to use this command, if...
olivier pieri's WebLog
SQL Server backup and powershell
Posted
over 1 year ago
by
olivier pieri
0
Comments
In my previous post, I give some basic sample on how to use powershell for SQL Server. Here we are going to build a sample script to backup database. 1) Perfom a full backup for a specified database : [System.Reflection.Assembly]::LoadWithPartialName...
olivier pieri's WebLog
SQL Server and powershell
Posted
over 1 year ago
by
olivier pieri
0
Comments
Here is some sample of what you can achieve to manager SQL Server with powershell, let start with system script : 1) is the SQL Service running ? Get-WmiObject win32_service | Where-Object {$_.name -match "^*SQL*"} | select SystemName, Name, StartName...
Page 1 of 1 (4 items)