Using Powershell in LiveCycle Workbench

Hello Everyone,
I am attempting to revamp a daily process that we do at my job. What I want to do is set up a workflow in workbench which will walk the user through the process step by step. As the user goes through the steps I want them to check the item off and then i want workbench to execute a powershell script or Batch file which will complete that part of the process. Once that script is run, the user can move on to the next step in the process. Is this something I can do? And if not can anyone recomend a software that can?
Thanks in advance,
sgarciacode

Hello Steve,
Yes sorry that is correct, I would be writing the process in workbench and the user would be using workspace. Thank you for the advice, I tried using that and the problem I am having is setting the directory that the .bat file is in. Can I run .bat files that are not on the LiveCycle Workbench Server? For example, I want to run a .bat file in another shared network drive.
Runtime.getRuntime().exec("C:\\Documents and Settings\\sgarciacode\\My Documents\\CONTROL.BAT");
When I try running this it uses the default workbench path. So when I try running this, it says that the file does not exist.
  String[] command = { "cmd.exe", "/C", "Start", "CONTROL.BAT" };
                Runtime r = Runtime.getRuntime();
                Process p = r.exec(command);
                p.waitFor();
Also I am not to familiar with the Webservice Foundation Service, could you please provide an example of how to use this or a link to where I could read more about it?
Thanks for the help.

Similar Messages

  • LiveCycle Workbench ES2 - "Java(TM) Platform SE binary has stopped working" Error

    Hi,
    I am getting this error when I try to create a new process o open an existing process.
    "Java(TM) Platform SE binary has stopped working"
    The only option is to click on a "Close" button and end the LC Workbench ES2 program.
    Also, when I try to open an existing form, it displays 'garbage' - a screenfull of control unrecognizable characters - instead of the form itself.
    When this error comes up, I also get a pop-up window with a list of log entries / errors (please see attached: Java Platform SE binary has stopped working.jpg)
    Environment:
    Windows Vista Ultimate running on HP Desktop (e9107c Intel CORE 2 Quad Processor withy 8 GB RAM, 750GB HDD)
    Downloaded and installed the Trial Version of LiveCycle ES2 package (Windows JBoss version)
    The LiveCycle ES2 server is installed properly and is working with the following services. Are there any missing services?
    LiveCycle Output ES2, LiveCycle Rights Management ES2, LiveCycle PDF Generator ES2 Evaluation, LiveCycle Process Management ES2, LiveCycle Workspace ES2, Applications and Services, LiveCycle ContentServices ES2, LiveCycle Forms ES2
    I already had Adobe Acrobat Pro Extended 9.2 and the associated LiveCycle Designer instaleld prior to installing the Trial of LC ES2.
    Basesd on the installation insttructions, I deleted the Designer ES from my Acrobat Pro Extended and instaleld the LC Workbench ES2.
    Now I don't see a seprate entry for the LC Designer ES2 anymore on my Start >> Programs.
    And th newly installed LC Workbench is not working
    Any help in making the workbench 'work' is greatly appreciated.
    Are there any tests we can do to troubleshoot this?
    Thanks.

    Here is some additional information that may be helpful in identifying the cause for this problem.
    Here is the Exact ERROR :
    Java (TM) Platform SE binary has stopped working
    A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution is available.
    Button: "Close Program".
    On clicking that button, the error window goes away; the main LC WB ES2 program also closes; but a long error window appears. The full screenshot was attached in my original message. The top few lines are reproduced below.
    JVMterminated. Exit code=255
    C:\Program Files (x86)\Adobe\AdobeLiveCycleWorkbench ES2\workbench\jre\javaw.exe
    -Xms128m
    -Xmx512m
    -XX:PermSize=256m
    -XX:MinHeapFreeRatio=40
    ========Here is teh cutrrent status ===================
    Adobe LiveCycle Designer ES2 is working properly: Good
    Adobe LiveCycle Workbench ES2 has ONE problem
    1. Program Starts properly
    2. I am able to login to the LCES2 server
    3. I am able to Browse and select sample projects
    4. I am ble to create an Application, a folder, and a Form
    5. I am able to invoke the LC Designer ES2  from within Workbench (while creating a form)
    6. I am able to "invoke" an existinmg sample process in a web browser (not within workbench environment)
    The main problem is...
    I am NOT able to create a new process or open existing process using workbench.
    Since it gives Java Platform SE error, I checked the versions of various Java Run Time Environments on my pc.
    Properties of javaw.exe in different folders:
    1. My Computer's JRE (common to all apps)
    Folder: Program Files\Java\jre6\bin\
    File Name: javaw.exe: Java Platform SE Binary
    Version: 6.0.170.4
    2. Adobe LiveCycleWorkbench ES2
    Folder: Program Files (x86)\Adobe\Adobe LiveCycleWorkbench ES2\jre\bin\
    File Name: javaw.exe: Java Platform SE Binary
    Version: 6.0.20.6
    2.1 Adobe LiveCycleDesigner ES2
    Folder: Program Files (x86)\Adobe\Adobe LiveCycleWorkbench ES2\LiveCycleDesigner ES2\jre\bin\
    File Name: javaw.exe: Java Platform SE Binary
    Version: 6.0.140.6
    2.2 workbench
    Folder: Program Files (x86)\Adobe\Adobe LiveCycleWorkbench ES2\workbench\jre\bin\
    File Name: javaw.exe: Java Platform SE Binary
    Version: 6.0.70.6
    I tried to use the same versions of JRE in all these folders; that didn't work..
    I hope someone can throw more light on this and find the real cause.
    Thanks a lot in advance!

  • Adobe LiveCycle Workbench -- How to generate XML from SQL Server 2008 R2

    Hello,
    Please let me know if anyone has the solution to generate XML in adobe livecycle workbench and generate a dynamic PDF form using that XML.
    Regards,
    Himanshu

    Yes, XML could be generated as here : http://www.adobe.com/devnet/livecycle/articles/building-xml.html
    You can merge this XML with the form template and generate the form.
    Hope this helps.
    Thnaks,
    Wasil

  • What is the right Community for Questions about Adobe LiveCycle Workbench?

    We purchased Abode LiveCycle Premium Print. It included a product called StreamServe which we planned to use to merge xml templates, data, and call a StreamServe webservice to generate a pdf file. It seems theStreamServe webservices are not up to that job but I suspect that Abode LiveCycle Workbench may be able to do what we want.
    Bottom line: I can't determine the proper community\newsgroup to send the above issue to. Help!
    Bill

    <moved from Adobe Creative Cloud to LiveCycle Workbench>

  • LiveCycle Workbench ES2 keeps freezing up

    I have Adobe LiveCycle Workbench ES2 Version: 9.5.0.0.20100908.1.247189 installed on a 64-bit Windows 7 machine with 8GB of RAM and it has been getting really bad about freezing up. At first, it would just get hung up every once in a while, but now it freezes practically every time that I make a process change. My sole job is using Workbench, so this problem is seriously decreasing my productivity. Does anyone know what the problem may be? When it get non-responsive and I have to force quit the application, I see the following stack trace:
    JVM terminated. Exit code=-805306369
    C:\Program Files (x86)\Adobe\Adobe LiveCycle Workbench ES2\workbench\jre\bin\javaw.exe
    -Xms128m
    -Xmx512m
    -Xss2m
    -XX:MaxPermSize=256m
    -XX:PermSize=64m
    -XX:MinHeapFreeRatio=40
    -Dcom.adobe.workbench.ape.rtmp.endpoint=rtmp://localhost:2048
    -Dcom.adobe.connection.compatibilitycheck.disable=false
    -Dcom.adobe.process.editors.designer.antialias=true
    -Dcom.adobe.process.editors.source=false
    If anyone has any ideas why this may be happening, please let me know. If you need more information about my installation, just ask.
    Thanks.

    Try to increase the workbench memory management settings:
    Goto:
    C:\Program Files\Adobe\Adobe LiveCycle Workbench ES2\workbench\workbench.ini
    Change the 3rd and 4th lines to below:
    -Xms256m
    -Xmx1024m
    Hope it helps.
    Han

  • Using Powershell Script Run simple query in MS Access 2007 and export the results of query to Excel

    Hi Experts,
    I have a Access 2007 DB file and 2 Big tables inside that (bigger than the size that can be easily handled by MS Excel 2007).
    My requirement is automate using powershell scripts the below things.
    1. Create a SQL query in Access DB and save that in access DB
    2. Run the saved query and export the result in excel sheet where I can create the charts and Pivots. Thanks in advance
    Prajesh

    Do you have to use the Access query, couldn't you just recreate the query in Powershell?  Here's a link with good info that references an existing script for querying an Access database:
    http://blogs.technet.com/b/heyscriptingguy/archive/2009/08/13/hey-scripting-guy-can-i-query-a-microsoft-access-database-with-a-windows-powershell-script.aspx
    Once you have your dataset you can pipe it to
    Export-Csv -NoType c:\pathtofile\output.csv

  • Create SharePoint 2010 Search Service Application Using Powershell

    Hi Team,
    Could you please assist me in completing the search service application for
    two server using powershell. Both the servers will be running all the component
    Version SharePoint 2010
    # 1.Setting up some initial variables.
    write-host 1.Setting up some initial variables.
    $SSAName = "Search Service Application"
    $SVCAcct = "Domain\ServiceAccount"
    $SearchAppPoolName ="DefaultAppPool"
    $SSI = get-spenterprisesearchserviceinstance -local
    $err = $null
    $SSADBName="Search_AdminDB"
    $SSADBServer="DBServer"
    $host1="Server1"
    $host2="Server2"
    # Start Services search services for SSI
    write-host Start Services search services for SSI
    Start-SPEnterpriseSearchServiceInstance -Identity $SSI
    # 2.Create an Application Pool.
    write-host 2.Create an Application Pool.
    #$AppPool = new-SPServiceApplicationPool -name $SSAName"-AppPool" -account $SVCAcct
    $AppPool = Get-SPServiceApplicationPool -Identity $SearchAppPoolName -ErrorAction SilentlyContinue
    # 3.Create the SearchApplication and set it to a variable
    write-host 3.Create the SearchApplication and set it to a variable
    $SearchApp = New-SPEnterpriseSearchServiceApplication -DatabaseServer $SSADBServer -Name $SSAName -applicationpool $AppPool -databasename $SSADBName
    #4 Create search service application proxy
    write-host 4 Create search service application proxy
    $SSAProxy = new-spenterprisesearchserviceapplicationproxy -name $SSAName"ApplicationProxy" -Uri $SearchApp.Uri.AbsoluteURI
    # 5.Provision Search Admin Component.
    write-host 5.Provision Search Admin Component.
    set-SPenterprisesearchadministrationcomponent -searchapplication $SearchApp -searchserviceinstance $SSI
    # 6.Create a new Crawl Topology.
    write-host 6.Create a new Crawl Topology.
    $CrawlTopo = $SearchApp | New-SPEnterpriseSearchCrawlTopology
    New-SPEnterpriseSearchCrawlComponent -SearchTopology $newTopology -SearchServiceInstance $hostA
    Source:blog.MSDN Author- Russ Maxwell
    Thanks Basva

    Could you please assist me in completing the search service application for
    two server using powershell. Both the servers will be running all the component 
    Hi Basva,
    Do you want to provision two search service applications in single farm?
    Commonly, only one search service application is needed in a farm for Search function.
    Here are articles for detail information about how to provision search service application using powershell:
    http://blogs.msdn.com/b/jjameson/archive/2011/02/28/powershell-script-to-configure-search-in-sharepoint-server-2010.aspx
    http://blogs.msdn.com/b/russmax/archive/2009/10/20/sharepoint-2010-configuring-search-service-application-using-powershell.aspx
    Regards,
    Rebecca Tu
    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
    [email protected]

  • Not able to set security group without mail enabled as site collection admin using powershell in sharepoint online site - office 365

    not able to set security group without mail enabled as site collection admin using powershell in sharepoint online site - office 365?
    Any idea?

    after few days test in my lab, I can see that only email enabled group can be added as site collection admin using POWERSHELL.
    hope this helps who stuck like me!! :-)

  • Changing a SQL Report server Database to a new One Using Powershell script

    Hi,
    I have an existing report server (Native Mode) and a pre-configured report server database. I have created a new database and want to assign it new report server database. How can i automate this process using powershell?
    Here is the detail requirement
    If there is a Report Server database seeded on the xxxxx server, follow the below steps:
    ◾Click the Database button on the left. Click on the Change Database button, choose option Choose an existing report server database. Enter the RPT server name (e.g. xxxxxx) in Server Name text box and click Next.
    ◾In the Report Server Database selection, select the ReportServer database. Then click next button to complete the process.
    Any help in this regard will be very much helpfull.
    Sushruta Banerjee

    Hi Sushruta,
    To query export from Report server Database, the scripts below may be helpful for you:
    Export RDL Files from ReportServer Database with PowerShell
    SQL Database Reports with PowerShell
    I hope this helps.

  • Automation of SPLA Report using PowerShell

    Hi,
    I am reposting this question in this forum on the suggestion of an experienced exchange mvp, earlied posted in Exchange 2013 forum.
    We want to automate SPLA report creation using PowerShell for Exchange 2010 and 2013, I mean
    the report for Microsoft Service Providers License Agreement Program, which Service providers have to generate every month and have to submit to Microsoft.
    Can somebody guide us, as we could not find any helpful online resource.
    Thanks in anticipation.
    Regards, David Johnson

    That reads like a hosting question to me, and hosters know best about that.  If I were a moderator, I'd move this thread for you, but I'm not so I recommend you post in the Exchange for Hosters forum:
    http://social.technet.microsoft.com/Forums/en-US/exchange2010hosters/threads
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Creating a Scheduled Task using PowerShell v4

    So here is my question.  I'm trying/wanting to create a scheduled task using PowerShell v4 on Server 2012R2.  I want to task to run on the 1st day of every month.  The parameter for -Monthly -Day is not available.  I need to use PowerShell
    to create the Scheduled Task because the Task will be running with a group Managed Service Account credentials so the Scheduled Task can not be created via the Task Scheduler GUI.
    Thanks in Advance

    Here is a functioning task It can be easily edited in PowerShell or in notepad to alter the timing
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.1" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
    <RegistrationInfo>
    <Author>W8TEST\user01</Author>
    </RegistrationInfo>
    <Triggers>
    <CalendarTrigger>
    <StartBoundary>2014-06-04T21:31:32.0459499</StartBoundary>
    <Enabled>true</Enabled>
    <ScheduleByMonth>
    <DaysOfMonth>
    <Day>1</Day>
    <Day>12</Day>
    <Day>24</Day>
    </DaysOfMonth>
    <Months>
    <January />
    <February />
    <March />
    <April />
    <May />
    <June />
    <July />
    <August /
    <September />
    <October />
    <November />
    <December />
    </Months>
    </ScheduleByMonth>
    </CalendarTrigger>
    </Triggers>
    <Principals>
    <Principal id="Author">
    <RunLevel>LeastPrivilege</RunLevel>
    <UserId>W8TEST\jvierra</UserId>
    <LogonType>InteractiveToken</LogonType>
    </Principal>
    </Principals>
    <Settings>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <IdleSettings>
    <StopOnIdleEnd>true</StopOnIdleEnd>
    <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
    </Settings>
    <Actions Context="Author">
    <Exec>
    <Command>notepad.exe</Command>
    <Arguments>test.txt</Arguments>
    <WorkingDirectory>c:\temp</WorkingDirectory>
    </Exec>
    </Actions>
    </Task>
    I have edited and reloaded the XML many, many times.  It works very nicely.
    ¯\_(ツ)_/¯

  • How to add a certificate to IIS global "Server Certificates" list using PowerShell?

    Hi, been surfing the web for an example on how to add a certificate to the "global" IIS "Server Certificates" list using PowerShell but to no luck. I already have code in place on how to tie / associate a specific website with a specific cert but not how
    to add the new .cer file using the "Complete Certificate Request..." wizard using PowerShell.... I dont expect the final code to become published but if someone had an idea on howto integrate / get an entry point on where to interact between the "Server Certificate"
    list in IIS and POSH I would be super happy! :|
    I am runnign IIS on a Windows 2008R2 x64 Standard Edition if that helps..... of course, I would saddle for an CLI if there is no other way, but POSH is of course the way to go! :)
    Thanks for the help in advance guys, take care!
    br4tt3

    Hi and thanks for the suggestions!
    Although it comes close, the suggested code example points on howto import / incorporate .pfx files - I am getting fed by .cer files which I need to add into the IIS console using POSH.
    I tried explore the IIS.CertObj object but was not able to work out if this one could be used for importing / adding .cer files into IIS! However, launching the following command from a POSH console with Import-Module Webadministration already
    loaded into that shell;
    $certMgr = New-Object -ComObject IIS.CertObj returns the following error message:
    New-Object : Cannot load COM type IIS.CertObj
    From an IIS perspective I have the following components installed;
    [X] Web Server (IIS)                                    Web-Server
        [X] Web Server                                      Web-WebServer
            [ ] Common HTTP Features                        Web-Common-Http
                [ ] Static Content                          Web-Static-Content
                [ ] Default Document                        Web-Default-Doc
                [ ] Directory Browsing                      Web-Dir-Browsing
                [ ] HTTP Errors                             Web-Http-Errors
                [ ] HTTP Redirection                        Web-Http-Redirect
                [ ] WebDAV Publishing                       Web-DAV-Publishing
            [X] Application Development                     Web-App-Dev
                [ ] ASP.NET                                
    Web-Asp-Net
                [X] .NET Extensibility                      Web-Net-Ext
                [ ] ASP                                    
    Web-ASP
                [ ] CGI                                    
    Web-CGI
                [ ] ISAPI Extensions                        Web-ISAPI-Ext
                [ ] ISAPI Filters                           Web-ISAPI-Filter
                [ ] Server Side Includes                    Web-Includes
            [ ] Health and Diagnostics                      Web-Health
                [ ] HTTP Logging                            Web-Http-Logging
                [ ] Logging Tools                           Web-Log-Libraries
                [ ] Request Monitor                         Web-Request-Monitor
                [ ] Tracing                                
    Web-Http-Tracing
                [ ] Custom Logging                          Web-Custom-Logging
                [ ] ODBC Logging                            Web-ODBC-Logging
            [X] Security                                   
    Web-Security
                [ ] Basic Authentication                    Web-Basic-Auth
                [ ] Windows Authentication                  Web-Windows-Auth
                [ ] Digest Authentication                   Web-Digest-Auth
                [ ] Client Certificate Mapping Authentic... Web-Client-Auth
                [ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth
                [ ] URL Authorization                       Web-Url-Auth
                [X] Request Filtering                       Web-Filtering
                [ ] IP and Domain Restrictions              Web-IP-Security
            [ ] Performance                                 Web-Performance
                [ ] Static Content Compression              Web-Stat-Compression
                [ ] Dynamic Content Compression             Web-Dyn-Compression
        [X] Management Tools                                Web-Mgmt-Tools
            [X] IIS Management Console                      Web-Mgmt-Console
            [X] IIS Management Scripts and Tools            Web-Scripting-Tools
            [ ] Management Service                          Web-Mgmt-Service
            [ ] IIS 6 Management Compatibility              Web-Mgmt-Compat
                [ ] IIS 6 Metabase Compatibility            Web-Metabase
                [ ] IIS 6 WMI Compatibility                 Web-WMI
                [ ] IIS 6 Scripting Tools                   Web-Lgcy-Scripting
                [ ] IIS 6 Management Console                Web-Lgcy-Mgmt-Console
        [X] FTP Server                                      Web-Ftp-Server
            [X] FTP Service                                 Web-Ftp-Service
            [X] FTP Extensibility                           Web-Ftp-Ext
        [ ] IIS Hostable Web Core                           Web-WHC
    More or less the one thing that I am trying to get up and running is an automated FTPS solution - I just use the IIS console to be able to troubleshoot / compare how things scripted from POSH interacts in the MMC representation. The error I am getting
    might be that I am lacking some IIS components to be in place to be able to automate some parts of the IIS - as suggested by the IIS.CertObj object listed in the example..... I will get back if I can track down which component needs to be added to be
    able to reference the IIS.CertObj object.
    Br4tt3 signing out...
    br4tt3

  • How can I assign an icon to a folder using Powershell?

    How can I assign an icon to a folder using Powershell?

    I'm trying to make a script that goes through a folder recursively, checks for every folder if it's name is "template", and if so it changes the icon of that folder to an icon
    I chose.
    I searched for an answer here, and I've only managed to find a way to assign an icon to a shortcut, but not to an existing file.
    Thanks in advance (:

  • How can I query a https website used to display the status of an application using Powershell?

    Need assistance on querying the status of an application using Powershell. The status of the application is displayed in a https website. I want to receive a notification when one of the listed applications fails.
    Below is an example the failures I need to capture.
    h-t-t-p-::://xpps2.xxcom/ssol/sSOLStatus.asp?autorun
    SSOL Status
    Current App Server: xpps2.xx.com
    SQL Server Details: 
    SSS_MyAccount DB Connection: PASS
    SSS_MyAccount DB Query: PASS
    CAGWEB DB Connection: FAIL - Unable to Connect
    CAGWEB DB Query: FAIL - Pay location not found
    DB2 Server Details:
    DB2 D Connection: PASS
    DB2 Q Query: FAIL -Acct not found
    DB2 X Query: PASS
    DB2 N Query: PASS
    DB2 S Query: PASS
    DB2 K Query: PASS
    DB2 I Query: PASS
    Mitem Server Details:
    MITEM server: MITEMP2
    MITEM Total Devices: 10
    MITEM Devices Lines Up: 10
    MITEM Devices Logged In: 10
    MITEM Devices In Use: 0
    Mitem Server Status: PASS
    Web Service Details:
    SAW Web Service Status: FAIL
    Maximo Vizcaino

    thats where you are going to check what it is supposed to be.
    lets say your page shows as SSOL Status : running  you
    probably want to use "if($totalstrng.ToLower().contains("ssqlL status
    : running"))". its
    checking if the html page contains the string you are looking for.
    you might want to print $totalstrng
    and see what you need to look for.
    usign XMLHttp
    or XML object  as mentioned by JRV might be easier and faster way.

  • How can I find what scom group a specific server belongs to using powershell?

    Environment:  SCOM 2007 r2
    Server in question:  Running Windows 2003 Std. (yes I know this sounds crazy)
    Why do I need this:  I noticed at the console level we have had server unexpected shutdown events which are not generating email notifications. 
    Source shows: Windows 2003 Server Standard Edition
    Alert Rule:  Windows Shutdown Unexpectedly
    From what I see these are all windows 2003 server Std edition systems.  I did a track and trace using our exchange tracking system which confirmed the alerts were not being emailed. Not sure if there is a better approach for this, but not being a sql
    expert (however I do have someone I can leverage) I am trying to see if I can somehow extract this information using powershell.
    Secondary general question:  How can I find out the current size of our scom 2007 database and the number of objkects\servers being monitored? This is prep work for a migration over to 2012.
    Thanks in advance for the help!

    1. what scom group a specific server belongs to
    function Get-GroupNames {
     [cmdletbinding()]
     param($computerFQDN)
     $containmentRel = Get-RelationshipClass -name:’Microsoft.SystemCenter.InstanceGroupContainsEntities’
    $computerClass = Get-MonitoringClass -name:”Microsoft.Windows.Computer”
    $criteria = [string]::Format(“PrincipalName = ‘{0}’”,$computerFQDN)
     try {
     $computer = Get-MonitoringObject -monitoringClass:$computerClass -criteria:$criteria
     $relatedObjects = $computer.GetMonitoringRelationshipObjectsWhereTarget($containmentRel,[Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth]::Recursive,[Microsoft.EnterpriseManagement.Common.TraversalDepth]::Recursive)
     catch {
     $_
     write-host “An error occurred while querying groups of $computerFQDN”
    foreach($group in $relatedObjects)
     [array]$Groups = $groups + $group.SourceMonitoringObject.DisplayName
     if($groups) {
     return $groups
     } else {
     write-host “No groups available for $computerFQDN”
    Usage:
     Get-GroupName -ComputerFQDN myserver1
    for detail, pls. refer to
    http://techibee.com/powershell/powershell-get-scom-groups-of-a-computer-account/1129
    Roger

Maybe you are looking for

  • How to create an iTunes account with no credit cards?

    according to this you can - http://support.apple.com/kb/ht2534 and i had done so before but now today the None selection is no longer there. whats the story?

  • How do I delete an old e-mail account from my Apple ID?

    When I purchased my iPad, I registered with an old y-mail account and a backup e-mail to my girlfriend's e-mail address, Now I have a g-mail account and need to delete the y-mail account and change the backup e-mail account. I cannot find information

  • Why does Adobe Creative Cloud desktop app keep crashing?

    After loggin in to my account via the adobe Creative cloud desktop app the timer spins for a few seconds and then crashes without generating a report. I am on Mac OS10.7.5. I have done an uninstall of Creative cloud and reinstall of latest version. N

  • ISub no works with iMac 24 intel

    iSub will not work with my new iMac 24 intel. NOT recognized in Sound in System Preferences. Is recognized in USB within System Profiler

  • Problem in creating new implementation for filter dependent badi

    Hi Experts,    I want to use badi NOTIF_EVENT_POST.It is a filter dependent badi. It is asking filter type while implementing thro se19. Could anyone pls tel me how to create new implementation for the filter dependent badi. Existing filter type is Q