Problem with IPAM Invoke-IpamGpoProvisioning PowerShell Cmdlet

Hi Guys,
I have an issue with IPAM configuration installed on a Windows Server 2012 R2 and I have DC, DNS and DHCP installed on Windows Server 2012 R2 on another server, when i run the PowerShell Cmdlet to provision the IPAM GPOs using the following Cmdlet (c:\Invoke-IpamGpoProvisioning
-Domain mydomain.local GpoPrefixName KHA  -IpamServerFqdn IPAM.mydomain.local -DelegatedGpoUser administrator) i get this error. 
Invoke-IpamGpoProvisioning : Failed to create universal group IPAMUG. Exception calling "CommitChanges" with "0"
argument(s): "The server is unwilling to process the request.
At line:1 char:1
+ Invoke-IpamGpoProvisioning -Domain mydomain.local -GpoPrefixName KHA -IpamServerFqdn ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Invoke-IpamGpoProvisioning], Exception
    + FullyQualifiedErrorId : InvalidOperation,Invoke-IpamGpoProvisioning
How to solve this issue to find the GPOs created on the DC ?

Hi ,
Thank you for posting your issue in the forum.
I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Thank you for your understanding and support.
Best Regards,
Andy Qi
Andy Qi
TechNet Community Support

Similar Messages

  • Problem with sqldir invoked by host method in Forms10g on Unix

    Hi,
    I have a problem with invoking sqlldr from Forms10 using host command in
    Unix environment(Solaris). I have two ORACLE_HOME's , one for IDS10g and second where is Oracle Client with sqlldr, which I have to invoke.
    I have a script:
    #!/bin/sh
    NLS_NUMERIC_CHARACTERS=., ;export NLS_NUMERIC_CHARACTERS
    ORACLE_HOME=/export/home/oracle/oracle/product/10.2.0/client_3
    export ORACLE_HOME
    echo $ORACLE_HOME > env1.txt
    LD_LIBRARY_PATH=/export/home/oracle/oracle/product/10.2.0/lib32
    export LD_LIBRARY_PATH
    sqlldr TEST/TEST@orcl control='UOFE050.ctl' log='UOFE050.log' errors=1000000 skip=1
    ORACLE_HOME=/u01/app/oaspers/frs; export ORACLE_HOME
    echo $ORACLE_HOME > env2.txt
    I have all neccesary paths in my default.env file (/usr/bin:/export/home/oracle/oracle/product/10.2.0/client_3/bin:
    /usr/bin:/export/home/oracle/oracle/product/10.2.0/client_3) for FormsServer. I have tried invoke sqlldr with full path
    and I have tried to change LD_LIBRARY for current ORACLE_HOME (in shell script). Of course from command line the script is working.
    I know that only the line with sqlldr is not executed, so I have found a couple of threads on this forums but i have not found solution
    for my issue - with two ORACLE_HOME's - the invocation of script in Forms is - host('scr.sh').
    I am using webutil for uploading file to AS, and I do not want to use sqlldr on client.
    ps. the experiment for Windows was OK - with Host('cmd /k scr.bat',no_screen);
    thanks for help,
    gregory

    So my question to a Forms guru is that Do I have to really upload with webutil files to database and then put it down with utl_file and invoke sqlldr from database by f.e. java stored procedure ? A customer rejected solution with invoking sqlldr from client (reasonable - instalation Oracle client on every PC).

  • Problem with Remotely Invoked Function Module

    Hi All,
    I have a requirement to develop a Remote Enabled Function Module in SAP R/3 which will be invoked from an XI environment via an XML message.
    The purpose of this FM is to validate the incoming data(which comes as a pair of values) by comparing it with values in a corresponding SAP Table.
    If the incoming data is consistent with the values in the SAP Table, i need to return the data in the same format as it is passed. If any inconsistent record is encountered, then i just need to delete that particular record and return the rest of them.
    I used a TABLE for the Input/Output in the FM and tried it. Though it works fine stand-alone, when invoked from the XI environment, the calling system is able to receive only the name of the Table Structure that is used in the FM for I/O.
    I am unable to comprehend the format the input comes into SAP when the FM is invoked. So I'm not able to exactly pin-point the place where the problem arises.
    Please suggest a solution.
    Any pointers in this regard will be helpful.
    Thanks in Advance.

    Hi,
    You can view the incoming message in the local XI Message Monitor SXMB_MONI. There you will see if the input table parameter is correctly filled. In the same transaction, you can also see the reply that is sent to XI. If that is OK, you know that your function works correctly. When you are sure of that, and the calling system does not get the same parameters returned as you could see, that means the mapping in XI is wrong.
    good luck,
    Peter Glas

  • Problem with Remote Invoked Function Module

    Hi All,
    I have a requirement to develop a Remote Enabled Function Module in SAP R/3 which will be invoked from an XI environment via an XML message.
    The purpose of this FM is to validate the incoming data(which comes as a pair of values) by comparing it with values in a corresponding SAP Table.
    If the incoming data is consistent with the values in the SAP Table, i need to return the data in the same format as it is passed. If any inconsistent record is encountered, then i just need to delete that particular record and return the rest of them.
    I used a TABLE for the Input/Output in the FM and tried it. Though it works fine stand-alone, when invoked from the XI environment, the calling system is able to receive only the name of the Table Structure that is used in the FM for I/O.
    I am unable to comprehend the format the input comes into SAP when the FM is invoked. So I'm not able to exactly pin-point the place where the problem arises.
    Please suggest a solution.
    Any pointers in this regard will be helpful.
    Thanks in Advance.

    Hi Keerthivasan,
    My requirement also same,
    please send me the source code.Please help me urgent.
    Thanks.

  • Problem with f:invoke - cannot find method with argument

    Hi,
    I have <f:invoke var="${bpmObj}" methodName="tempMethod" retAttName="... /> in my JSP.
    Now, in ALBPM I have this method tempMethod and I gave it one out argument so it can return something to my JSP variable given in retAttName.
    Problem is that it cannot find this method because it is something like tempMethod(out resultString) and my JSP invoke has no input/output attributes at all.
    It is working only when I delete all in/out args from definition of my method, but I want it to return something! How to do it? please help.
    regards,
    Paul

    Hi.
    Search under sap portal->admi->support->ROOT/WEB-INF/deployment/pcd/ for com.sap.km.cm.repository.service.base.par.bak
    Best regards,
    Aliaksandr Zhukau

  • Create Device Collection WITH Refresh Schedule using Powershel CMDLets

    Hello everyone
    I'm attempting to create a PowerShell script to create a device collection and I'm running into a very frustrating issue.  I want to be able to set the collections refresh time but can't seem to get it to work.  This code here works to create the
    collection and tell it to do incremental updates but I cannot figure out how to set refresh time.  Everything I've attempted has failed and google seems to be no help right now.
    $CollectionName = "Test"
    $CollectionQueryValue = 'select * from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.NetBIOSName in ("Hostname")' $CollectionQueryName = "Direct by Hostname"
    New-CMDeviceCollection -Name $CollectionName -LimitingCollectionName "All Systems" -RefreshType ConstantUpdate
    Thanks for your help!

    I haven't tried it, but the following should work:
    $Sched = New-CMSchedule -Start "01/02/2014 1:00 AM"
    -DayOfWeek Sunday -RecurCount 1
    New-CMDeviceCollection -Name "C1"
    -LimitingCollectionName "All Systems" -RefreshSchedule $Sched -RefreshType Both
    Torsten Meringer | http://www.mssccmfaq.de

  • Problems with invoke call in browser (SAP Business Connector)

    Hallo,
    I have a problem with the invoke call in a browser to test a build flow in the SAP Business Connector:
    I build a flow which receives a XML file, converts it into a record, then adds some mandatory data to the segment "EDI_DC40", then reconverts it into XML. After that, the XML gets converted into SAP IDOC format. Then I send it via ALE service to the connected SAP System.
    The flow works so far if I test it with the "send XML file" function in "Test" menu. But when I test it via a call in the browser, it doesn´t work. The mandatory data in "EDI_DC40" is there, but the Business connector does not recognize the data which comes with the XML for this segment ("MESTYP" and "SNDPRN") - so it can not be transfered to the SAP system. It causes a routing rule error, because sender and message type is unknown.
    Does anybody has experiences with that? Is there a difference between browser call and the test function "send xml file"?
    Thanks in advance for your help!
    Kai

    Hi,
    Just debug your SAP BC service in which you are calling the RFC and check if proper values are getting mappend to your input variables of RFC.
    If that is correct than there wont be much chances of problem in BC.
    \[removed by moderator\]
    Regards,
    Siddhesh S.Tawate
    Edited by: Jan Stallkamp on Jul 1, 2008 4:32 PM

  • Problems with cmdlets within the Exchange 2013 powershell

    Hi,
    i've following problem: I can't access all possible powershell cmdlets within the exchange powershell. For example following cmdlet is missing: "Get-Queue". Also we have trouble with some other cmdlets: Get-Mailbox only lists one of 30 mailboxes
    and if we want to modify a mailbox identified by the logonname an error shows up that the user can't be found. Only the one listed user can be modified.
    What can I do to solve this problem?
    Yours
    Achim

    Hi Achim,
    You need to be assigned appropriate permissions or roles before you can run all cmdlet. Although all parameters for this cmdlet are listed, you may not have access to some parameters if they're not included in the permissions assigned to you. For example
    to run Get-Queue cmdlet - your user account must be assigned the "Organization Management" or at least "Server Management" role.
    You can try this to view roles assigned to your account:
    Get-ManagementRoleAssignment -RoleAssignee 'yourUserAcc' -Role "organization*" | fl role
    Get-ManagementRoleAssignment -RoleAssignee 'yourUserAcc' -Role "*transport*" | fl role
    Otherwise you can view and change role assignments with EAC:
    In the EAC, navigate to Permissions > Admin Roles.
    Select the role group you want to view the members of.
    In the role group details pane, view the members in the role group details pane.
    ▲ Vote if Helpful / Mark if Answer
    MCSE: Messaging 2013 Charter / Private Cloud / Server Infrastructure
    MaximumExchange.ru

  • How to send digitally sign S/MIME messages with Powershell cmdlet Send-MailMessage?

    Hello,
    using AD Windows PKI I assigned a certificate EKU (1.3.6.1.5.5.7.3.4) to sign emails and get this with
    autoenrollment also to my CERT Store PS
    CERT:\CurrentUser\UserDS\ or the certificate could found via MMC / certificates in the store structur under "Active Directory User Object".
    Signed messages (red icon) to send as S/MIME message using Outlook 2010 is not a problem.
    Using PowerShell cmdlet Send-MailMessage to be sent company notification for a new passwordpolicy some days before pwd expired?! I use the cmdlet already successfully to filling HTML bodies with variables and send to individuals accounts.
    Reduced simplified PS code:
    $SMTPBodyHtmlTemplate = Get-Content "C:\PS\Template\HTMLBody.html" | Out-String
    Function SendEmailNotification # /* SEND E-MAIL Notification to User */#
    [string] $SMTPServer = "mail.domain.local"
    $CurrentUser = "$env:username"
    [string]$SMTPFrom = (Get-ADUser $CurrentUser -properties mail).mail
    [string[]] $SMTPTo = $($Obj.EmailAddress)
    [string]$SMTPSubject = "Notification!"
    [String]$SMTPBodyHtml = $SMTPBodyHtmlTemplate.Replace("UserDisplayname","$($UserDisplayname)")
    Send-MailMessage -From $SMTPFrom -To $SMTPTo -Subject $SMTPSubject -BodyAsHtml $SMTPBodyHtml -dno OnFailure -SmtpServer $SMTPServer -encoding ([System.Text.Encoding]::UTF8) -ErrorAction Continue
    How can I use the PSDrive own CERT and using PowerShell cmdlet Send-MailMessage
    to send a signed message, without development experience?
    Thanks in advance for cooperation.
    Manfred Schüler

    Hi,
    could create with an other colleague a DLL file (with this informations) for successfully sending sign messages from PS-Script. 
    Function SendEmailNotification # /* SEND SIGN E-MAIL */#
    $SMTPBodyHtmlTemplate = Get-Content "C:\PS\Template\HTML.html" | Out-String
    [System.Reflection.Assembly]::LoadFile("C:\PS\Assembly\Cpi.Net.SecureMail.dll") | Out-Null
    [string]$strSmtpServer = "smtp.domain.local"
    [string]$strSmtpPort = "25"
    [string]$strFrom = (Get-ADUser $CurrentUser -properties mail).mail
    [string]$strFromAlias = (Get-ADUser $CurrentUser -properties DisplayName).DisplayName
    [string]$strTo = $UserEmailAddress
    [string]$strToAlias = $UserEmailDisplayName
    [String]$strSubject = "Subject as you like"
    [string]$strBody = $SMTPBodyHtmlTemplate.Replace("UserDisplayname","$($UserDisplayname)")
    $objMail = New-Object Cpi.Net.SecureMail.SecureMailMessage
    $objFrom = New-Object Cpi.Net.SecureMail.SecureMailAddress($strFrom,$strFromAlias,$objCert,$objCert)
    $objTo = New-Object Cpi.Net.SecureMail.SecureMailAddress($strTo,$strToAlias)
    $objMail.From = $objFrom
    $objMail.to.Add($objTo)
    $objMail.Subject = $strSubject
    $objMail.Body = $strBody
    $objMail.IsBodyHtml = $TRUE
    $objMail.IsSigned = $TRUE
    $objMail.IsEncrypted = $FALSE
    $objSMTPClient = New-Object System.Net.Mail.SmtpClient($strSmtpServer,$strSmtpPort)
    $objSMTPClient.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
    $objSMTPClient.send($objMail)
    Maybe Microsoft can implement this in future versions of the cmdlets Send-MailMessage ;-)
    Manfred Schüler

  • Problem with Exchange 2010 scripts after installing PowerShell 4.0

    Hi
    After installing new updates for MS Exchange 2010 and PowerShell 4.0 I've got problems with PS scripts using buil-in
    exchange commands.
    I wrote interactive script for searching e-mails. Here is a pice of code where I get error after installing PS v4.
    $SearchContent=Read-Host "Write sentence to find"
    Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "Inner box" -LogOnly -Loglevel Full | Out-Null
    After installing PowerShell 4.0 I get that bug and report in TargetMailbox is not genereated.
    The property keyword isn't supported.
    At C:\Administration\Scripts\T-SearchMail.ps1:122 char:1
    + Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Disco ...
    + ~~~~~~~~~~~~~~~~~   
    + CategoryInfo          : InvalidArgument: (:) [], ParserException
        + FullyQualifiedErrorId : 35E6C841
    Using PowerShell 2.0 everything was ok.
    How to solve this problem?
    Tomasz
    Kind Regards Tomasz

    But http://blogs.msdn.com/b/powershell/archive/2013/10/25/windows-management-framework-4-0-is-now-available.aspx is dated
    October 2013, while the current Windows Management Framework 4.0 System Requirements section states:
    Servers that are running the following applications can now run WMF 4.0. The versions listed are the minimum releases required to run WMF 4.0.
    Microsoft Exchange Server 2013 Service Pack 1
    Microsoft Exchange Server 2010 SP3 with Update Rollup 5
    Since
    Update Rollup 5 For Exchange 2010 SP3 (KB2917508) was published Febrary 2014, shouldn't Exchange 2010 now be compatible with PowerShell 4.0?

  • Powershell 4.0: Problem with error handling inside Eventhandlers - Powershell has stopped working

    Hallo!
    Please see the attached sample code. This code simply show a small WPF-Dialog.
    Test 1 (showing the problem)
    Simply run the program. You will see Powershell crashing "Powershell has stopped working".
    The cause of this is the devision by 0 inside the Eventhandler.
    We would normally expect, that the exception should be handled by the trap.
    Test 2 (showing normal operation)
    Simply remove the comment in line 28 ($i=1/0).
    This activates an exception outside the Eventhandler. Now the Trap will be executed normally.
    --> The exception can be handled by the Powershell Devloper.
    Can anybody help? Why does the Error management via Trap not work inside Eventhandlers?
    Thanks for some assistance and ideas!
    Regards
    Heike
    cls
    Set-StrictMode -Version 4.0
    $ErrorActionPreference = "stop"
    Add-Type -Assemblyname PresentationFramework
    # -- Eventhandler - will be fired during form load -----------------------------------------------------
    $FormLoaded = {
    Write-Host "EventHandler is running..."
    # Problem:
    # All exceptions will crash Powershell.
    # We would normally expect that the Global Trap will be executed!
    # This problem occurs inside of Eventhandlers only!
    # TEST 1 --> Create an Exception (Division by 0) --> Powershell crashes: "Powershell_ISE has stopped working"
    $i=1/0
    # -- End of Eventhandler----------------------------------------------------------------------------------
    # -- Start of Demo-Programm ------------------------------------
    Write-Host "Start Demo"
    # -- TEST 2 ---
    # Write-Host "Test 2: Testing Global Trap"
    # Create an Exception (Division by 0) --> Powershell does not crash --> Global Trap will be executed --> OK
    # $i=1/0
    # XAML-Code for WPF-Dialog
    [xml]$xaml = @"
    <Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Test - " Height="370" Width="657" ResizeMode="NoResize" WindowStyle="ThreeDBorderWindow" WindowStartupLocation="CenterScreen" ShowInTaskbar="False" >
    <Grid Margin="0,0,0,-4">
    <Label Name="CustomerName" Content="Hello World" HorizontalAlignment="Left" Margin="10,2,0,0" VerticalAlignment="Top" Width="596"/>
    </Grid>
    </Window>
    $Form1=[Windows.Markup.XamlReader]::Load((New-Object System.Xml.XmlNodeReader $xaml)) # Load form
    Write-Host "Register Event"
    $Form1.Add_Loaded($FormLoaded)
    Write-Host "Starting ShowDialog"
    $Form1.ShowDialog() > $null
    Write-Host "End of program"
    # Global Trap - all exceptions should be handled here
    trap{
    Write-host "Global Trap is running..."
    Write-host "End of trap - program will be stopped"

    It works fine if you don't try to execute the code while loading and if you use a better exception handling method.
    Add-Type -Assemblyname PresentationFramework
    [xml]$xaml=@'
    <Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Test - " Height="370" Width="657" ResizeMode="NoResize" WindowStyle="ThreeDBorderWindow" WindowStartupLocation="CenterScreen" ShowInTaskbar="False" >
    <Grid Margin="0,0,0,-4">
    <Label Name="CustomerName" Content="Hello World" HorizontalAlignment="Left" Margin="10,2,0,0" VerticalAlignment="Top" Width="596"/>
    </Grid>
    </Window>
    $Form1=[Windows.Markup.XamlReader]::Load((New-Object System.Xml.XmlNodeReader $xaml)) # Load form
    $Form1.Add_Loaded({
    Write-Host "EventHandler is running..."
    Try{
    $i=1/0
    Catch{
    Write-Host "$_"
    $Form1.ShowDialog()
    ¯\_(ツ)_/¯

  • IPAM registration using powershell does not commit to DNS

    I am working on having IPAM become a valuable tool in the organization I work, and as part of that I am setting up a registration Gateway for Our Developers and their VMs, and the gatway invokes the PowerShell script With the proper command to register in
    IPAM including all nescessary dns information. The problem is that the registration Works like a charm, With an exception for DNS registration.
    In the GUI you have the option to Select "register automatically in dns", but this option is not documented in the PowerShell command and in in IPAM it just says "not attempted"
    My syntax for the powershel registration is like this:
    Add-IpamAddress -IpAddress 127.0.0.3 -AssignmentType Static -DeviceName testreg -ForwardLookupZone blastlan.com -ForwardLookupPrimaryServer anakin.blastlan.com
    How can i force the registration to the DNS? I have currently solved this using the dns server functions together With the ipam registration, but this seems a but idiotic as I want a single command for this registration, as well as using the IPAM Access
    to define what ranges the Gateway should allow the users to register within.

    Hi Hawkie,
    Did the option "register automatically in dns" is the option in the screenshot below:
    If so, I haven't found this option in IPAM cmdlets, as a workaround, you can register DNS record for IP address on client as the script below, you can run this script on client and connect remote IPAM server:
    <pre class="brush:powershell">##Check the following items: IPAM Server Name, Start and End IP Addresses of IPAM Range,
    ##Name of network adapter, Subnet Prefix Length, Default Gateway, DNS Server Addresses
    ##Requires Powershell 4.0 or higher
    ##Create a Common Information Model connection to IPAM Server
    $cim = new-cimsession -ComputerName IPAM
    ##Find a free IP Address from the IPAM Server. Be sure to use the addresses in your range from the IPAM Server
    $FreeIP = Get-IpamRange -StartIPAddress 10.10.50.10 -EndIPAddress 10.10.50.69 -CimSession $cim | Find-IpamFreeAddress | select-object -expandproperty IPAddress
    ##add the IP Address to the IPAM Server
    $servername = hostname
    Add-IpamAddress -CimSession $cim -IpAddress $FreeIP -devicename $servername
    ##Remove the CIM Session (logout)
    Remove-CimSession -CimSession $cim
    ##Get the Network Adapter named "Ethernet"
    $adapter = Get-NetAdapter -name Ethernet
    ##Disable DHCP
    $adapter | Set-NetIPinterface -dhcp disabled
    ##Set New IP AddressString
    $adapter | New-NetIPAddress -addressfamily IPv4 -IPAddress $FreeIP -PrefixLength 24 -type Unicast -DefaultGateway 10.10.50.254
    ##Set DNS Server
    set-dnsclientserveraddress -InterfaceAlias ethernet -ServerAddresses 10.10.50.12, 10.10.50.9
    ##Register DNS
    Ipconfig /registerdns
    Refer to:
    Dynamically Assigned Static IP Addresses…Huh?
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Invoke-IpamGpoProvisioning : Failed to import GPO. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    Hello Im trying to configure IPAM but im getting this error.
    PS C:\Users\Administrator.IPADE.MX> Invoke-IpamGpoProvisioning –Domain actdir.ipade.mx –GpoPrefixName IPAM –IpamServerFq
    dn minte.actdir.ipade.mx –DelegatedGpoUser Administrator -DomainController discovery.actdir.ipade.mx
    Invoke-IpamGpoProvisioning : Failed to import GPO. The system cannot find the file specified. (Exception from HRESULT:
    0x80070002)
    At line:1 char:1
    + Invoke-IpamGpoProvisioning –Domain actdir.ipade.mx –GpoPrefixName IPAM –IpamServ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Invoke-IpamGpoProvisioning], Exception
        + FullyQualifiedErrorId : InvalidOperation,Invoke-IpamGpoProvisioning
    In the event viewer  I founf this but I don't know what to do.
    Import of backup failed. Error [The system cannot find the file specified.
    Details -
         Backup
             Directory: The system cannot find the file specified.
             Instance : C:\Users\Administrator.IPADE.MX\AppData\Local\Temp\1\ipamprov
             Comment  : {09673450-4573-42E8-85D0-104144DF0BA3}
             Source GPO:
                 DisplayName: IPAMGPO_DNS
                 ID: IPAMGPO_DNS
                 Domain: {7F345996-1D92-4194-85BF-72BFB5298EDA}
         Destination GPO:
                 DisplayName: ipamtestsetup.com
                 ID: IPAM_DNS
                 Domain: {447E8380-91AF-4C2D-8DAA-2C090A6400E8}

    Hi,
    Before going further, what was name specified in the IPAM provisioning wizard while selecting Group Policy based provisioning method? The GPO prefix name specified in the
    PowerShell command must be same as the one specified in the IPAM provisioning wizard while selecting Group Policy based provisioning method.
    Regarding Invoke-IpamGpoProvisioning, the following article can be referred to as reference.
    Invoke-IpamGpoProvisioning
    http://technet.microsoft.com/en-us/library/jj553805.aspx
    Best regards,
    Frank Shen

  • Problem with JFrame and busy/wait Cursor

    Hi -- I'm trying to set a JFrame's cursor to be the busy cursor,
    for the duration of some operation (usually just a few seconds).
    I can get it to work in some situations, but not others.
    Timing does seem to be an issue.
    There are thousands of posts on the BugParade, but
    in general Sun indicates this is not a bug. I just need
    a work-around.
    I've written a test program below to demonstrate the problem.
    I have the problem on Solaris, running with both J2SE 1.3 and 1.4.
    I have not tested on Windows yet.
    When you run the following code, three JFrames will be opened,
    each with the same 5 buttons. The first "F1" listens to its own
    buttons, and works fine. The other two (F2 and F3) listen
    to each other's buttons.
    The "BUSY" button simply sets the cursor on its listener
    to the busy cursor. The "DONE" button sets it to the
    default cursor. These work fine.
    The "SLEEP" button sets the cursor, sleeps for 3 seconds,
    and sets it back. This does not work.
    The "INVOKE LATER" button does the same thing,
    except is uses invokeLater to sleep and set the
    cursor back. This also does not work.
    The "DELAY" button sleeps for 3 seconds (giving you
    time to move the mouse into the other (listerner's)
    window, and then it behaves just like the "SLEEP"
    button. This works.
    Any ideas would be appreciated, thanks.
    -J
    import java.awt.BorderLayout;
    import java.awt.Cursor;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class BusyFrameTest implements ActionListener
    private static Cursor busy = Cursor.getPredefinedCursor (Cursor.WAIT_CURSOR);
    private static Cursor done = Cursor.getDefaultCursor();
    JFrame frame;
    JButton[] buttons;
    public BusyFrameTest (String title)
    frame = new JFrame (title);
    buttons = new JButton[5];
    buttons[0] = new JButton ("BUSY");
    buttons[1] = new JButton ("DONE");
    buttons[2] = new JButton ("SLEEP");
    buttons[3] = new JButton ("INVOKE LATER");
    buttons[4] = new JButton ("DELAY");
    JPanel buttonPanel = new JPanel();
    for (int i = 0; i < buttons.length; i++)
    buttonPanel.add (buttons);
    frame.getContentPane().add (buttonPanel);
    frame.pack();
    frame.setVisible (true);
    public void addListeners (ActionListener listener)
    for (int i = 0; i < buttons.length; i++)
    buttons[i].addActionListener (listener);
    public void actionPerformed (ActionEvent e)
    System.out.print (frame.getTitle() + ": " + e.getActionCommand());
    if (e.getActionCommand().equals ("BUSY"))
    frame.setCursor (busy);
    else if (e.getActionCommand().equals ("DONE"))
    frame.setCursor (done);
    else if (e.getActionCommand().equals ("SLEEP"))
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    else if (e.getActionCommand().equals ("INVOKE LATER"))
    frame.setCursor (busy);
    SwingUtilities.invokeLater (thread);
    else if (e.getActionCommand().equals ("DELAY"))
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (busy);
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.print (" finished");
    System.out.println();
    Runnable thread = new Runnable()
    public void run()
    try { Thread.sleep (3000); } catch (Exception ex) { }
    frame.setCursor (done);
    System.out.println (" finished");
    public static void main (String[] args)
    BusyFrameTest f1 = new BusyFrameTest ("F1");
    f1.addListeners (f1);
    BusyFrameTest f2 = new BusyFrameTest ("F2");
    BusyFrameTest f3 = new BusyFrameTest ("F3");
    f2.addListeners (f3); // 2 listens to 3
    f3.addListeners (f2); // 3 listens to 2

    I've had the same problems with cursors and repaints in a swing application, and I was thinking of if I could use invokeLater, but I never got that far with it.
    I still believe you would need a thread for the time consuming task, and that invokeLater is something you only need to use in a thread different from the event thread.

  • Studio 12.1 Performace Analyzer 7.7 problem, with 'er_print' utility.

    I am having a minor but nagging problem with a regression in the ‘er_print’ utility of the Sun Performance Analyzer suite bundled in Studio 12. is there maybe a patch available or in the works?
    I have not had any success in finding a resolution by searching the open literature…
    The issue is that the ‘callers-callees’ listing only dumps functions in alphabetical order, ignoring the sort order specified by ‘sort’. This is a regression from the Performance Analyzer (7.4) behavior from Sun Studio 10. We only recently jumped to studio 12.1.
    This functionality is documented here: http://docs.sun.com/app/docs/doc/821-0304/afaid?a=view (as well as many other references). To quote:
    “callers-callees
    Print the callers-callees panel for each of the functions, in the order specified by the function sort metric (sort)."
    I use a script input to er_print that in the past analyzed the top ‘N’ functions sorted on inclusive thread time. Now I have to be sure to dump ALL functions and need a third-party search tool to find that information in the resulting report.
    Has anyone heard of this problem or are there Performance Analyzer patch(es) available. I saw some for 7.6 and another for unspecified but have not seen this problem in patch notices.
    Thanks.
    Regards,
    Steve

    Nik, thanks for taking a look. We can't go to 12.2 because we're a software developer and we'll lose our binary compatibility with the release we've been building for the last few months. I'm a systems guy and will paste in a developer's example below.
    Note Marc's url shows a 12.1 Performance Analyzer patch 142369-01 we have not yet installed. The patch notice description doesn't show much. I'll pass on patch info to remote user/developer.
    Developer example:
    I use a script input to er_print that in the past analyzed the top ‘N’ functions sorted on inclusive thread time. Now I have to be sure to dump ALL functions and need a third-party search tool to find that information in the resulting report.
    Here’s a shortened (only 4) example of the behavior I’m seeing… the focus of the functions in callers-callees are NOT those of the functions determined by the sort metric.
    = = = =
    sysun046% er_print /scratch/test.4.er
    /scratch/test.4.er: Experiment has warnings, see header for details
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) sort i.total
    Current Sort Metric: Inclusive Total Thread Time ( i.total )
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) cmetrics a.total:e.user:i.user:e.total:i.total
    Current caller-callee metrics: a.total:e.user:i.user:e.total:i.total:name
    Current caller-callee sort metric: Attributed Total Thread Time ( a.total )
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) limit 4
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) sample_select 22-53
    Exp Sel Total
    === ===== =====
    1 22-53 57
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) functions
    Functions sorted by metric: Inclusive Total Thread Time
    Excl. Incl. Incl. Total Name
    User CPU User CPU Thread
    sec. sec. sec.
    26.015 26.015 113.530 <Total>
    0. 26.015 113.530 ACE_Task_Base::svc_run(void*)
    0. 26.015 113.530 ACE_Thread_Adapter::invoke()
    0. 26.015 113.530 ORB_Task::svc()
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) callers-callees
    Functions sorted by metric: Inclusive Total Thread Time
    Callers and callees sorted by metric: Attributed Total Thread Time
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    113.530 26.015 26.015 113.530 113.530 *<Total>
    113.530 0. 26.015 0. 113.530 lwpstart
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    0.010 0. 0.010 0. 0.010 ACE_Message_Block::clone(unsigned long)const
    0. 0. 0.010 0. 0.010 *ACE_Data_Block::clone(unsigned long)const
    0.010 0.398 0.398 0.398 0.398 memcpy
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    0.001 0. 0.003 0. 0.011 ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Token> >::resume_handler(int)
    0.001 0.001 0.001 0.001 0.001 *ACE_Guard<ACE_Select_Reactor_Token_T<ACE_Token> >::release()
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    0.010 0. 0.010 0. 0.010 TAO_Synch_Queued_Message::clone(ACE_Allocator*)
    0. 0. 0.010 0. 0.010 *ACE_Message_Block::clone(unsigned long)const
    0.010 0. 0.010 0. 0.010 ACE_Data_Block::clone(unsigned long)const
    = = = = =
    Nik, thanks for taking a look.
    Steve

Maybe you are looking for

  • Can't get my iPhone5S to show up in My Computer (Windows 7)

    Can't seem to get my iPhone5S (OS 7.1.1, left 120MB storage) to show up in My Computer (Windows 7) for file transfer.  Whereas another iPhone5S can show up in my PC's My Computer; and my own iPhone can show up on another PC's My Computer.  My iPhone

  • 3G or E not showing up on phone and internet not working

    I have a 3G phone and saw it said no service the other day so I rebooted and it had ATT with the bars but no 3G or E. Therefore I have no internet service unless on WIFI, am 9 days out of warrenty, and my husband's 3G is working fine on his iphone 4.

  • Movie in and movie out

    Hi everyone! I'm new here. I hope you can understand what i want to say. I have 2 buttons, and each of them have a movieclip. When I press button 1 a movieclip is played and the same happens with button 2. What I want is a transition effect. When peo

  • Why am I unable to update my apps on either of my iPads?

    I have (2) iPads and they both are showing I have numerous app updates available.  When I go to the update screen I just get a blank white screen.  This is the same on both of my iPads.

  • Since upgrading to iTunes 10.5.1 I am unable to sync my iPad

    The first issue began with iTunes crashing.  I then uninstalled and reinstalled the 64-bit version of iTunes. I am now unable to sync my iPad.  Please, can someone help me?  Apple Support is worthless since I can't seem to contact anyone.  Any help w