Sunday, January 30, 2022

cannot start service

cannot start service

any idea why I cannot start the service or start-service is not even recognizing the service when the service is really there?

  • Changed type Bill_Stewart Monday, October 19, 2015 4:35 PM
  • Moved by Bill_Stewart Monday, October 19, 2015 4:35 PM Help vampire

Reply:

Clearly the remote server does not have a service with that name.


\_(ツ)_/


------------------------------------
Reply:

no the service is there. 

get-service -computername servername -name "SPlunkForwarder"

see above


------------------------------------
Reply:

Please read the last reply in the following thread:

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/bf151ef2-a0fe-42d4-addc-7caacd73d987/

Same answer as before. Just replace the word "restart" with the word "start".


-- Bill Stewart [Bill_Stewart]



------------------------------------
Reply:

Actually on Widows 7 and later with PowerShell  and later the start-service command does work with remote objects.

You may not have access to the service when asking for control.  THe service may be protected or it may be that your account does not have permissions on the Service Manager.

You can try the WMI method as that will give you different answers.

$svc=gwmi win32_service -Filter 'Name="wpcsvc"' -ComputerName omega
$svc.StartService()

If you have no access due to restrictions the error will reflect this with a code.


\_(ツ)_/


------------------------------------
Reply:

i am sorry. something is wrong here

ITs still not working

I tried 

get-content c:\servers.txt | % {get-wmiobject win32_service -computername $_ | where {$_.name -match "Splunk" -and $_.state -eq "Stopped"}} | start-service

same error

cannot find service


------------------------------------
Reply:

That doesn't look anything like the code I posted.  Test with my code at a prompt and tell us what the return value is.

If you want to just arbitrarily mix and match things then you are on your own.


\_(ツ)_/


------------------------------------
Reply:

I believe to make this command work you would need to use set-service like this

Get-Service -ComputerName MNZWBBS103P -Name 'SplunkForwarder' | Set-Service -Status Running

In you second example the - is missing in the -displayname but you would still need to replace start-service with Set-Service -status Running


Dave Barker


------------------------------------
Reply:

yes that seems to work

can you help with this?

$servers = get-content c:\servers.txt

$servicename = gwmi win32_service -filter 'Name="SplunkForwarder"' -computername $server

foreach ($server in $servers) {

if ($servicename.status -eq "Stopped") {

$servicename.start()

}

elseif ($servicename.status -eq "Running) {

$servicename.??()

Can you correct this please?


------------------------------------
Reply:

I believe to make this command work you would need to use set-service like this

Get-Service -ComputerName MNZWBBS103P -Name 'SplunkForwarder' | Set-Service -Status Running

In you second example the - is missing in the -displayname but you would still need to replace start-service with Set-Service -status Running


Dave Barker

Yes you can use set service but it will still fail on permissions if the other methods fail.


\_(ツ)_/


------------------------------------
Reply:

You don't know PowerShell.  I suggest it is time to learn it.

Start here: https://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx?f=255&MSPPError=-2147217396


\_(ツ)_/


------------------------------------
Reply:

foreach($server in $servers){   if($srv=gwmi win32_service -filter 'Name="SplunkForwarder" AND State="Stopped"' -computername $server){   $srv.StartService()   }  }  

\_(ツ)_/


------------------------------------
Reply:
Can you correct this please?

Please start by asking a good question. The following resources will help you:


-- Bill Stewart [Bill_Stewart]


------------------------------------
Reply:

YEs 

set-service -status running does work. 

thanks


------------------------------------

Delayed output of powershell

Hello,

I have experienced a weird behavior of powershell scripting. My script is not running sequentially (row per row) but the order of rows are being ran randomly. 

PS version is 3.0, win 2012 R2

maybe the picture below will describe it better

http://snag.gy/ZULfa.jpg (my account is not verified so I cannot paste the image here)

How it should look like?

                                            

Current IDs which are not allowed: 

DeviceId                   DeviceAccessState
--------                   -----------------
MLC556T6U57R30B9UP524KQN1C Quarantined      
5T3L57GPVL4PLE1SEKNEGTUH1O Quarantined      
1595486682                 Allowed          

Want to continue?
What device do you want to take out from quarantine? [0/1-x]
0

Have somebody experienced the same issue? Have tried almost everything. Changed the switch to multiple ifs, removed the function, tried to run the script on separate window but with the same results.

Best regards,

An.


Reply:

Are we supposed to guess at the rest of this?

What is it that you feel is wrong.  The picture shows nothing of any interest.


\_(ツ)_/


------------------------------------
Reply:
(my account is not verified so I cannot paste the image here)

You can get your account verified by posting in the verification thread stuck at the top of this forum:

https://social.technet.microsoft.com/Forums/en-US/home?forum=reportabug



------------------------------------
Reply:

Are we supposed to guess at the rest of this?

What is it that you feel is wrong.  The picture shows nothing of any interest.


\_(ツ)_/

the image is a clip from powershell ISE where at the top is editor and the bot is output window. 

the switch should output the result right after write-host ("current ids which...") but its showing the output after the function set-allowID. please be more specific if you have any additional questions.

An


------------------------------------
Reply:

Images of scripts are not useful.  You need to post the correct parts of the script.  What you posted is not readable as it is all jammed together.  Not that no other users post pictures of scripts.

Note that Write-Host runs asynchronous to Write-Output.


\_(ツ)_/


------------------------------------
Reply:

Images of scripts are not useful.  You need to post the correct parts of the script.  What you posted is not readable as it is all jammed together.  Not that no other users post pictures of scripts.

Note that Write-Host runs asynchronous to Write-Output.


\_(ツ)_/

here is the part of the code: http://pastebin.com/22gvUepy

The output is:

Current IDs which are not allowed: 

Want to continue?
What device do you want to take out from quarantine? [0/1-x]
0

DeviceId                   DeviceAccessState
--------                   -----------------
MLC556T6U57R30B9UP524KQN1CQuarantined      
5T3L57GPVL4PLE1SEKNEGTUH1O Quarantined      
1595486682                 Allowed          

Output should be: 

Current IDs which are not allowed: 

DeviceId                    DeviceAccessState
--------                    -----------------
MLC556T6U57R30B9UP524KQN1CQuarantined      
5T3L57GPVL4PLE1SEKNEGTUH1O  Quarantined      
1595486682                  Allowed          

Want to continue?
What device do you want to take out from quarantine? [0/1-x]
0



------------------------------------
Reply:

Your snippet can't really help us help you.

We'd need something that we can actually run.

As an example, I can't replicate your issue with a simple test that follows your flow of Write-Host, a switch which then runs another cmdlet, pipes through where, and then selects properties to display, and then a second Write-Host.

$hash = @(   @{Thing1='1A';Thing2='2A'}   @{Thing1='1B';Thing2='2B'}   @{Thing1='1C';Thing2='2C'}  )    $obj = $hash | % { New-Object PsObject -Property $_ }    Write-Host 'First Line' -ForegroundColor Green    switch ($obj.Thing1) {     '1A' { Get-ChildItem C:\Test -Recurse -Include *.txt | ? { $_.Name -like '*test*' } | Select Name,LastWriteTime }    }    Write-Host 'Second Line' -ForegroundColor Green      Output:  First Line    Name LastWriteTime   ---- -------------   test1.txt 4/24/2013 10:50:12 AM  test2.txt 4/17/2013 2:10:18 PM   test3.txt 4/19/2013 11:23:56 AM  test4.txt 4/19/2013 11:24:01 AM      Second Line

First suggestion is to replace Write-Host with Write-Output and see what happens.



------------------------------------
Reply:

Please learn how to post code. Line numbers make it useless.

Here is a bit to try.

write-Output 'Current IDs which are not allowed'  switch ($MyObject.AllowedIDs){  	{ $MyObject.AllowedIDs -notcontains $split1 } { Get-MobileDevice -Mailbox $mbx | ?{ $_.deviceID -eq $split1 } | select deviceID, deviceaccessstate }  	{ $MyObject.AllowedIDs -notcontains $split2 } { Get-MobileDevice -Mailbox $mbx | ?{ $_.deviceID -eq $split2 } | select deviceID, deviceaccessstate }  	{ $MyObject.AllowedIDs -notcontains $split4 } { Get-MobileDevice -Mailbox $mbx | ?{ $_.deviceID -eq $split4 } | select deviceID, deviceaccessstate }  	{ $MyObject.AllowedIDs -notcontains $split5 } { Get-MobileDevice -Mailbox $mbx | ?{ $_.deviceID -eq $split5 } | select deviceID, deviceaccessstate }  	{ $MyObject.AllowedIDs -notcontains $split6 } { Get-MobileDevice -Mailbox $mbx | ?{ $_.deviceID -eq $split6 } | select deviceID, deviceaccessstate }  }  #for test purposes  get-mailbox trannann  write-Output 'Want to continue?'  set-AllowID
Your switch statement is incorrect or, at best, pointless.


\_(ツ)_/




  • Edited by jrv Thursday, September 17, 2015 12:17 PM

------------------------------------
Reply:

Looks like 'Get-MobileDevice' is a imported Exchange cmdlet, it runs as a job. 

See: 

Import-PSSession

Because imported commands might take longer to run than local commands, Import-PSSession adds an AsJob parameter to every imported command. This parameter allows you to run the command as a Windows PowerShell background job. For more information, see about_Jobs.




------------------------------------
Reply:

Yes - any jobs will run asynchronous to other code and output will always be mixed.


\_(ツ)_/


------------------------------------
Reply:

Hello,

here is the whole script: http://pastebin.com/f1jZW4rt

Can you please advise me how to show the output in correct order? Have been playing with start-job and receive-job but with no success. The job always store the first write-host and nothing else.

I repeat that the output should be:

Current IDs which are not allowed:

// 

"The IDs and its device states"

//

Want to continue?

What device do you want to take out from quarantine? [0/1-x]

Thanks,

An


------------------------------------
Reply:

The correct way to read a job is:

Start-Job .... | Wait-Job | Receive-Job

Or:

...start all jobs
$results=Get-Job | Wait-Job | Receive-Job
... process results


\_(ツ)_/


------------------------------------
Reply:
start-job -name PICA -ScriptBlock {      switch ($MyObject.AllowedIDs) {   {$MyObject.AllowedIDs -notcontains $split1} {Get-MobileDevice -Mailbox $mbx | ?{$_.deviceID -eq $split1} | select deviceID, deviceaccessstate}   {$MyObject.AllowedIDs -notcontains $split2} {Get-MobileDevice -Mailbox $mbx | ?{$_.deviceID -eq $split2} | select deviceID, deviceaccessstate}   {$MyObject.AllowedIDs -notcontains $split3} {Get-MobileDevice -Mailbox $mbx | ?{$_.deviceID -eq $split3} | select deviceID, deviceaccessstate}   {$MyObject.AllowedIDs -notcontains $split4} {Get-MobileDevice -Mailbox $mbx | ?{$_.deviceID -eq $split4} | select deviceID, deviceaccessstate}   {$MyObject.AllowedIDs -notcontains $split5} {Get-MobileDevice -Mailbox $mbx | ?{$_.deviceID -eq $split5} | select deviceID, deviceaccessstate}   {$MyObject.AllowedIDs -notcontains $split6} {Get-MobileDevice -Mailbox $mbx | ?{$_.deviceID -eq $split6} | select deviceID, deviceaccessstate}   }   } | wait-job | receive-job -Keep

This is my last attempt of make it working Still no output of allowed IDs...

------------------------------------
Reply:

Using a switch is just screwing up you whole approach.

Do it like this.  You will get more information.

$job= start-job -ScriptBlock {  	write-host 'Current IDs which are not allowed:' -fore green  	$ids = $MyObject.AllowedIDs  	$deviceid=if ($ids -notcontains $split1) {  		$split1  	} elseif ($ids -notcontains $split2) {  		$split2  	} elseif ($ids -notcontains $split3) {  		$split3  	} elseif ($ids -notcontains $split4) {  		$split4  	} elseif ($ids -notcontains $split5) {  		$split5  	} elseif ($ids -notcontains $split6) {  		$split6  	} else {  		Write-Host 'No matches' -fore red  	}  	if($deviceid){}  	$devices = Get-MobileDevice -Mailbox $mbx | ?{ $_.deviceID -eq $deviceid } | select deviceID, deviceaccessstate  }  $job|Wait-Job|Receive-Job

Note the variables like "$split" and $mbx  are not available in a job.  Only variables created in the job or passed to the job are available.

I see no purpose for using a job here.


\_(ツ)_/


------------------------------------
Reply:
 $user = $mbx   $job= start-job -ScriptBlock {   $mbxx = $user  	write-host 'Current IDs which are not allowed:' -fore green  	$ids = $MyObject.AllowedIDs   $mbxx = $MyObject.Mailbox1  	$deviceid=if ($ids -notcontains $split1) {  		$split1  	} elseif ($ids -notcontains $split2) {  		$split2  	} elseif ($ids -notcontains $split3) {  		$split3  	} elseif ($ids -notcontains $split4) {  		$split4  	} elseif ($ids -notcontains $split5) {  		$split5  	} elseif ($ids -notcontains $split6) {  		$split6  	} else {  		Write-Host 'No matches' -fore red  	}  	if($deviceid){}  	$devices = Get-MobileDevice -Mailbox $mbxx | ?{ $_.deviceID -eq $deviceid } | select deviceID, deviceaccessstate  }  $job|Wait-Job|Receive-Job

Hello,

tried to pass the info stored in $mbx to job as you showed but with no success. Error code:

Cannot validate argument on parameter 'Mailbox'. The argument is null or empty

would like to avoid the job stuff aswell but I cannot manage to show the output in the correct order.


------------------------------------
Reply:

Here is a tutorial on jobs.  It consists of about six blog posts.  Please read all of them.

http://blogs.technet.com/b/heyscriptingguy/archive/2014/03/02/powershell-jobs-week-introduction-to-powershell-jobs.aspx


\_(ツ)_/


------------------------------------
Reply:
The problem is I cannot break and F10 each row in job, so its really hard for me to understand how it works. With the link you have provided to me, I still don´t know how to output the result in the correct order.

------------------------------------
Reply:
We have no idea what you are trying to say.  What is out of order.  If you mix Write-Host and Write-Output or other output it will not be in order.  There is no fix for that.  it is just how PowerShell works

\_(ツ)_/


------------------------------------

Microsoft SQL Cluster Issue

Hi There,

We have built a test environment with MSSQL cluster before going to production.

Implementations:

1) We have built two virtual application server where we hosted same application.(You can assume it as website)

2) We built two Virtual Windows Failover Clusters and then we have installed SQL Failover Cluster on both the machines by giving a virtual IP.

3) all the SQL DB,Logs, Temps file locations are pointed to individual iSCSI LUN's

4) We found that all the functions are working properly on available nodes.

Servers:

Application: 2 ( APP1: 192.168.1.11, APP2:192.168.1.12

Windows Cluster Nodes: 2 (Node1: 192.168.1.21, Node2: 192.168.1.22)

SQL Cluster Virtual IP: 192.168.1.23

Storage: NAS(iSCSI LUN's)

5) Application servers are pointed to SQL Cluster DB: 192.168.1.23

Questions:

i) We have logged into application which is hosted on 192.168.1.11(remember same application hosted on both the servers for load balancing which is pointing to single DB on cluster on the top of application servers we have load balancer) and tried to modified the data( You can assume we have logged in to application using credentials and edited user data by modifying few columns) then we have logged into the same application hosted on 192.168.1.12 which is pointing to the same DB 192.168.1.23 but we don't see the changes are triggered on this server.

ii) we don't understand this strange behavior even though the two applications are pointing to same clustered DB.

iii) Do we need to take any precaution or configuration changes to be done on SQL cluster.

iv) i don't understand if two same applications on two different servers are point to same DB then I should see the same data in both the application servers as per modification which is not happening in my test scenario.

Please share your thoughts.

Thanks

NagarajChengeli



Reply:

I'd probably ask them over here.

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqldisasterrecovery

 

 

 


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


------------------------------------
Reply:

It sounds like the change is either not being applied to the database or there is a problem with your application. Maybe it is returning cached data.

The SQL cluster should function like a normal standalone sql instance from the application perspective.


SingleHop: A leader in Managed Azure


------------------------------------

WDS deployment error - Offlineservicing

Hi,

I'm trying to deploy my image using WDS.
I have this running since 3 years now and didn't have any problems until recently.

At the end of the deployment, when it has already copied the image and installed it it throws back the following error:

The installatin has been canceled.
changes made to the computer wil not be applied...

Can not apply the settings for unattended installation during phase: Offlineservicing

It's a Windows Server 2012, with WDS installed but the problem started on a W2K8 machine (our initial WDS server)... I tried a fresh install on a W2K12 but the problem persisted. Nothing has changed to the configurations of the servers what so ever except the unattended files.
I also created new unattended files but no avail...

Tried installed a fresh boot install, tried installing a new installation image and also tried importing a working deployment image.
Thing is that it worked fine (deployed over 120 images) and then suddenly, this error... :-S

Does someone have a idea?
Kindest regards,

Stijn

Dynamic Height of a bar chart is SSRS report

Hi, I have created an SSRS report containing a bar chart. The Y-axis contains some application names which are displayed based on a certain criteria. Hence sometimes there are only 2 values in y-axis while sometimes it may range upto 20 items. I have tried a lot but have been unsuccessful in getting a dynamic y-axis which changes with the number of items present.

Any help would be greatly appreciated.

Thanks in advance!


Reply:

Hi,

You're posting in a PowerShell forum.

The SSRS forum is here:

https://social.technet.microsoft.com/Forums/en-us/home?forum=sqlreportingservices&filter=alltypes&sort=lastpostdesc

Good luck.



------------------------------------
Reply:

Hi Mike, thank you for pointing it out. I have posted my query in the coorect forum now.

Thanks again. Cheers!


Thanks & Regards Rohit Agarwal


------------------------------------
Reply:
Cheers, you're welcome. Hope you find what you're looking for.


------------------------------------

Surface pro 3 Battery Drain and continuous working fan after updating to Windows 10

After updating to windows 10 my surface pro 3 in too hot and the fan is working all the time and the battery drain after about 2 hours.

What's the solution?



  • Edited by mazaheri_md Sunday, September 6, 2015 6:45 PM

Reply:
I'm having the same problem. I hope someone comes up with a solution!!

------------------------------------
Reply:
Same problem....

------------------------------------
Reply:

It seems like Edge is taking a lot of resources, try without using edge.


------------------------------------

log file got corrupted

Hello Experts,

in one of our DB, we configured for transaction log backup which run every one hour via maintenance plan. it was completed successfully without any issues until last week, today we found backups not happening for last one week and getting error as "log file got corrupted". 

But i found this issue happened only transaction log backup, db full backup and differential backups completed without any issues. 

please suggest and clarify me, whether any mistakes i done in log backup schedule and how can i proceed in this issue.

Thanks and Regards

Balaji S

Windows server Support

Hi Sir,

I would like join this session about Microsoft windows server 2008, AD DS , DNS, GPO, Site replication, trust Relationship.

Thanks,

Jayaprakash.M


Reply:

Your requirement is not clear. Are you facing any issues on these features?

-Umesh.S.K


------------------------------------

stdole2.tlb excel 2007 error on windows 2003

Hi,

Does anyone know how to resolve this issue? once i run the excel using admin id i have no problem. but when user is using it the stdole2.tlb message box will occur.

TIA


Reply:

Hi Allen,

Sorry for the delay in reply but for Office related question should be posted in Office forum:

http://social.technet.microsoft.com/Forums/office/en-US/home?category=officeitpro


Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


------------------------------------

Migrate to "Office 365 Exchange Online SMTP Relay Service" from XSMTP

Hi All

We are using XSMTP as of now in SQL server 2012 for sending the mails to the business Users. As per the recent mail communication from IT Exchange service, this will be decommissioned on Nov 2015.

So I want some help related to any published documents or links to perform the migration from XSMTP to Office 365 Exchange online SMTP relay service. Can anyone share the tip on this change?


Srinivasan Baskaran, Technology Architect, Infosys Technology Limited, India


Reply:

Hi Srinivasan,

As the issue is more related to Exchange, I would recommend you post the question in the Exchange Server forum. It is appropriate and more experts will assist you.

Besides, you can also review the following articles about migrating to Office 365 from  Exchange.

How to migrate your Exchange server to Office 365
http://www.infoworld.com/article/2898113/email-software/how-to-migrate-your-exchange-server-to-office-365.html

Ways to migrate multiple email accounts to Office 365
https://support.office.com/en-us/article/Ways-to-migrate-multiple-email-accounts-to-Office-365-0a4913fe-60fb-498f-9155-a86516418842



Thanks,
Lydia Zhang


Lydia Zhang
TechNet Community Support



------------------------------------
Reply:

Lydia 

Thanks for the suggestion, will repost it in correct sub forum.


Srinivasan Baskaran, Technology Architect, Infosys Technology Limited, India


------------------------------------

Renamed user in Active directory not synchronized to site collection.

Dear friends,

                        We had to rename the username (e.g. Domain\P3332255 to Domain\newuser1) of 60+ users in the AD and need to sync it back to the SharePoint 2013 side. My web application consists of 7 site collections. After running the full sychronization I get the updated users for 6 site collections. But only for 1 site collection, still it shows the old user name. I checked the user properties within the site collection and I see the creation date is 12/01/2013 (an old profile). 

                        What do I have to do to get the new user profile for this site collection ?

furthermore I tried, stsadm migrate user command. But it didn't work. 

Thanks,

Nilanka

  • Changed type Dilip Nilanka Monday, September 21, 2015 2:05 AM tet

Reply:

Hi Nilanka,

As I understand, it cannot sync user profile in one site collection in SharePoint 2013.

You could check things below:

1. Check if there is relative information about the issue.

2. Run the full synchronization again to check if it can work. You also could run User Profile to SharePoint Full Synchronization job in monitoring in Central Administration.

3. Update the user information list by the Set-SPUser cmdlet along with the -SyncFromAD parameter. For more detailed information, you could refer to the article below.

The article below is about updating SharePoint 2010 User Information. It also could work in SharePoint 2013.

http://blog.falchionconsulting.com/index.php/2011/12/updating-sharepoint-2010-user-information/

The article below is about Set-SPUser command.

https://technet.microsoft.com/en-us/library/ff607827.aspx

More reference:

The article below is about User Profile Information not updated on site collection's people and group.

http://blogs.technet.com/b/paulpaa/archive/2009/10/01/user-profile-information-not-updated-on-site-collection-s-people-and-group.aspx

Best regards,

Sara Fan


TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


------------------------------------

Databases not displaying

Hi Guys

What might have cause this? and how to fix? suddenly databases are not displaying


Reply:

Hi ,

Have you tried with exchange management shell with the below mentioned command? Does it provides the output ?

get-mailboxdatabase | ft -au

Have you log out and log in again in EAC and check the results ?


Thanks & Regards S.Nithyanandham


------------------------------------
Reply:
check your exchange services make sure they are all started if they are automatic. Also make sure IIS  is running.

------------------------------------
Reply:

Hi it gave me this result,

kindly advise


------------------------------------

DNS resolution Issue

Hello,

my primary domain sushilfinance.com works fine, but I am facing issue with sushilinsurance.com .

we have created one sushilinsurance.com new zone in DNS and done all configuration, if I type www.sushilinsurance.com and hit enter site is working fine.

but my problem is if I type sushilinsurance.com and hit enter giving error message:-

Make sure the web address http://sushilinsurance.com is correct.

is there any thing pending from end for DNS configuration ?

I can able to ping www.sushilfinance.com but failed to ping sushilfinance.com.

normaly it should be work for all domain.

Please help me and thanks in advance.Thanks & Regards,

Prashant H Mane


Reply:

if www.sushilinsurance.com is working fine, then you would have created a A record in DNS to point to "a" IP address. for example

www.sushilinsurance.com pointing to 1.1.1.1 in DNS and thud it is resolving and pinging with no issues.

For sushilinsurance.com create an another A record, for the same without www and point to the same IP [example 1.1.1.1]. By doing this, DNS should be able to resolve both names with and without www.


------------------------------------

[SCOM] Server health state

Hi,

We have several servers under monitoring in SCOM. Are there commands to obtain server health status, severity, agent status for a particular server. We are looking to automate that view, ie, if we input a particular server name, we must get server's health status, severity, agent status

Thanks


Reply:

Pl. chk if this can help you

http://blogs.technet.com/b/jasonrydstrand/archive/2013/03/27/daily-scom-health-check-with-powershell.aspx

I find this very helpful in checking health or may be you can make use of in built views under OperationsManager folder in Monitoring pane


Faizan


------------------------------------
Reply:

Hi Faizan,

I had gone through that earlier as well. What I want is when I input a server under SCOM monitoring, it want to know whether health status & agents are HEALTHY or not. Is there any command specifically for that. I know this thing about SCOM command prompt but have no idea about the commands to be checked. Are you aware of any such?


------------------------------------

DPM UR7 re-released

Hi Everyone,

We had an issue with DPM 2012 R2 UR7 that was released on July 28th, 2015. The issue is fixed now and the update is re-released with the fix. Please install the update via Microsoft Update or download it via UR7 KB just like you install other DPM URs.

Existing customers who already installed UR7 before August 25th, 2015

For DPM servers that already installed UR7 before August 25th, 2015 will see an increase in DPM recovery point volume usage as DPM cannot delete expired recovery points. In order to fix the issue follow the below steps:

1. Download the updated UR7 bits from KB article

2. Manually install the update on the DPM Server that had older UR7 bit installed. The update will install successfully and will update the pruneshadowcopiesDpm2010.ps1 script to fix the issue.

Note: For customers who already installed UR7 the new update will not be pushed via Microsoft Update and need to download the update manually from the KB.



Reply:
How do we know which version of UR7 we have?? I do not remeber when I installed it.

------------------------------------

If Wifi fails after Windows Phone update, there is hope! This is the solution!!

Because of all the different Languages all over, there will be glitches. The wifi-problem is solved by resetting phone to factory default after installing the update.

Remember to backup!! :) Tested on Lumia 1020 - Problem fixed.


-thats GoOD-


  • Edited by Eldrave Sunday, September 20, 2015 2:11 PM

sql server 2008

howcan I install two more server on my laptop. I have one, the local one.

Reply:

------------------------------------
Reply:

Do you mean two more instances for SQL Server?

http://www.sqlines.com/sql-server/create_multiple_instances


Best Regards,Uri Dimant SQL Server MVP, http://sqlblog.com/blogs/uri_dimant/

MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting: Large scale of database and data cleansing
Remote DBA Services: Improves MS SQL Database Performance
SQL Server Integration Services: Business Intelligence


------------------------------------
Reply:

you can through the normal installation process , just when you come to the page of the instance name change from default to named instance and type the name of the second SQL-instance

Regards,

Hossam


------------------------------------

Insiders Now w/ Build 10547

As of today, 18/9/15, Fast Track Insiders are now w/ Build 10547

Cheers,
Drew

Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com


Reply:
Will say, although, not sure how much deserves being attributed to this Build specifically, the work on context menus & places like Device Mgr & Control Panel in terms of graphics, icons & 'design' looks good.  Stuff is distinctive & attractive (item pictures) & the consistency in appearance throughout is great.

And Calendar & Mail APPs have pretty background pictures, now.  Actually, it's rather nice, actually.

Cheers,
Drew

Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com



  • Edited by Drew1903 Sunday, September 20, 2015 3:19 AM

------------------------------------

Font Rendering with Multiple Displays with Different Subpixel Orders

I am using two monitors. One monitor renders fonts perfectly, while the other's text is chromatically aberrated.

I am aware that each monitor has pixels that contain one red, blue and green subpixel. The order of which is different between some monitors. In my case, I have a more commonly manufactured monitor with pixels ordered under RGB while the other monitor has pixels under the order of BGR.

I am also aware that Windows has a component in the Control Panel called ClearType which can render text appropriately per subpixel order. However, ClearType only accommodates one order of subpixels or another but not both at the same time for different monitors with different orders. 

Chromatically aberrated, blurry, soft text is quickly fatiguing to read that impedes workflow.

Now, I am furthermore aware that this problem has been howled by countless people making countless threads so I would like to provide a ghetto solution in hopes that someone will take kindness to my efforts to provide a real solution.

Solution: First, identify your monitor's subpixel order. Visit this site: http://www.lagom.nl/lcd-test/subpixel.php. Then, flip your BGR monitor upside down and have it mounted on a third party VESA stand or wall mount the sucker to your wall. In your graphics options, flip the image upside down. Boom, your BGR pixels are now RGB subpixels. 

Unfortunately, I can't do this. I need one monitor for multiple sources that cannot flip the image. The one monitor that I can flip upside down and mount to a wall is the only monitor that can accept multiple sources. The other monitor has only one Display Port port and cannot be mounted.

My question to anyone who is willing to hear my cries is this: How can I get these damn monitors to both display crisp, clear text through software and software only. 

difference between LDAP and Operation master role

Can someone explain what is difference between LDAP and operation masters. As I know both perform the same job


Reply:

No.  Thet do not "perform" any jobs.An "Operations Master" is a role of an AD instance.  LDAP is a protocol.

I recommend looking up both definitions and reading about what they are as the fastest way to understand.

In any case this is not a scripting issue.  Start by reading a book or taking a course on AD.  It will explain all of these terms.


\_(ツ)_/


------------------------------------
Reply:

I search alot in internet but couldnt pick the point 

will you recommend any site or book on AD

Thanks


------------------------------------
Reply:

------------------------------------
Reply:

Some quick definitions in an AD glossary Wiki:

LDAP

Fexible Single Master Operator

Each entry has further links for more information. An overview Wiki article on Active Directory is here:

Active Directory Domain Services (AD DS) Overview

Note the section on LDAP.


Richard Mueller - MVP Directory Services


------------------------------------
Reply:

Hello KhanKhan,

Please find the brief difference below:

LDAP

The Lightweight Directory Access Protocol (LDAP) is a directory service protocol that runs on a layer above the TCP/IP stack. It provides a mechanism used to connect to, search, and modify Internet directories. The LDAP directory service is based on a client-server model.

Purpose
 
The data model (data and namespace) of LDAP is similar to that of the X.500 OSI directory service, but with lower resource requirements. The associated LDAP API simplifies writing Internet directory service applications.
 
Where applicable
 
The LDAP API is applicable to directory management and browser applications that do not have directory service support as their primary function. Conversely, LDAP is neither applicable to creating directories, nor specifying how a directory service operates.

Operations Master

Active Directory Domain Services (AD DS) defines five operations master roles: the schema master, domain naming master, relative identifier (RID) master, primary domain controller (PDC) emulator, and infrastructure master.

https://technet.microsoft.com/en-us/library/cc779716(v=ws.10).aspx

----------------------------------------------------------------------

Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts @ Techrid.com


  • Edited by Praveen Eppili Saturday, September 19, 2015 3:08 PM Corrections

------------------------------------
Reply:

will I be right If i say LDAP actually uniquely Identify the object using cn name

and ldap is protocol which is used by operation masters


------------------------------------

No comments:

Post a Comment

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...