Adding a CI Build with powershell

Hi,
Adding a CI Build (class: System.Build) with powershell to Service Manager 2012 R2 results in an error, but the Build is added with the correct properties. Here is the error message:
New-SCSMObject : Item has already been added. Key in dictionary: 'Notes'  Key being added: 'Notes'
At line:1 char:15
+ new-SCSMObject <<<<  (get-scsmclass System.Build) -propertyhashtable ($build)
    + CategoryInfo          : InvalidOperation: (Notes:ManagementPackProperty) [New-SCSMObject], ArgumentException
    + FullyQualifiedErrorId : property 'Notes' has already been added to collection,SMLets.NewSMObjectCommand
here is what I do:
$build=@{Displayname = "Test 1"}$build+=@{AssetStatus = "Deployed"}$build+=@{ObjectStatus = "Active"}$build+=@{Category = "Software"}$build+=@{Title = "Test"}$build+=@{Version = "1"}new-SCSMObject (get-scsmclass System.Build) -propertyhashtable ($build)
If I querry this Object with
get-scsmobject (get-scsmclass System.Build$) -Filter "Displayname -eq 'Test 1'"
I get the warning:
WARNING: The property 'Notes' already exists, skipping.
Exception: The member "Notes" is already present.
In my Build Form there are also two "notes" fields.
So my questions:
a) does this occur on other installations?
b) If not: any idea, where this comes from or how I could find out.
b) If yes: how do you deal with it?
tia
Patrick Wahlmüller

Hi Roman,
Thanks for your response.
Here are some findings: Smlets are not exact enough, because in the System.build Object there are 2 Notes Fields. One from the System.ConfigItem class and one from the System.Build class. I do not understand the reason for two notes fields, but the smlets
have a problem with it and the result is a warning. You can suppress this by
get-scsmobject (get-scsmclass
System.Build$)
-Filter "Displayname -eq 'Test 1'" -WarningAction silentlycontinue
(thanks to
Jason)
When I use native cmdlets:
Get-SCSMClassInstance -class $buclass -Filter 'Displayname -eq "Test 1"'
Results in two notes fields:
Notes
System.ConfigItem_Notes
But, I'll give it a try with native cmdlets, since the are part of the product.
But one question remains: Why are there two notes fields?
Patrick Wahlmüller

Similar Messages

  • LV Version/Runtime Question (working with LV 8.2.1 -- problems with a VI that was original build with LV 7.1)

    Hi there,
    currently i have a strange problem and i hope some of you can help me.
    Ok first i explain my situation:
    My task is to expand a old testsystem that was written with LV 7.1.
    During the time they began to work with LV 8.2.1 and saved the testsystem-VI with the new LV version.
    Ok now my problem:
    I have added some SubVIs (build with LV 8.2.1) to the testsystem which open a connection to a DUT (device under test) via fbus, usb or bluetooth (the drivers are designed for .net). But i always get a strange error message when the subVIs try to open the connection ("...Please check your connection string..").
    First i checked the handover of the variables in the testsystem but found no mistakes. I also tested all SubVIs seperatly with TestVIs and they worked perfectly!!!
    My question:
    The main VI was original build with LV 7.1. Could it be possible that LV uses an old or several runtime engines to execute my testsystem which causes such strange problems (For me its the only logical explanation why it works with my Test-VIs but not with the testsystem)?  
    But maybe you know more about such problems
    Greetings, wonx

    Hi wonx,
    it's really hard to say what might be the problem without knowing your project.
    Have you already performed a mass compile in LV8.2? If not, I would suggest to do so. Please see following link for an explanation of how the mass compile option in LabVIIEW works.

  • How to add the Note board web part to a page with powershell

    Hi everyone,
    I've been looking around everywhere but haven't seen it explicitly mentioned. 
    Does anyone know how to add the Note Board web part to a Team Site page, e.g. Non-publishing site, Left Zone, First webpart in the zone in powershell?
    Examples like this one http://adicodes.com/adding-web-part-to-page-with-powershell/ only talk about custom web parts uploaded from a local drive.
    The example here looks good - http://spcrew.com/blogs/lists/posts/post.aspx?id=21 but is it for the Page Viewer Web Part. How would you go about getting the correct name for the note board web part and configuring it? 
    Many Thanks,
    Ashley
    function main(){
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $url = "http://sp2010dev1/sites/test1"
    $OpenWeb = Get-SPWeb $url
    $OpenWeb
    $OpenSite = Get-SPSite $url
    $file = $OpenWeb.GetFile("http://sp2010dev1/sites/test1/SitePages/test1.aspx")
    $WebPartManager = $file.GetLimitedWebPartManager([System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    Add-PageViewerWebPart "http://sp2010dev1/sites/test1" "http://sp2010dev1/sites/test1/SitePages/test1.aspx" "Body" 0 "SPCrew Site" "sp2010dev"
    $OpenWeb.Dispose()
    function Add-PageViewerWebPart($SiteURL, $pageUrl, $webpartzone, $index, $title, $content)
        $site = new-object Microsoft.SharePoint.SPSite($SiteURL)
        $web=$site.OpenWeb()
        $webpartmanager=$web.GetLimitedWebPartManager($pageUrl, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
        $webpart = new-object Microsoft.SharePoint.WebPartPages.PageViewerWebPart
        $webpart.ChromeType = [System.Web.UI.WebControls.WebParts.PartChromeType]::TitleOnly;
        $webpart.Title = $title
        $webpart.ContentLink = "http://www.spcrew.com";
        $webpartmanager.AddWebPart($webpart, $webpartzone, $index);    
        $web.Close()
        $site.Close()
    function Get-SPSite([string]$url) {
        New-Object Microsoft.SharePoint.SPSite($url)
    function Get-SPWeb([string]$url) {
        $SPSite = Get-SPSite $url
        return $SPSite.OpenWeb()
        $SPSite.Dispose()

    Hi,
    According to your post, my understanding is that you wanted to add the Note board web part to a page with PowerShell.
    The name of the Note Board web part is SocialCommentWebPart.
    I recommend to use the powershell code below:
    $pageUrl="http://sitename/SitePages/test.aspx"
    $SiteURL="http://sitename"
    $site = new-object Microsoft.SharePoint.SPSite($SiteURL)
    $web=$site.OpenWeb()
    $webpartmanager=$web.GetLimitedWebPartManager($pageUrl, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    $webpart = new-object Microsoft.SharePoint.Portal.WebControls.SocialCommentWebPart
    $webpart.title="Note Board"
    $webpartmanager.AddWebPart($webpart, "MiddleZone", 0);
    $web.Close()
    Then the Note board web part will be added to the page.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to manage a connection with powershell using visual studio with C#

    Hi
     I want to manage a connection with powershell for a web app using visual studio with c#. and also run command with pipeline 
    Plz give a some suggestions..

    Hi Raj_Kumar_Saini,
    To make things clear, could you please clarify these thing?
    1. Do you mean you want to execute some PowerShell scripts from C# language? These blogposts may give you  some ideas:
    Executing PowerShell scripts from C#
    Powershell Automation and Remoting (a c# love story)
    Execute PowerShell from a ASP.NET Web Application
    2. Is your question related to Visual Studio Integration? Do you want to build a Visual Studio Extension?
    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.
    Click
    HERE to participate the survey.

  • BCS Set Permissions problem with PowerShell

    Hello, I am seeing an odd behavior, was wondering if anyone else encountered this problem before.
    I have a large BDC Model with multiple Entities (ECTs) that was created with Visual Studio, as part of the process we have a Powershell script that iteritates all the entities and sets their permissions to the 'All Authenticated Users' group. 
    $serviceContextURL="https://ACME.dsi-sp.com/"
    $ECTNamespace="ACMEBusinessDataConnectivityModel.ACMEReportingPortal"
    [String[]]$permissions=@("Execute","Edit","SelectableInClients","SetPermissions")
    $bdc = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType Catalog -ServiceContext $serviceContextURL
    # Get the list of all LOB systems
    $lobs = $bdc.GetLobSystems("ACMEReportingPortal")
    Foreach($lob in $lobs){
        $lobEntities = $lob.Entities
        Write-Host $lob.DefaultDisplayName
        foreach($entity in $lob.Entities) {
            write-host "ECTName: " $entity.Name
            $ECTName = $entity.Name
            $ECT = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType "Entity" -ServiceContext $serviceContextURL -Name $ECTName -Namespace  $ECTNamespace
            if($ECT-ne $null)
                 $user = New-SPClaimsPrincipal -EncodedClaim "c:0(.s|true"
                 Grant-SPBusinessDataCatalogMetadataObject -Identity $ECT -Principal $user -Right $permissions
                 write-host "Permissions set for " $ECTName
            else
                 write-host -f Yellow $ECTName external content type does not exists
    The script works fine as expected, however when you try to access the External List that is based on one of these ECTs, you get access denied. I then go into BCS validate the permissions are set as expected i.e. 'All Authenticated Users' is selected with
    the four permission, and it looks fine. try again access denied. I then go and remove the 'All Authenticated Users' group from Permissions, and manually re-add it back, try the External list again, now it works. !
    Has one seen this before or can comment on why it is not working with powershell?  is there a service recycling needed perhaps or something like that?
    Thanks in advance, mark
    Mark A. Eckert SharePoint Consultant Pharmica Consulting, Inc.

    Thanks for responding. 
    its too repetitive to keep adding permissions via CA, there are a lot of entities and we are in a constant state of developing the BDC solution so we are deploying it a lot.
    In ULS, it looks like impersonation is breaking down with ReadList and NT AUTHORITY\IUSR
    02/05/2013 13:45:55.52  w3wp.exe (0x0E7C)                        0x0834 Business Connectivity Services Business Data                
     g0jq High     Access Denied for User '0#.w|dsi-sp\meckert', which may be an impersonation by 'NT AUTHORITY\IUSR'. Securable MethodInstance with Name 'ReadList' has ACL that contains:   8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=636.737909427036 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: Microsoft.SharePoint.SPException: Access denied
    by Business Data Connectivity. ---> Access Denied for User '0#.w|dsi-sp\meckert', which may be an impersonation by 'NT AUTHORITY\IUSR'. Securable MethodInstance with Name 'ReadList' denied access. Stack Trace:    at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass
    thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass
    thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMeth... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...od methodToExecute, IParameterCollection nonReturnParameters, Object[]&
    overrideArgs, IFilterCollection filters)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteFiltered(IEntity this, IFilterCollection filterCollection, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance)    
    at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.<FindFiltered>b__3(IEntity e, IMethodInstance mi, IFilterCollection fc, ILobSystemInstance lsi)     at Microsoft.SharePoint.BusinessData.Runtime.EntityInstanceEnumeratorFactory.CreateEntityInstanceEnumerator(IEntity
    entity, IMethodInstance methodInstance, IFilterCollection filters, ILobSystemInstance lobSystemInstance, ExecutionCallBack executionCallBack)     at Microsoft.SharePoint.BusinessData.MetadataModel.Sta... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...tic.Entity.FindFiltered(IFilterCollection filterCollection, String finderName,
    ILobSystemInstance lobSystemInstance)     at Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode xnMethodAndFilters)      --- End of inner exception stack trace ---    
    at Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode xnMethodAndFilters)     at Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstancesInternal(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal,
    String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData)     at Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstances(XmlDocument
    xdQue... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...ryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean
    fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData)     at Microsoft.SharePoint.SPListItemCollection.EnsureEntityDataViewAndOrdering(String&
    bdcidFirstRow, String& bdcidNextPageFirstRow)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList)     at Microsoft.ShareP... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a1 High     ...oint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a2 High     InnerException 1: Access Denied for User '0#.w|dsi-sp\meckert', which may be
    an impersonation by 'NT AUTHORITY\IUSR'. Securable MethodInstance with Name 'ReadList' denied access. Stack Trace:    at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance
    lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteInternal(IDataClass
    thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters, Object[]& overrideArgs, IFilterColle... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a2 High     ...ction filters)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.ExecuteFiltered(IEntity
    this, IFilterCollection filterCollection, IMethodInstance methodInstanceToExecute, ILobSystemInstance lobSystemInstance)     at Microsoft.SharePoint.BusinessData.Runtime.EntityRuntime.<FindFiltered>b__3(IEntity e, IMethodInstance
    mi, IFilterCollection fc, ILobSystemInstance lsi)     at Microsoft.SharePoint.BusinessData.Runtime.EntityInstanceEnumeratorFactory.CreateEntityInstanceEnumerator(IEntity entity, IMethodInstance methodInstance, IFilterCollection filters,
    ILobSystemInstance lobSystemInstance, ExecutionCallBack executionCallBack)     at Microsoft.SharePoint.BusinessData.MetadataModel.Static.Entity.FindFiltered(IFilterCollection filterCollection, String finderName, ILobSystemInstance ... 8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53* w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Web Parts                      89a2 High     ...lobSystemInstance)     at Microsoft.SharePoint.SPListDataSource.GetEntityInstanceEnumerator(XmlNode
    xnMethodAndFilters)  8b44f992-350b-4560-bf52-e0308d4b6382
    02/05/2013 13:45:55.53  w3wp.exe (0x0E7C)                        0x0834 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (Submission Milestone)). Execution
    Time=684.852125060587 8b44f992-350b-4560-bf52-e0308d4b6382
    Mark A. Eckert SharePoint Consultant Pharmica Consulting, Inc.

  • Re-map print queues for clients with powershell

    We reinstalled printer queues (share printer name is the same as before) and drivers on server, 99% users can't print properly, is a way to re-map print queues for all clients with PowerShell equivalent to remove and map again?

    Hi Brent,
    To re-map all of the printers, please check this script written by Boe Prox:
    <#
    .SYNOPSIS
    Logon Script to migrate printer mapping
    .DESCRIPTION
    Logon Script to migrate printer mappings
    .NOTES
    Author: Boe Prox
    Create: 09 NOV 2012
    Modified:
    Version 1.0 - Initial Script Creation
    1.1 Added Header Text for CSV file
    #>
    Param (
    $newPrintServer = "Server2",
    $PrinterLog = "\\LogSVR\PrintMigration$\PrintMigration.csv"
    <#
    #Header for CSV log file:
    "COMPUTERNAME,USERNAME,PRINTERNAME,RETURNCODE-ERRORMESSAGE,DATETIME,STATUS" |
    Out-File -FilePath $PrinterLog -Encoding ASCII
    #>
    Try {
    Write-Verbose ("{0}: Checking for printers mapped to old print server" -f $Env:USERNAME)
    $printers = @(Get-WmiObject -Class Win32_Printer -Filter "SystemName='\\\\Server1'" -ErrorAction Stop)
    If ($printers.count -gt 0) {
    ForEach ($printer in $printers) {
    Write-Verbose ("{0}: Replacing with new print server name: {1}" -f $Printer.Name,$newPrintServer)
    $newPrinter = $printer.Name -replace "Server1",$newPrintServer
    $returnValue = ([wmiclass]"Win32_Printer").AddPrinterConnection($newPrinter).ReturnValue
    If ($returnValue -eq 0) {
    "{0},{1},{2},{3},{4},{5}" -f $Env:COMPUTERNAME,
    $env:USERNAME,
    $newPrinter,
    $returnValue,
    (Get-Date),
    "Added Printer" | Out-File -FilePath $PrinterLog -Append -Encoding ASCII
    Write-Verbose ("{0}: Removing" -f $printer.name)
    $printer.Delete()
    "{0},{1},{2},{3},{4},{5}" -f $Env:COMPUTERNAME,
    $env:USERNAME,
    $printer.Name,
    $returnValue,
    (Get-Date),
    "Removed Printer" | Out-File -FilePath $PrinterLog -Append -Encoding ASCII
    } Else {
    Write-Verbose ("{0} returned error code: {1}" -f $newPrinter,$returnValue) -Verbose
    "{0},{1},{2},{3},{4},{5}" -f $Env:COMPUTERNAME,
    $env:USERNAME,
    $newPrinter,
    $returnValue,
    (Get-Date),
    "Error Adding Printer" | Out-File -FilePath $PrinterLog -Append -Encoding ASCII
    } Catch {
    "{0},{1},{2},{3},{4},{5}" -f $Env:COMPUTERNAME,
    $env:USERNAME,
    "WMIERROR",
    $_.Exception.Message,
    (Get-Date),
    "Error Querying Printers" | Out-File -FilePath $PrinterLog -Append -Encoding ASCII
    Quote from:
    Use a PowerShell Logon Script To Update Printer Mappings
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • [svn:bz-4.x] 15534: Update BlazeDS/4.x branch to build with Flex SDK4.

    Revision: 15534
    Revision: 15534
    Author:   [email protected]
    Date:     2010-04-17 05:17:40 -0700 (Sat, 17 Apr 2010)
    Log Message:
    Update BlazeDS/4.x branch to build with Flex SDK4. This branch now builds with Flex SDK4 by default. This was just a merge of changelist 15508 from BlazeDS/trunk to BlazeDS/4.x. 
    Modified Paths:
        blazeds/branches/4.x/apps/ds-console/build.xml
        blazeds/branches/4.x/apps/ds-console/console.mxml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/dashboard/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/inventory/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/runtimeconfig-messaging/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/runtimeconfig-remoting/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/testdrive-101/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/testdrive-chat/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/testdrive-datapush/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/testdrive-httpservice/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/testdrive-remoteobject/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/testdrive-update/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/testdrive-webservice/build.xml
        blazeds/branches/4.x/apps/samples/WEB-INF/flex-src/traderdesktop/build.xml
        blazeds/branches/4.x/apps/samples/build.xml
        blazeds/branches/4.x/apps/team/build.xml
        blazeds/branches/4.x/build.properties
        blazeds/branches/4.x/build.xml
        blazeds/branches/4.x/modules/proxy/build.xml
        blazeds/branches/4.x/modules/remoting/build.xml
        blazeds/branches/4.x/modules/sdk/build.xml
        blazeds/branches/4.x/qa/apps/qa-manual/build.xml
        blazeds/branches/4.x/qa/apps/qa-regress/build.xml
        blazeds/branches/4.x/qa/resources/webtier/build.xml
        blazeds/branches/4.x/qa/resources/webtier/flex_sdk_4/air-config.xml
        blazeds/branches/4.x/qa/resources/webtier/flex_sdk_4/flex-config.xml
    Added Paths:
        blazeds/branches/4.x/resources/flex_sdk/dmv/
        blazeds/branches/4.x/resources/flex_sdk/dmv/datavisualization.swc
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/en_US/
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/en_US/datavisualization_rb.swc
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/ja_JP/
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/ja_JP/datavisualization_rb.swc
    Removed Paths:
        blazeds/branches/4.x/apps/team/WEB-INF/flex/flex-config.xml
        blazeds/branches/4.x/apps/team/WEB-INF/flex/flex-webtier-config.xml
        blazeds/branches/4.x/frameworks/libs/datavisualization.swc
        blazeds/branches/4.x/frameworks/locale/en_US/
        blazeds/branches/4.x/frameworks/locale/ja_JP/
        blazeds/branches/4.x/resources/flex_sdk/dmv/datavisualization.swc
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/en_US/
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/en_US/datavisualization_rb.swc
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/ja_JP/
        blazeds/branches/4.x/resources/flex_sdk/dmv/locale/ja_JP/datavisualization_rb.swc

  • [PowerShell] Ping multiple servers simultaneously with PowerShell: Test-ConnectionAsync (strange problems)

    I am hoping the author of the script "Ping multiple servers simultaneously with PowerShell: Test-ConnectionAsync" can help me.
    I found it at: https://gallery.technet.microsoft.com/scriptcenter/Multithreaded-PowerShell-0bc3f59b
    I am using the version dated: 5/8/2014
    I extraced the entire function from the .psm1 file for use in a script that continuously pings about 100 devices and sends an email when a device has failed three times in a row.  At some point, usually between 15 minutes and several hours, the script
    stops running.  If I break out of it <CTRL>-C, and run a "Get-Job" command, I can see that a job is "stuck" at the "Running" state.  I can even retrieve the data using "Receive-Job" and it looks fine.
     Here is a sample of the Get-Job after the program froze (I changed the Source and Destination to protect the names/IPs)...
    PS C:\Program Files\ServerScripts\DeviceMonitor> Get-Job
    Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
    145678 Job145678       WmiJob          Running       True            .                    Test-Connection
    PS C:\Program Files\ServerScripts\DeviceMonitor> Receive-Job 145678
    Source        Destination     IPV4Address      IPV6Address                              Bytes    Time(ms)
    SERVER1  XX.XXX.XXX.XX   XX.XXX.XXX.XX                                             32       5
    SERVER1  XX.XXX.XXX.XX   XX.XXX.XXX.XX                                             32       5
    SERVER1  XX.XXX.XXX.XX   XX.XXX.XXX.XX                                             32       5
    SERVER1  XX.XXX.XXX.XX   XX.XXX.XXX.XX                                             32       5
    PS C:\Program Files\ServerScripts\DeviceMonitor> Get-Job
    Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
    145678 Job145678       WmiJob          Running       False           .                    Test-Connection
    I tried added some additional output in the function to troubleshoot but I can't seem to find the root cause.  I would be happy if I could remove the "stuck" job after a certain amount time, even though this doesn't get to the root of the
    problem.
    Any assistance would be appreciated.  Even if you could point me in the right direction.
    Thank you.

    Hi,
    Questions for Gallery items should be asked on the QandA tab of the listing, as that is usually the fastest way to contact the script's author:
    https://gallery.technet.microsoft.com/scriptcenter/Multithreaded-PowerShell-0bc3f59b/view/Discussions#content
    Dave does frequent this forum, so you might get a response from him here directly.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Disable IP6 with Powershell

    Is ther ea quick and easy way to disable IP6 with Powershell. And basically I just mean to untick the "Internet Protocol version 6" box in the NIC properties.
    Thanks,
    Scott

    @zarberg
    a quick posh script to hit multiple remote machines:
    1st create a text file called sl.txt and list each server name you want to update one per line
    2nd copy the following six lines to another file called DisableIPv6.ps1 (or whatevers clever)
    $servers = (gc sl.txt)
    ForEach ($server in $servers) {
     Write-host -foregroundcolor Cyan Server Name : $Server
     $path = ‘HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\’
     New-ItemProperty -Path $path -Name “DisabledComponents” -Value 0xffffffff -PropertyType “DWord"
     Write-host -foregroundcolor Green “Completed” }
    $servers = (gc sl.txt)ForEach ($server in $servers) { Write-host -foregroundcolor Cyan Server Name : $Server $path = ‘HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\’ New-ItemProperty -Path $path -Name “DisabledComponents” -Value 0xffffffff -PropertyType “DWord" Write-host -foregroundcolor Green “Completed” }
    3rd make sure DisableIPv6.ps1 and sl.txt are in the same folder
    Now open PoSh console using account that has admin rights, navigate to the folder that has the two files and run it.
    It will return green Complete if it added registry entry or red Already exists if its there
    d
    silly rabbit, tricks are for kids!
    First you are posting to a three year old closed thread.  Second the code posted does not do what was asked.  I think you need to look very closely at what you have posted.  The "Reg" provider for PowerShell does not work remotely.
    You are looping on server names but they are not being used for anything.  Spen a little time readin how PowerSHell works with the registry provider and what a remote machine is.
    It is possible to use Invoke-Command assuming WinRM is configured,
    ¯\_(ツ)_/¯

  • Integrating Reports Builder with JDEV

    Hello,
    I am studying how integrating a Report builded using Reports Builder with JDEV, because when I run from JDEV my JSP file which contains Reports, I am not manage get success. However, if my JSP has not Reports, then I get success in the execution. When I am running the JSP with has Reports, in the execution, the following error messages are displayed:
    org.omg.CORBA.OBJ_ADAPTER: org.omg.CORBA.UNKNOWN: Unexpected User Exception: IDL:visigenic.com/Activation/NotRegistered:1.0 minor code: 0 completed: No minor code: 0 completed: No
         at com.inprise.vbroker.poa.BOAImpl.obj_is_ready(BOAImpl.java:374)
         at oracle.reports.server.RWServer.startServer(RWServer.java:558)
         at oracle.reports.server.RWServer.run(RWServer.java:198)
         at java.lang.Thread.run(Thread.java:484)
    Someone, could help me?
    Thanks.
    Carla

    Hello Carla,
    The link indicated by Philipp just move to this URL
    http://otn.oracle.com/products/reports/htdocs/getstart/GettingStarted/index/index.html. (Sorry for that)
    Watch the Reports/JDev integration viewlets in the demonstration section.
    To be able to execute a Reports JSP from JDev you should be in the JDeveloper of the 9iDS. (9i Developer Suite). You can also check you Jdev 'Run' property to check if the Embeded OC4J server starts with all IIOP parameter. (FYI:a Reports JSP communicate with the Reports Server using Corba)
    1. Right click on you project in the system navigator
    2. Choose 'Project Setting'
    3. In the Runner Entry you should have a Java option like :
    -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB
    (This option is automaticaly added if you select New, Reports JSP from JDeveloper)
    Regards
    Tugdual Grall

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • Error while adding a new col with check constriant

    Hello
    I tried adding a new column with check constraint but giving the error please correct me..
    drop table testchk
    create table testchk(typenm varchar2(5))
    insert into testchk values('mon')
    alter table testchk add typechk varchar2(5) default 'both' constraint chk_test check(typechk in('m','d') and typechk is not null)For the alter comman getting the ORA-02293 cannot validate error..
    I dont want to create any other constriant like not null etc .. but need only one check constriant
    Thanks

    You cannot assign a default value = 'both' while the constraint allows only 'm' or 'd'.
    This will work:
    ALTER TABLE testchk ADD typechk VARCHAR2(5) DEFAULT 'both'
    CONSTRAINT chk_test CHECK(typechk IN('m','d', 'both') AND typechk IS NOT NULL);Edited by: kordirko on 2010-05-14 18:41

  • When opening my Outlook 2010 with new added e-mail account with Exchange Server, I have to click manually on my standard e-mail account for checking mail

    When opening my Outlook 2010 with new added e-mail account with Exchange Server supplied by my employer, I have to click manually on my standard e-mail account for checking mail. Do I have to upgrade my Microsoft Office 2010 or how can I make my Outlook
    2010 check all my four e-mail accounts without manually click on my accounts?
    Sincerely
    Ketil Hothorp

    Hello Ketil,
    Good Day...
    Seems to be the Issue is Syncing emails, now I would recommend you to Remove and Add the Account and try and check if the emails are getting synced automatically.
    Hope this is with Single User. If it is with Multiple Users then we need to check the permissions assigned.
    Regards,
    Praveen

  • I added apps by syncing with a Mac.  It was under my husband's ACCT. When I tried to update apps on my iPad, it was his account.  How do I change this?  It only happens when I try to update apps

    I added apps by syncing with a Mac.  It was under my husband's ACCT. When I tried to update apps on my iPad, it was his account.  How do I change this?  It only happens when I try to update apps

    Apps will always be tied to the account from which they were purchased.
    If they were purchased from your husbands account, then they will have to update using that account.

  • How can I use an Express database build with RAA in Express Objects???

    Hello, everybody!
    I have installed Express Server and Client on my computer. I've build an Express database With Relational Access Manager mapping data from an Oracle database.
    Now I want to use this express database in Oracle Express Objects.
    I understand that an express database build with understand can be used by defining a connection to Express Server and using the option Relational Access Manager Connection.
    But, I didn't understand the settings of this option. I open the settings window and there it is :
    - the MASTER DATABASE Box where I have to write the name of the CUBE from the express database build with understand?
    - the RDC File Box : what do I have to write here? I've read the HELP but I didn't understood. There is no file with the RDC extension in my computer.
    Thank you for your help!
    Anca.
    [email protected]

    you can extend it, very easly, with an Airport Express.
    once you connect the AExpress, on the App Airport Utility, in Wireless tab choose to "Extent a Network", you will be able to select your Network enter your Network Password and it is done
    i have 2 AExpress to extend my signal and also to Airplay to Remote Speakers and works perfectly
    good luck

Maybe you are looking for

  • Magic mouse wont connect boot camp 4.0

    I have just installed a fresh copy of OS X Lion with Boot Camp 4.0 on a new iMac.  I have been unable to get the magic mouse to connect via bluetooth.  I have uninstalled and reinstalled the driver with the same result.  I can see it when I add devic

  • Text on my screen is blurry/fuzzy

    hello. i accidentally hit a key (not sure which one) the other day, and then i noticed that my desktop background had changed from my customized background to the default blue Mac screen. no big deal, i just changed it back to the picture i had up be

  • Search and character sets?

    I have noticed that iTunes when using the search box does not see the difference between and 'e' and and 'e with and accent over it' or any other foreign charater set, such as letters with an umlaut like, ū. Is there anyway to get iTunes to see the d

  • How to turn off Safari encrypted or extensions

    how to turn off Safari encrypted connection or certificate extensions on safari HELP

  • Problem installing Oracle 9i database release 2.0

    Hi, I encounter this error message while installing Oracle 9i rel 2.0 entreprise edition on Win 2000. "Couldn't connect to the server - Please check the network and that server daemons are running. (Socket error 10061)". Could somebody help, to resol