ConfigMgr 2012 SP1 module on runbooks servers

Let me come out the gate stating I am very new to Orchestrator and somewhat new to powershell.
I want to start testing the ConfigMgr SP1 cmdlets via runbooks.  I found a blog that shows some gotchas on how to run the .Net script action which is great, however all the examples I see show importing the module from an installed management console
directory.
I am assuming that when I run a runbook that needs to reference Configmgr cmdlets that the module must imported from a local path on the runbook server(s) itself.  I am really hoping that this doesnt mean I have to install the SCCM 2012 SP1
admin console on my Orchestrator Runbook Servers?
Am I just missing something obvious here?  I tried copying the entire bin directory that contains the psd1 and all the associated dll's, etc. to another machine and importing the module, but unfortunately it fails with:
Import-Module : The 'C:\tmp\SCCMPowershell\ConfigurationManager.psd1' module cannot be imported because its manifest co
ntains one or more members that are not valid. The valid manifest members are ('ModuleToProcess', 'NestedModules', 'GUI
D', 'Author', 'CompanyName', 'Copyright', 'ModuleVersion', 'Description', 'PowerShellVersion', 'PowerShellHostName', 'P
owerShellHostVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture', 'RequiredModules', 'TypesToProc
ess', 'FormatsToProcess', 'ScriptsToProcess', 'PrivateData', 'RequiredAssemblies', 'ModuleList', 'FileList', 'Functions
ToExport', 'VariablesToExport', 'AliasesToExport', 'CmdletsToExport'). Remove the members that are not valid ('HelpInfo
URI'), then try to import the module again.
At line:1 char:14
+ Import-Module <<<<  .\ConfigurationManager.psd1
    + CategoryInfo          : InvalidData: (C:\tmp\SCCMPowe...ionManager.psd1:String) [Import-Module], InvalidOperatio
   nException
    + FullyQualifiedErrorId : Modules_InvalidManifestMember,Microsoft.PowerShell.Commands.ImportModuleCommand
Can someone point me in the right direction?
Thanks!!

So I partly answered my own question.  The above error message was due to having Powershell 2.0 on the test machine and not 3.0 which is required.  I updated the powershell version and was able to import without error (and without installing the
full admin console).
So I guess my question then comes down to what is the best practices for things like this?  Certainly do not want to install admin consoles for every SC product on my runbook servers.  It appears that with SCCM I can simply create a directory (standard
on all runbook servers of course) and copy the files there and import from that location.  is that the preffered method for handling this?
Thanks!!

Similar Messages

  • Failed to resume task sequence / ConfigMgr 2012 SP1 vs. R2

    We have two configMgr environment at customers place.  A Lab Environment and production Environment. Till July 2014 both environment were at the same Version level (ConfigMgr 2012 SP1).
    We create the WIM-Image in LAB to use this WIM in the production. There were no problems till yet. Some months before we updated our
    LAB to ConfigMgr 2012 R2 CU2. The Production is still
    ConfigMgr 2012 SP1 CU3. Now if we create a new image in our LAB we can't use this Image in Production.
    OSD ends after 'Setup Windows and ConfigMgr' step. There is an error:
    Can't we use an captured Image from a ConfigMgr 2012 R2 environment in a ConfigMgr 2012 SP1 environment?

    I am not 100% if this is really supported (even if the versions were equal). I've seen situations where you can still see references to the MP and sitecode of the test environment when having a close look at the logs (although it did not cause real issues).
    Torsten Meringer | http://www.mssccmfaq.de

  • Novell GINA removed after R2 upgrade to ConfigMgr 2012 SP1 client

    I am working with a customer and we just noticed an issue when upgrading some of their SCCM 2012 SP1 clients to R2.  After the upgrade, everything appears to work fine, but as soon as a restart happens, the Novell GINA is replaced by the Windows GINA. 
    These machines were running Windows XP SP3 with Novell Client 4.91 SP5.  This did not occur when installing the ConfigMgr 2012 SP1 client originally, but appears to happen every time when the ConfigMgr client is upgraded to R2.  I wouldn't have
    thought the ConfigMgr 2012 R2 client upgrade would have anything to do with the GINA, but we can replicate the issue. 
    It's not due to Windows Updates getting installed in the background while the client is temporarily unmanaged, which was my initial thought.  We ensured the policy to disable Windows Updates was correctly in place and that no updates were installed. 
    The only fix so far is to completely remove the Novell client and reinstall it. 
    Has anyone else run in to this?
    Thanks!

    Yes, I have seen this when we took over a group that had Novell. It was ConfigMgr 2007 at the time.  We only had to keep Novell long enough to completely remove it later.  So your process is correct. 
    http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com

  • Leave Data Drive (D:) Untouched During Rebuild In ConfigMgr 2012 SP1 Task Sequence

    Windows Server 2008 R2, ConfigMgr 2012 SP1
    I'm looking for a way to put logic on a Task Sequence that will only format/wipe the OS partition during a rebuild i.e. leave the Data Partition (D: drive) untouched.
    I have removed "Format And Partition Disk" task then which
    option should be selected in "Apply operating system images" task.
    SourabhR

    Thanks Peter, Its worked for me :)
    After proceeding with this approach got another block.
    how could i avoid such cases as shown below where another partition is available before the boot partition. According to
    Next available formatted partition option,highlighted partition will be wiped and will get the OS.
    Is there any way like preflight checks (TS variable or wmi queries,conditions),so i can avoid this type of scenarios.
    SourabhR

  • SCCM 2012 SP1 - How many servers do I need?

    I'm planning a SCCM test environment using SCCM 2012 SP1 with the goal of using DCIP 3.1. DCIP 3.1 only supports up to SCCM 2012 SP1. I'm new to SCCM and I'm planning to follow Kevin Holman's ConfigMgr 2012 SP1 -QuickStart deployment Guide (Sorry, I can't
    post links on the forum yet.)
    I'm using a virtual environment to build this out so I can create more machines as needed.
    In the guide two systems are used, DB3 and CM1 each with designated services. Could those services be safely installed on one machine instead of two? Why choose to split the SQL and Database Services, from the Primary Site Server, Management Server, and Web
    Console Server?
    Thank you!

    For a lab and most small(ish) production sites you can get away with 1 server.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • SCCM 2012 SP1 - Multiple SUP - common WSUS DB

    Hello,
    Is it supported / recommend to share a common WSUS DB for multiple WSUS / SUP roles ?
    If yes, how to perform a clean deployment of additional SUP dealing with additional KB requirements.Following article explains the problem but the solution looks very complex: http://scug.be/sccm/2012/10/03/configmgr-2012-sp1-installing-multiple-software-update-points-per-single-primary-site-and-use-a-single-shared-wsus-database-on-your-sql-cluster/
    I tried to test this procedure in my test environment but it broken WSUS and now refuse to sync with Microsoft (can't establish SSL connection).
    I have not been able to find any official Microsoft setup guide for this ?
    As an alternative, is it possible to sync additional SUP as downstream servers with the first one. I ask for this because I use SCUP, and I don't want to maintain multiple WSUS environment.
    Regards.

    Hi.
    We have the same problem with our WSUS 3.0 SP2 installation, when I install WSUS on an SCCM 2012 server in the "Secondary Site".
    That server is in a different domain (one way Trust); but I have Logged On to that server with an specific account from the Top Domain that has Owner rights on the excisting DB). The Installation connect's succcesfully to the DB, and on the
    Next Window I get the error "The existing DB is not compatible with this version of Windows Server Update Services 3.0 SP2"
    The first two Wsus Installations  in the "Top" domain worked just fine.
    Anyone an idea?

  • Options for monitoring health of SCSM 2012 SP1 using SCOM 2012 SP1

    Hi,
    I've done some research on how to monitor SCSM using SCOM (version 2012 SP1 for both) and found two options:
    Option 1 - Agent-based monitoring. With SCSM2012 SP1, it looks as though the agent is
    already present (for upgrades and also for fresh installs). So it follows that SCOM will be able to monitor the health of SCSM.
    Option 2 - Agentless monitoring. On the Technet
    download page, 'System Requirements' section indicates compatibility with SCOM 2012 and above, and SCSM 2012 and above. Details tab says the following (emphasis mine):
    This System Center Management Pack for System Center 2012 - Service Manager should be used to monitor
    System Center 2012 - Service Manager, System Center 2012 R2 - Service Manager
    and includes monitors for the management server as well as the Data Warehouse server. In this release of the management pack, the Data Access Service, Health Service, Configuration Service, and workflows are monitored.
    So it looks like both options are viable, but I'd be interested in hearing other people's experiences of using one vs. the other. Is there any major difference in the information that's provided by agentless vs. agent-based monitoring, or are they just two
    different ways of pulling the exact same information into SCOM?
    Edit: Just occurred to me that SP1 isn't explicitly mentioned in the Technet article linked above under option 2. Has anyone successfully used agentless monitoring on SP1?

    Hi,
    Here is a related blog for your reference.
    SCSM 2012 SP1 (Beta) – Monitoring Management Servers with SCOM 2012
    http://marcelzehner.ch/2012/09/29/scsm-2012-sp1-beta-monitoring-management-servers-with-scom-2012/
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Does Powershell 3.0 / Wmf 3 runs flawlessly with SCCM 2012 SP1

    Hi the title says it all:
    Does Powershell 3.0 / Wmf 3 runs flawlessly with SCCM 2012
    SP1?
    Thanks, Rob

    Hi Rob,
    WMF3 is required for ConfigMgr 2012 SP1:
    http://support.microsoft.com/kb/2801416
    (I posted the same link in your thread in the PowerShell forum).
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • SCOM 2012 SP1 UR4 management servers grey state

    Hi,
    My SCOM environment is made up of the below :-
    SCOM 2012 SP1 UR4.
    3 SCOM Management Servers all on Windows 2008 R2 SP1.
    Shared SQL 2008 cluster with 2 Windows nodes also on same OS.
    Just recently all our SCOM management servers have been flipping in and out from grey to green state.  Gateways/agents all look ok as showing green.  Alerting from agents appears normal as can see lots of them in console.
    Have flushed the health state cache folder on all 3 SCOM MS's and still the same issue.
    Appreciate any help on this one.

    Event id: 7011 - Was your server recently patched (Installed by any automatic updates) ?
    IS SCCM Configured in your MS? If Yes disable and check?
    Is Windows update service running ? Stop if for one or two days and check if this issue still appears
    Reference threads:
    http://social.technet.microsoft.com/Forums/en-US/b86e5a3d-0c2e-4d5e-9d3d-905da91fc982/scom-2012-event-id-7011-service-control-manager-error-when-fep-definition-updates-apply?forum=configmanagersecurity
    http://stefanroth.net/2012/09/26/scom-2012-event-id-7011-service-control-manager-error/
    Solution also available in: http://technet.microsoft.com/en-us/library/cc756319(v=ws.10).aspx
    ===========================================
    For Event id 20026 - 
    1. Does your Operationsmanager database have enough space ? Check that first.
    What is you DB size ?
    How much is the free space left ?
    2. Was there any resent change in the SCOM Action accoutn password ? Or has the password expired. Try re entering the SCOM Action password by re directing your self to Administration tab --> Run as Config -- > Accounts --> SCOM Action account.
    The description would be - This is the user account under which all rules run by default on the agent.
    Right click and go to properties and re enter the account name and password there and check.
    Refer the below screen shot
    Check this article as well:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/102d443c-db0e-4bf2-b0d6-31d7f9328537/all-agents-greyed-out-multiple-event-errors-with-ids-20026-20028?forum=operationsmanagergeneral
    ============================================
    Event id : 11904 - As per my knowledge appears due to incorrect Alrting string display name selected in any Rule or monitor.
    Also the description what you pasted in Event id : 11904 says Microsoft.SystemCenter.HealthService.ActionAccountConfigured.Error as highlighted below.
    Suggest to re enter the action account password and tell the results.
    Also is the Healthservice on the MS running using System account or Domain account ?
    =================================================================
    Description : The Microsoft Operations Manager Expression filter Module failed to query the delivered item, item was dropped.
    Property Expression: Reachability/State
    Error : 0XC00EE22
    One or more workflows were affected by this. Workflow
    name: Microsoft.SystemCenter.HealthService.ActionAccountConfigured.Error
    Gautam.75801

  • Manage DPM servers, running DPM jobs, etc from SCOM 2012 SP1

    Hi,
    Little background about our systems.
    We have a dedicated SCOM 2012.
    We have 22 DPM servers, DPM 2010 and DPM 2012 (we are upgrading to 2012 SP1, we have customers that still using Windows 2003 servers) to be managed by SCOM
    We have a few DPM servers that are not located on the same domain as the SCOM server (untrusted domain).
    Some problem we have
    1. When we try to manage the DPM servers from the SCOM server.
    From SCOM 2012 server I can “Manage DPM server” that are located in our domain but I cannot manage DPM servers located on untrusted domains (customer’s domains). I receive the below error message
    "Unable to connect to <untrusted domain DPM SERVER> ID: 948
    Verify that the DPM service is running on this computer"
    I guess it’s because the account that I’m using to run SCOM server located in our domain and does not have the permission to open the DPM console on the untrusted domain. So I wonder if it is possible to use “RUN AS profiles/accounts”
    to solve this issue, and how?
    2. I have installed SCOM 2012 Operations Manager Console on my computer and then installed DPM Central Console.
    When I select one dpm server (from my computer), that is on our domain, and then click “Manage DPM server” I got this error message
    "Unable to connect to <our domain DPM SERVER> ID: 33333
    1. Verify that the DPM service is running on this computer (YES)
    2. Verify that the current user has been added to at least one of the roles in Operations Manager. (YES)
    3. Open Operations Manage console and then try launching the DPM Console (THAT IS WHAT I AM TRYING TO DO)
    4. If you have re-imported the management pack recently, the role configuration may be corrupt. Open the DPM-specific roles and check if the roles have task assigned to them. If not, delete the roles and recreate the...."
    When I click on “Get more information” I get this error message.
    "You don´t have access permission to connect to the System Center Data Access service on <SCOM SERVER>. Please check if it is a permission issue".....
    Do you know why I cannot connect to any DPM server on our own domain?
    Why do I get access permission error on my computer but not on the SCOM server (using the same account)?
    What should we do to be able to connect to DPM servers that are on untrusted domain?
    3. Is it possible to see Last Recovery Point date/time in SCOM alerts?
    For me it is the first thing I look at. If it has failed 10 min ago it is not critical.
    But if it is a date and time more than 1 day old, then it is critical.
    I hope someone can help us with this
    Br
    SvBoho

    Hi,
    To manager DPM, I think we may need to add the account to local admin group of the DPM server.
    In addition, to connect to DPM the user needs permissions to DPM/SQL Server DPMDB.
    For your DCs, have your enabled agent proxy option? If not, please enable that option for all DCs.
    To monitor DPM with SCOM, please also go through the below links:
    http://kevingreeneitblog.blogspot.com/2011/10/managing-and-monitoring-system-center.html
    http://damatisystemcenter.com/2013/10/14/monitor-data-protection-manager-2012-using-scom-2012-sp1/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    Yan Li
    Regards, Yan Li

  • ConfigMgr 2012 R2 client on Windows 7 SP1 x86 causes "Program Compatibility Assistant" to appear

    After I upgraded to R2 I am seeing the message below on newly installed Windows 7 SP1 x86 machines when I go to Control Panel and open the Configuration Manager Properties and then close it. This seems to only happen on 32-bit Win7 not on 64-bit.
    I have created a new package for the client from definition and I also tried building new images using my Build and Capture task sequences. In this case I get the same message on the x86 Windows 7 SP1 machine if I log on after the Build & Capture is
    done. My Build And Capture sequences uses the RTM-image for Windows 7 SP1 that has been patched using Offline Servicing.
    Has anyone else seen this? Everything is working normally on the clients and if I click "This control panel works correctly" the message goes away. However, if I click "Open the control panel using recommended settings" that results in
    admin-rights being required to open the Configuration Manager Properties under the Control Panel.
    Regards,
    Carl

    I just pinged the product team and they are not aware of this issue at all so please someone open a support case with CSS where the issue can be worked.
    Jason | http://blog.configmgrftw.com
    I'll be opening a support case first thing monday :)
    Tim Nilimaa | Blog: http://infoworks.tv | Twitter: @timnilimaa
    Hi Tim
    How did you go with this? We're still seeing this issue migrating Windows 7 x86 machines from the ConfigMgr 2007 SP2 R3/ConfigMgr 2012 client to the ConfigMgr 2012 R2 client in multiple environments.
    Cheers
    Sam
    Ticket opened with Microsoft Support, still no fix but I will keep you all posted.
    Tim Nilimaa | Blog: http://infoworks.tv | Twitter: @timnilimaa

  • SCOM 2012 SP1- Getting Event ID 20070 on some agents and Event ID 200000 on management servers

    On a significant number of my 2012 SP1 Agents, I am getting the following Event IDs in my OperationsManager event log:
    20070
    The OpsMgr Connector connected to XXXXXX.domain.net, but the connection was closed immediately after authentication occurred.  The most likely
    cause of this error is that the agent is not authorized to communicate with the server, or the server has not received configuration.
    21006
    The OpsMgr Connector could not connect to XXXXXX.domain.net:5723.  The error code is 10060L(A connection attempt failed because the connected
    party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.). 
    21015
    OpsMgr was unable to set up a communications channel to XXXXXX.domain.net.  Communication will resume when XXXXXX.domain.net is available and
    communication from this computer is allowed. 
    On my various 2012 SP1 Management Servers, I am getting the following Event IDs in my OperationsManager event logs:
    20000
    A device which is not part of this management group has attempted to access this Health Service.
    Requesting Device Name: servername.domain.com
    Here are my settings and what I have tried:
    We have agents assigned by AD-integration, and they are receiving their proper assignment
    Agents are manually installed with SCCM 2012
    “Automatically approve new manually installed agents” is selected
    I have rebuilt the Health Service State folder and rebooted the service on the agent server
    I have rebuilt the Health Service State folder on my management server and rebooted it to reset all services
    On several agent servers that I am experiencing this issue, they are on the same network as their assigned management server, so there is no firewall issue.

    Hi,
    Here is a KB for your reference.
    Troubleshooting gray agent states in System Center Operations Manager
    http://support.microsoft.com/kb/2288515
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Orchestrator 2012 SP1 Runbook Redundnacy

    Currently we have a very basic environment, but we need to look at redundancy.  If I introduce a new runbook server into our environment in the event that one runbook server becomes unavailable,
    do the runbooks:
    1.) Continue to run?
    2.) Will they "failover" to the other runbook server
    3.) Will they "Failback"?
    Right now I am thinking about creating a custom integration pack to query the runbook servers and select one at random and set the runbook to run on that server, but to avoid unnecessary work
    I would like to find out if simply installing another server will automatically provide this.
    Thanks
    EFD
    If you're going to answer my question with pretentiousness or disrespect, move on to another question. I don't need your help. Thank you

    Hello,
    Runbook Server work in fail-over mode: If the Runbook Server with active Rubooks will have no connection to Orchestrator database the other one(s) will start this Runbooks from beginning.
    There is no "failback" unless the Runbook is restarted.
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • DPM 2012 SP1 4.1.3426.0 - CRASHES WHEN TRYING TO OPEN JOBS FILTERS

    I have 2 DPM 2012 SP1 servers and both are behaving the same.  They were working fine earlier this week and suddenly MMC crashes when I try to open any Job filter.  Everything else appears to be working fine except when I try to view any of the
    default Job filters or custom filters I created such as All Jobs or All Jobs in Progress.
    Description:
      AppName: mmc        AppVer: 4.1.3313.0    ModName: mmc.exe
    ModVer: 6.1.7600.16385        StackHash: E4489908
    Problem signature:
      Problem Event Name:    DPMException
      Application Name:    mmc
      Application Version:    4.1.3313.0
      Module Name:    mmc.exe
      Module Version:    6.1.7600.16385
      Exception Name:    System.ArgumentException
      Exception Point:    System.TimeZoneInfo.ConvertTime
      Other:    E4489908
      OS Version:    6.1.7601.2.1.0.274.10
      Locale ID:    1033

    http://social.technet.microsoft.com/Forums/en-US/cc576f9d-602b-4331-a745-e7bab12a24cf/dpm-console-crashes?forum=dataprotectionmanager
    https://blogs.technet.com/b/dpm/archive/2012/01/30/fix-the-dpm-console-crashes-and-logs-event-id-945-when-making-any-changes.aspx
    http://support.microsoft.com/kb/2905631/en-us
    http://scdpm.blogspot.ru/2011/12/dpm-console-crashes-on-recovery-tap.html
    Have a nice day !!!

  • Can I have an SCCM 2012 R2 server and a SCCM 2012 SP1 server in the same site?

    We are currently using SCCM 2012 SP1/MDT 2012 Update 1 to deploy Windows 7, and to migrate existing XP installs to Windows 7 (using the offline USMT functionality in MDT).  We are moving forward with Windows 8.1, and understand that
    we need to upgrade our SCCM infrastructure to SCCM 2012 R2/MDT 2013.  We also understand that this will cause us to lose the ability to migrate XP machines, since MDT 2013 uses a newer version of USMT that doesn’t support XP.
    What do we need to do to continue to support our XP migrations, and enable deployments of Windows 8.1?
    Can we have two SCCM servers in the same Site running different versions of SCCM? Do we need a separate site? 

    You don't explicitly need ConfigMgr 2012 R2 to support Win 8.1. SP1 CU3 will suffice although managing a few things like boot images is a little more difficult: http://blogs.technet.com/b/configmgrteam/archive/2013/10/21/how-to-enable-windows-8.1-deployment-in-sc-2012-configmgr-sp1-cu3.aspx
    You could create two separate site hierarchies, but that would be painful and involve tons of duplication. There would be other issues also if the systems are located on the same subnets and in the same AD forest.
    The best option is to get rid of XP. EOL is in less than 30 days!
    Next best is to stay on SP1 CU3 until you get rid of XP. I know that sucks, but keeping XP around is the root cause of this and many other coming issues in any organization wanting to keep it around.
    Jason | http://blog.configmgrftw.com

Maybe you are looking for

  • Time MAchine won't back up due to not enough space, but there is

    TIme Machine won't back up. Displays this: Actual capacity of the external backup drive is 999.68 GB and available is 135 gb . The imac internal HD capacity is 999.01GB and used space is 636.321 GB. This problem has occured periodically in the last 1

  • Display colors suddenly off - all black objects red or red glow

    Suddenly, display colors went off. The cursor arrow is now red. Script displayed on browsers is now black with red hue and overtone. Pictures all "glow" red where they are supposed to be black. I did consciously change any settings. Short of a "clean

  • Using IClusterInformation Interface to get the server node.

    Hi ,    I have created a portal application which contains an Abstract Portal Component to display the server node the user logs on. I have written the following code : IClusterInformation clusterContext = (IClusterInformation) PortalRuntime.getRunti

  • Microsoft Word crashes after upgrade to Mountain Lion

    I recently upgraded to Mountain Lion on my 2011 Mac Mini. Since the upgrade, microsoft word 2011 keeps crashing when trying to save a NEW document. It saves fine an existing document but would not save (or save as) a new document. I have also install

  • Customer Services module - error message no.IW295

    Hi experts Ithe following is an error related to Customer service module in SAP "Relevance to MRP set at 3, as order released or activated Message no. IW295" can any body get solution. thanks andregards DSR