Looking for script - Quarantine policy reporting

I'm looking for a way(script or CLI) to gather percentage information for Quarantine policy's and dump it to a ".csv" or ".txt" file.
What I want is to collect the percentage of quarantined messages per policy.
Thanks for your help in advance,

jgarry wrote:
[This one?|http://www.petefinnigan.com/find_all_privs.sql]
That would be the one!
Thanks.

Similar Messages

  • Looking for Script Exchange-2007: Import-Mailbox Calendar Folder on multiple mailboxes {Distribution Group}

    Hi,
    I'm looking for a PowerShell script which will import a Calendar events into student's mailbox (Calendar). Those students are located in a distribution group and I would like to target the distribution group; I'm trying to simulate what I want to achieve
    in the below code example, I would appreciate if anyone jump in and advise.
    $Users = Import-Csv C:\users.csv | ForEach-Object{Get-DistributionGroup -Identity SC-1213} | Import-Mailbox -Identity $Users -PSTFolderPath c:\Calendar.pst -IncludeFolders '\Calendar' -StartDate -EndDate
    Much appreciated..
    Hussain

    The logic doesn't work unless you are using StartDate and EndDate for the period when you change the item.  As I said above, StartDate and EndDate are not the times when the meeting starts and ends - they are the times that the item was either added
    or modified in the mailbox.  Your filter was trying to pull items that were in the future.
    And as I also said above, if you import a modified item, the original is
    not going to be updated.  You will have a duplicate meeting
    on the calendar.  You would have to remove the original
    and import the updated item if this was how you wished to manage the updates.  This is not nearly as effective as
    sending meeting requests and updating those meetings.
    For example, if we do things the way you are doing them, and we add a "Student Appreciation Bonfire" meeting to the calendar for April 12 at "The Quad", we would do the following:
    On February 1, you get information for the meeting that needs to be imported
    You create this new meeting in the PST calendar - "Student Appreciation Bonfire"; Date April 12, start 8:00 AM, end 12:00 noon; Location The Quad
    You import the PST into everyone's calendar
    You receive a note on March 12 saying the venue has changed to The River Beach, so you update this meeting in your PST
    Since there are other calendar items in the PST, you import the update using StartDate of March 12 and EndDate of March 13 - the date that you changed the item, not the date the item occurs
    At this point, all users have two meetings on their calendar - the original and the update
    If, instead of doing it this way, you create a Student Actvities Calendar mailbox, you would handle it this way:
    On February 1, you get information for the meeting that needs to be imported
    You create this new meeting in the Corporate calendar - "Student Appreciation Bonfire"; Date April 12, start 8:00 AM, end 12:00 noon; Location The Quad
    You invite everyone to the meeting
    You receive a note on March 12 saying the venue has changed to The River Beach, so you update this meeting in that calendar and send out the update
    At this point, all users have only the one meeting on their calendar - the update
    Using the PST as the source for the meetings would work only for items that
    will not be changed - holidays are a good example.

  • Please help! Looking for script to insert current date on page.

    I currently use a Dreamweaver Extension that lets you insert
    current date and time on your web page.
    The problem is, I don't know Javascript and cannot edit the
    Javascript codes to "remove the time"
    I only need the current date that will change every day.
    Do you know where I can get this script, I goggled and got
    several but I'm looking for something authentic.
    Also is it possible to have your page validate when you use
    Javascript embedded in your HTML?
    Thanks everyone,
    Patrick

    quote:
    Originally posted by:
    Newsgroup User
    Webethics wrote:
    > The problem is, I don't know Javascript and cannot edit
    the Javascript codes
    > to "remove the time"
    > I only need the current date that will change every day.
    JavaScript generates the date by using the clock on the
    computer of each
    visitor to your site. If a visitor's clock has the wrong
    date, your site
    will also display the wrong date.
    > Do you know where I can get this script, I goggled and
    got several but I'm
    > looking for something authentic.
    I don't know what you mean by "authentic". Date generation in
    JavaScript
    is one of the most basic features of the language, so if it
    works, it's
    "authentic".
    > Also is it possible to have your page validate when you
    use Javascript
    > embedded in your HTML?
    Yes, but you shouldn't embed JavaScript in XHTML.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/
    So mr. Powers are there people that use Javascript Date in
    their page?
    Would you recommend it?
    I could use PHP but I don't know PHP,
    How do I come up with the string in this format, say,
    Wednesday, October 29th, 2008 that will change to a new day
    according to the server time and date.
    Thanks so much for your help and I have two of your books! I
    will be taking PHP classes in December.
    Patrick

  • Looking for a Cost Analysis report by material

    Hi All, I'm looking for a report similar that the one you can see in MM03->Costing 2 view->"Actual" Button but for all materials not just one. Is there anything like that in SAP o do we need to depelop a new report?
    Thanks in advance. Mauro.

    Hi,
    Check t.code: MCRE
    Also check report with t.code:KSB1 with selection of materials.
    Regards,
    Biju K

  • Looking for script to auto resize images

    I have a commerce site and we have 3 sizes of images thumb
    nail, standard
    and fullsize. Ideally I'd like to maintain just one image
    folder so I don't
    have to keep synching and batch resizing.
    I'm looking for a script that would resample/resize images on
    the fly so I
    only have to maintain one directory. Does anyone know of such
    a script? It
    doesn't have to be free.
    Thanks

    .oO(robbie)
    >I have a commerce site and we have 3 sizes of images
    thumb nail, standard
    >and fullsize. Ideally I'd like to maintain just one image
    folder so I don't
    >have to keep synching and batch resizing.
    >
    >I'm looking for a script that would resample/resize
    images on the fly so I
    >only have to maintain one directory. Does anyone know of
    such a script? It
    >doesn't have to be free.
    What language? With PHP for example it's quite easy using the
    GD
    functions.
    Another way would be to use an external software. I prefer
    Paint Shop
    Pro for all image-related stuff. Things like creation of
    thumbnails in
    different sizes can easily be automated by using its own
    scripting
    language (based on Python).
    Micha

  • Looking for Scripts that Replaces Text and Master Pages (Batch Missing Files and PDFs)

    I have just found the Script Library panel in FM 10. (Always used InDesign before.)
    I'm up to replace a text string and two master pages in 100+ documents. Tried to google for some nice solutions to make this automatically but cannot find any scripts/macros to FM at all.
    Do you have som tip where to find such scripts/macros?
    To facilitate my work I also look for a batch script that automatically updates the image pathes in each framemaker file (image folder has been renamed).
    And at a last FrameMaker -> PDF Batch converter.

    100 is a small enough number that no time may be saved writing a script (assuming none exist for the purpose).
    I'd be tempted to ...
    Create a sourcing file that has the new MPs needed (and safe versions of MPs "Left" and "Right")
    Create a new Book file.
    Add to it all 100 of the files needing update (this is the only tedious part).
    Use Find/Replace from the Book menu to fix the text string.
    Select all book component files:
    File > Import > Formats
    Import from Document [MPsourcefilename.fm]
    [Deselect All]
    [*] Page Layouts
    [Import]

  • Looking for scripter

    I'm wildife biology student and I'm using Adobe Photoshop to quantify color of wild animals. I'm looking for someone who can help me to adjust a java script.
    The script automatizes random point selection in an image and gives an average color of the points.
    I need the script to do two more things for me:
    1. Save the RGB values from the random points into a spreadsheet so I can calculate stadard error OR provide the error along with the average RGB.
    2. Randomly select points in a highlighted area of the photo (now it randomly selects points in the whole image, but I need it to select just from the animal (not the background).
    If you know how to add either of these to the script, please let me know.
    Thank you,
    Marketa Zimova

    Here is another version. It puts a stroke around the selection so it is easier to see. You might want to edit the color.
    And yes you can include my name in the acknowledgement section if you wish.
    // script expect  an open single layer document in RGB mode with a selection of the area to sample.
    // the csv file is written to the desktop and the script will overwrite an existing samples.csv
    main();
    function main(){
         if( app.documents == 0 ) {
              alert("No image to process");
              return;
         var doc = app.activeDocument;
         if( doc.mode != DocumentMode.RGB ){
              alert("Image must be in RGB mode to sample");
              return;
         if( !hasSelection( doc ) ){
              alert("Please make a selection of target animal\rbefore running script");
              return;
         var numberOfSamples = Number(prompt("How many selections should be made?",10));
         if(  numberOfSamples == NaN )  numberOfSamples = 1;
         var sampleSize = Number(prompt("What size should each selection be?(NxN px)", 3));
         if( sampleSize == NaN ) sampleSize = 3;
         var originalLayer = doc.activeLayer;// make reference to current layer
         executeAction( charIDToTypeID( "CpTL" ), undefined, DialogModes.NO );// dupe selection to new layer
         var sampleLayer = doc.activeLayer;// make reference to that new layer
         originalLayer.visible = false;// turn off original layer
         var samples = [];// make array to hold samples
         var bounds = sampleLayer.bounds;
         var layerX = bounds[0].as('px');
         var layerY = bounds[0].as('px');
         var layerWidth = bounds[2].as('px') - bounds[0].as('px');
         var layerHeight = bounds[3].as('px') - bounds[1].as('px');
         // make requested number of samples
         var s = 0;
         while(  s < numberOfSamples ){
              var sX = randomRange( layerX, layerX + layerWidth );
              var sY = randomRange( layerY, layerY + layerHeight );
              var cs = doc.colorSamplers.add( [ new UnitValue( sX, 'px' ), new UnitValue( sY, 'px' ) ] );
              var sample = getSelectionColor( 0, sampleSize );
              if( undefined != sample ){
                   samples.push( sample );
                   s++;
              cs.remove();
         var sampleFile = new File('~/Desktop/samples.csv');
         sampleFile.open('w');
         sampleFile.writeln('red,green,blue');
         for( var s = 0; s< samples.length;s++ ){
              sampleFile.writeln( samples[s].rgb.red+','+samples[s].rgb.green+','+samples[s].rgb.blue );
         sampleFile.close();
         function randomRange( minVal, maxVal ){
              return minVal+Math.floor(Math.random()*( maxVal-minVal ));
         // Function: hasSelection
         // Description: Detremines if there is a selection
         // Usage: alert(hasSelection())
         // Input:
         // Return:  true or false
         // Dependencies:
          function hasSelection(doc) {
              var res = false;
              var as = doc.activeHistoryState;
              doc.selection.deselect();
              if (as != doc.activeHistoryState) {
                   res = true;
                   doc.activeHistoryState = as;
              return res;
         // adapted from scirpt by jugenjury at adobefourms
         function getSelectionColor( s, A ){
              var origRulerUnits = app.preferences.rulerUnits;
              app.preferences.rulerUnits = Units.PIXELS;
              try{
                   if ( undefined == s ) { s=0; }
                   if ( undefined == A ) { A=1; }
                   var CP = app.activeDocument.colorSamplers;
                   var sampleSize = A;
                   var r=((A-1)/2);
                   var x=Math.round(CP[s].position[0]-r);
                   var y=Math.round(CP[s].position[1]-r);
                   activeDocument.selection.select([[x, y], [x+sampleSize, y], [x+sampleSize, y+sampleSize], [x, y+sampleSize]], SelectionType.REPLACE, 0, false);
                   activeDocument.activeLayer.applyAverage();
                   var re = RegExp( '[123456789]' );
                   var sColor = new SolidColor();
                   if ( activeDocument.mode == DocumentMode.GRAYSCALE ) {
                        var gv = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                        sColor.gray.gray = 100 * (gv/255);
                   if ( activeDocument.mode == DocumentMode.RGB ) {
                        sColor.rgb.red = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                        sColor.rgb.green = re.exec( activeDocument.channels[1].histogram.toString() ).index/2;
                        sColor.rgb.blue = re.exec( activeDocument.channels[2].histogram.toString() ).index/2;
                   if ( activeDocument.mode == DocumentMode.LAB ) {
                        var lv = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                        sColor.lab.l = 100 * ( lv/255 );
                        sColor.lab.a = ( re.exec( activeDocument.channels[1].histogram.toString() ).index/2 ) - 128;
                        sColor.lab.b = ( re.exec( activeDocument.channels[2].histogram.toString() ).index/2 ) -128;
                   if ( activeDocument.mode == DocumentMode.CMYK ) {
                        var cv = re.exec(activeDocument.channels[0].histogram.toString() ).index/2;
                        sColor.cmyk.cyan = 100 * (1-(cv/255));
                        cv = re.exec(activeDocument.channels[1].histogram.toString() ).index/2;
                        sColor.cmyk.magenta = 100 * (1-(cv/255));
                        cv = re.exec(activeDocument.channels[2].histogram.toString() ).index/2;
                        sColor.cmyk.yellow = 100* (1-(cv/255));
                        cv = re.exec(activeDocument.channels[3].histogram.toString() ).index/2;
                        sColor.cmyk.black = 100 * (1-(cv/255));
                   executeAction( charIDToTypeID('undo'), undefined, DialogModes.NO );
                   executeAction( charIDToTypeID( "CpTL" ), undefined, DialogModes.NO );// dupe selection to new layer
                   applyInsideStroke();
                   app.refresh();
                   var keep = confirm("Sample at px "+sX+','+sY+ ' is R:'+sColor.rgb.red+', G:'+sColor.rgb.green+', B:'+sColor.rgb.blue+'.\rKeep?',true);
                   app.activeDocument.activeLayer.remove();
                   activeDocument.selection.deselect();
                   if( keep == true )return sColor;
                   app.preferences.rulerUnits = origRulerUnits;
              }catch(e){
                   app.preferences.rulerUnits = origRulerUnits;
         function applyInsideStroke( sColor ) {
              var sColor = new SolidColor;
              sColor.rgb.hexValue = '6dfe02';// edit stroke color here
              var desc = new ActionDescriptor();
                   var ref = new ActionReference();
                   ref.putProperty( charIDToTypeID('Prpr'), charIDToTypeID('Lefx') );
                   ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
              desc.putReference( charIDToTypeID('null'), ref );
                   var effectDesc = new ActionDescriptor();
                   effectDesc.putUnitDouble( charIDToTypeID('Scl '), charIDToTypeID('#Prc'), 100.000000 );
                        var strokeDesc = new ActionDescriptor();
                        strokeDesc.putBoolean( charIDToTypeID('enab'), true );
                        strokeDesc.putEnumerated( charIDToTypeID('Styl'), charIDToTypeID('FStl'), charIDToTypeID('InsF') );
                        strokeDesc.putEnumerated( charIDToTypeID('PntT'), charIDToTypeID('FrFl'), charIDToTypeID('SClr') );
                        strokeDesc.putEnumerated( charIDToTypeID('Md  '), charIDToTypeID('BlnM'), charIDToTypeID('Nrml') );
                        strokeDesc.putUnitDouble( charIDToTypeID('Opct'), charIDToTypeID('#Prc'), 100.000000 );
                        strokeDesc.putUnitDouble( charIDToTypeID('Sz  '), charIDToTypeID('#Pxl'), 2.000000 );
                             var colorDesc = new ActionDescriptor();
                             colorDesc.putDouble( charIDToTypeID('Rd  '), sColor.rgb.red );
                             colorDesc.putDouble( charIDToTypeID('Grn '), sColor.rgb.green );
                             colorDesc.putDouble( charIDToTypeID('Bl  '), sColor.rgb.blue );
                        strokeDesc.putObject( charIDToTypeID('Clr '), charIDToTypeID('RGBC'), colorDesc );
                   effectDesc.putObject( charIDToTypeID('FrFX'), charIDToTypeID('FrFX'), strokeDesc );
              desc.putObject( charIDToTypeID('T   '), charIDToTypeID('Lefx'), effectDesc );
              executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );

  • Where to look for log files & crash reports to help debug lockups?

    Where would I look for possible log files or crash information that may provide clues on what the problem is?
    Three or four times in the past few days my system has became unresponsive requiring a power-cycle. The little prism-colored round-cursor appears. I can drag windows about with my BlueTooth mouse (but not the trackpad) and that's about. The Function keys are not responsive. Other times the UI may becomes totally unresponsive.
    A couple of weeks ago I Carbon Copy cloned my hard drive to a new 500GB Hitachi 7200 RPM ( I have 200GB free space now ). Before upgrading, I do not recall having had this problem. It usually occurs when I am running a Linux Red Hat Enterprise Linux 5.2 VM under Parallels. Parallels may have nothing to do with it as that's what I do all day ( develop Linux software in a VM ).
    I have a MacBook Pro 2.4Ghz, OS X 10.6.3.
    Thanks in advance for any tips or suggestions,
    -Ed

    This is a Mac OS X issue. I am not using Boot Camp or otherwise dual-booting. I am running Linux in a virtual machine under a Parallels Mac OS X host; in effect running Linux as an application under OS X.
    Unfortunately I did not see any clues in either log file location. Thank you very much for explaining where to look. I ran Disk Utility and repaired a bunch of permissions. Perhaps I should have done this before and after making the Carbon Copy clone.
    -Ed

  • UCCX - Looking for Script to forward the call

    attached

    OK, then it's relatively easy. First, let's create CSQ's per site. For instance, there will be a CSQ named "SiteA", "SiteB", "SiteN" etc. Next, we can create a script that takes a look at the caller's ANI (you can easily get that information using the Get Call Contact Info step). Based the ANI, we will take a look at the number of the agents available at the preferred site (using the Get Reporting Stats step). If it's not 0, we can go and route the call. If it's 0, then we can get the number of the available agents at the next preferred site and again, the next preferred site, until we get a site with at least one available agent.
    G.

  • Looking for _synchronous_ call to report

    Hello,
    (Oracle 9iR2-902-EE)
    I have the following sequence:
    --plsql_batch1
    --report1
    --plsql_batch2
    batch2 starts only after report completed.
    I am aware of
    --UT_HTTP package
    --SRW package
    --HOST procedure
    Looks like all of possibilities are non-blocking
    asynchronous calls. Some forum posts describe
    checking on status (SRW package) in loop.
    Is there some better solutions to call report
    not from URL but more "natively" with better control
    over end time and status (blocking mode).
    Thank you in advance for any advice.
    Alex V.

    Hi,
    In your case, you can use the following cmdlet to determine unused mailboxes. If a mailbox has never logged on, the Lastlogontime is empty.
    Get-Mailbox|Get-MailboxStatistics |fl DisplayName,Lastlogontime
    Use the cmdlet below to get publicfolder's last access time.
    Get-PublicFolderStatistics |fl name,LastAccessTime
    Get all distribution lists used over last 30 days.
    Get-MessageTrackingLog -EventId Expand -ResultSize Unlimited |Sort-Object RelatedRecipientAddress | Group-Object RelatedRecipientAddress |Sort-Object Name | Select-Object @{label=”PrimarySmtpAddress”;expression={$_.Name}}, Count
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Looking for good tool to report on unused Mailboxes, unused Distribution Groups, and unused Public Folders

    I have evaluated the following products.
    Quest (Dell) MessageStats
    Enow
    StealthAudit
    StealthAudit looked to be the best as they also group like mailboxes with like permissions for Office 365 migrations, but this was by far the most expensive.
    We are looking to clean up our environment to eventually migrate to Office 365.  Any advice on a product that would report on unused Mailboxes, unused Distribution Groups, and unused Public Folders that would be great.
    d

    Hi,
    In your case, you can use the following cmdlet to determine unused mailboxes. If a mailbox has never logged on, the Lastlogontime is empty.
    Get-Mailbox|Get-MailboxStatistics |fl DisplayName,Lastlogontime
    Use the cmdlet below to get publicfolder's last access time.
    Get-PublicFolderStatistics |fl name,LastAccessTime
    Get all distribution lists used over last 30 days.
    Get-MessageTrackingLog -EventId Expand -ResultSize Unlimited |Sort-Object RelatedRecipientAddress | Group-Object RelatedRecipientAddress |Sort-Object Name | Select-Object @{label=”PrimarySmtpAddress”;expression={$_.Name}}, Count
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • NWA 7.3 : Looking for "security roles" (Policy Configuration) ...

    Hi guys,
    We deployed a simple application in our new SAP NW 7.3 JAVA instance; by calling the application, we receive "error 403 : Error: You are not authorized to view the requested resource."; this was fixed wihtin NW 7.x by adding a user/group within security roles of the selected component ( Visual Admin => Security Provider => Policy Configurations => select component and than security roles );
    where to do this within NWA 7.3 ?
    any ideas;
    Thanks
    Oliver

    Hi Oliver,
    Procedure
      Start SAP NetWeaver Administrator with the quick link /nwa/auth.
      Choose Components.
      Select a policy configuration.
      On the Authentication Stack tab, choose the Edit pushbutton.
      Determine if you want to use an existing template or if you want to change the policy configuration of the current component. 
    To use an existing template, select a template from the Used Template field.
    For authscheme references, select a template from Used Authscheme.
    The component uses the settings and authentication stack from the template. To edit these settings, edit the settings of the policy configuration template. To create a new template, see Creating Authentication Stack Templates for Policy Configurations.
      To change the policy configuration of the current component, do the following: 
    Add and remove login modules as required.
    The system applies the login modules in the order they appear in the list.
      Set a processing flag for each login module. 
    For more information about login module flags, see Policy Configurations and Authentication Stacks.
      Add and remove any options to the login modules.
      Set the authentication stack parameters according to the type of policy configuration. 
    Please,go through below help file
    http://help.sap.com/saphelp_nw73/helpdata/en/4a/734e26fa92731fe10000000a42189c/frameset.htm
    Cheers
    Revanth Pasupuleti

  • The first thing to look for in an AWR report

    DB version:10gR2
    Since AWR report contains a wealth of information, where should i start looking at first? Is it the Top 5 timed events?
    Message was edited by:
    james_p

    DB version:10gR2
    Since AWR report contains a wealth of information,
    where should i start looking at first? Is it the
    Top 5 timed events?
    Depends on why you are looking at the report. You might want to gander at When your query takes too long ...

  • Looking for script that will connect product and shopping cart

    I'm looking where I can find the script to make the product price or any other specifacations work with the shopping cart. Does anybody know where I can find this script at online?
    Thanks
    Bobby

    I'm looking where I can find the script to make the product price or any other specifacations work with the shopping cart. Does anybody know where I can find this script at online?
    Thanks
    Bobby

  • Looking for Scripts that Replaces Text and Master Pages

    I have just found the Script Library panel in FM 10. (Always used InDesign before.)
    I'm up to replace a text string and two master pages in 100+ documents. Tried to google for some nice solutions to make this automatically but cannot find any scripts/macros to FM at all.
    Do you have som tip where to find such script/macro?

    100 is a small enough number that no time may be saved writing a script (assuming none exist for the purpose).
    I'd be tempted to ...
    Create a sourcing file that has the new MPs needed (and safe versions of MPs "Left" and "Right")
    Create a new Book file.
    Add to it all 100 of the files needing update (this is the only tedious part).
    Use Find/Replace from the Book menu to fix the text string.
    Select all book component files:
    File > Import > Formats
    Import from Document [MPsourcefilename.fm]
    [Deselect All]
    [*] Page Layouts
    [Import]

Maybe you are looking for