Hi All.
I have created all the necessary accounts and also given admin access to all the farm servers and also to the DB. Whenever i try to execute the config task, i get the below error, pls suggest.
this is for SCOM 2012 R2.
The Event Policy for the process started at 3:25:03 PM has detected errors in the output. The 'StdErr' policy expression:
.+ matched the following output:get-executionpolicy : The term 'get-executionpolicy' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:7
+ $ep = get-executionpolicy; if ($ep -gt 'RemoteSigned') {set-executionpolicy
remo ...
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (get-executionpolicy:String) [],
CommandNotFoundException
+ Fully
Command executed: "C:\Windows\system32\cmd.exe" /c powershell.exe -NoLogo -NoProfile -Noninteractive "$ep = get-executionpolicy; if ($ep -gt 'RemoteSigned') {set-executionpolicy remotesigned} & '"E:\Program Files\Microsoft
System Center 2012 R2\Operations Manager\Server\Health Service State\Monitoring Host Temporary Files 12\5617\AdminTask.ps1"' 'Microsoft.SharePoint.Foundation.Library.mp.config'"
Working Directory: C:\Program Files\System Center Management Packs\
One or more workflows were affected by this.
Workflow name: Microsoft.SharePoint.ConfigSharePoint
Instance name: Microsoft SharePoint Farm Group
Instance ID: {6CB0A80D-D833-26EA-13C1-0CA48A57F5E2}
Management group: IMSBLR
Error Code: -2130771918 (Unknown error (0x80ff0032)).
- Edited by Sameer_SCCM_SCOM 2 hours 58 minutes ago