Viewing 15 posts - 16 through 30 (of 143 total)
It is still failing with same error Cannot validate argument on parameter 'Name'. The argument is null. Provide a valid value for the argument, and then try running the command...
January 8, 2016 at 2:33 pm
Yes. I'd like to disable Windows Update Service using Powershell in SQL. If this succeeds, i have whole bunch of SQL jobs to schedule which would get kicked off only...
November 11, 2015 at 3:09 pm
In this case how can i proceed. My requirement is below.
I'd like to stop and disable wuauserv service on servers which will be passed by a .txt file.
set-service wuauserv...
November 11, 2015 at 1:51 pm
the powershell script is already writing the output to a .txt file. below is the script I'm trying to run.
BEGIN
{
Clear
}
PROCESS
{
$server =...
November 10, 2015 at 2:05 pm
I put the below command as a job step and made the step type as powershell.
Get-Content D:\Temp\ServerList.txt | D:\Temp\StopDisableWindowsUpdateService.ps1
Below is the Error I got.
Executed as user: REDMOND\bgitsdsv. A job...
November 10, 2015 at 1:24 pm
Wow !! thanks for the tip. works like charm. thanks a milion.
October 26, 2015 at 12:27 pm
Thanks a lot Shwan. this little command works like charm. One last think. how can i delete files remotely in the same remote directory path?
October 21, 2015 at 3:08 pm
I created a job with a step which has OperatingSystem(CMDEXEC) and run as DOMAIN\MYACCOUNT.
SQLCMD -q "SQLOPSDB.DBO.sp_now"
But now the job is not finishing as the above command does not...
July 21, 2014 at 5:33 pm
When i scripted out the Partition function the rage values were in those weird format.
Thanks for the tip I was able to create Partition Function using the format.
July 6, 2014 at 4:47 pm
Thanks Lynn. I've created partitions to the table table in the way i wanted. I've create hourly partitions on the table. Now I'm thinking to use switch partition to move...
July 6, 2014 at 4:15 pm
Point taken. My plan is to drop all the Non Clustered indexes in all 6 tables and only add them in case by case basis.
Can you possibly give scripts...
July 5, 2014 at 8:59 pm
Attached the DDL for all 6 tables.
July 5, 2014 at 3:07 pm
here is problem. the inserts are happening using a service that is been developed 6 years ago. the person who wrote the tool is no more in the team and...
July 5, 2014 at 2:38 pm
Yes, I agree i have 2 posts for work on same table. Yet, i thought to keep this post purely for purge and the other one for Partition. How ever,...
July 5, 2014 at 2:17 pm
I'm trying to partition those tables with every 4 hours window. meaning the records that come in for 4 hours should in a partition. hope thats a good idea. is...
July 5, 2014 at 2:05 pm
Viewing 15 posts - 16 through 30 (of 143 total)