DFSR Reporting " not working correctly

I'm trying to get the following script to work, posted questions at the site but not sure if he is viewing the blog anymore.
http://gallery.technet.microsoft.com/scriptcenter/10ca8b47-b0ec-4910-bdd7-52ce2d4bca41#conten
Couple of things is not working with Powershell reporting of DFSR, (works in batch file)
1) The DFSAdmin.exe reports "/Rgname:Domain is not a valid subobject" as I am trying to report on "Domain System Volume".   It doesn't like the " and doesn't like spaces!
DfsrAdmin.exe Health New /RgName:`"Domain System Volume`" /RefMemName:$ReferralDC /RepName:$ReportFilePath /FsCount:true 
Tried to use variable name instead but same result 
$Rgname = "`"Domain System Volume`""
DfsrAdmin.exe Health New /RgName:$Rgname /RefMemName:$ReferralDC /RepName:$ReportFilePath /FsCount:true 
2) parsing of report file name doesn't work either, I get "Send-MailMessage : Thew device is not ready.
If I do echo ($ReportFilePath+".html"), the result is correct as I replace the variable with result of the echo and it works!
$ReportFilePath = "d:\Reporting\Reports\Health-report-"+(Get-Date -UFormat %Y-%m-%d) 
Send-MailMessage -From $EmailFrom -To $EmailTo -SmtpServer $SmtpServer -Subject $EmailSub -Body "The DFS-R Health Report is attched to this e-mail" -Attachments
($ReportFilePath+".html")
The is all on Windows 2008 R2

I've replaced dfsradmin.exe with showargs.exe in a home lab.....
I get the following result, (missing first ")
$Rgname = "Domain System Volume"
/RgName:Domain System Volume"
Changing the variable to following doesn't work either: (add a double quote)
$Rgname = "`"Domain System Volume"
Re-ran showargs.exe and display is correct but fails with dfsradmin.exe
Showargs.exe shows:     "/RgName:"Domain System Volume"
DFSRadmin.exe still error out:   The subobject "/RgName:"Domain is not a valid subobject.

Similar Messages

  • Sort in Report not working correctly

    I have a report with many sorts selected as an option within the reports attributes. However, some of the columns does not seem to be sorting at all when Selected (Others do as expected)
    For example one column is a VARCHAR2
    examples of values within this column would be
    (FY08Q1, FY09Q4, FY08Q2)
    with the sort ticked in the report attributes i would expected it to perform the following
    FY08Q1
    FY08Q2
    FY09Q4
    which it does in the SQL Command - just not in the report in the Application.
    Anyone know as to a reason why it may be doing so?
    cheers
    s

    Hi
    I just created a test table, called datetest, with one column, called quarter. I inserted your data in the following order:
    FY08Q1
    FY09Q4
    FY08Q2
    I tested in SQLPlus that it returned ordered data ok with Select quarter from datetest order by 1, this worked.
    I then created a simple report based upon the query used in the previous paragraph and the report ordered the data correctly, i.e:
    FY08Q1
    FY08Q2
    FY09Q4
    Can you post your query as I can't work out what is wrong here?
    Thanks
    Karen

  • Exchange 2013 Delivery Reports not working correctly

    Hello,
    I'm trying to use the "delivery reports" tool in ECP and it is not acting normally. Here's the situation:
    When I try to search a mailbox ([email protected]) for mails that were sent to [email protected] (a distribution group) I only see results that were sent from [email protected] to [email protected] Not all the messages in [email protected]'s mailbox that were sent to [email protected] 
    So in summary, instead of showing all messages in that mailbox, it shows me all messages on [email protected]'s mailbox that were sent by [email protected] to [email protected]
    I have used Exchange Online, which should be almost the same as Exchange 2013 but this was not the behavior before. Can this be a wrong setting somewhere? Can it be related to anti-spam (GFI) software on the serer?  Any ideas?

    Hi,
    How did you use delivery reports tool to track messages ? Is it like below?
    *Mailbox to Search: [email protected]
    Search for messages sent to: [email protected]
    In general, it will show all the messages in [email protected] which were sent to
    [email protected], however, if the mailbox has applied any retention policys to delete emails or move the emails to local pst, it may cause your issue.
    More information about "Delivery Reports" for your reference:
    Track Messages with Delivery Reports
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • SSRS 2008 R2/SSRS 2012 Tab Delimited setup is not working correctly in Report Designer

    I have changed a RSReportDesigner.config to add a tab delimited option for report export, but it is not working correctly in vs2008/vs2010 report designer. I get a duplicate of CSV (comma delimited) in the export dropdown list.
    I have tested SSRS 2008 R2/SSRS 2012 on Windows 7 64 bit professional.
    It is working correctly in the report manager.
    <Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
            <OverrideNames>
                <Name Language="en-US">TAB delimited</Name>
            </OverrideNames>
            <Configuration>
                <DeviceInfo>
                    <FieldDelimiter xml:space="preserve">&#9;</FieldDelimiter>
                    <Encoding>ASCII</Encoding>
                    <UseFormattedValues>False</UseFormattedValues>
                    <NoHeader>False</NoHeader>
                    <FileExtension>TXT</FileExtension>
                </DeviceInfo>
            </Configuration>
          </Extension>

    Hi Dave0323,
    According to your description, you want to export your report into TXT file and change the delimiter to be a Tab. Right?
    In Reporting Services, when exporting to a CSV file, we can change the default field delimiter to any character that we want, including TAB, by changing the device information settings in the configuration file. For example, to use TAB,
    update the FieldDelimiter setting to <FieldDelimiter xml:space="preserve">[TAB]</FieldDelimiter>. And we can change the FileExtension to be TXT if we want to export it into a TXT file. So in this scenario, we just need to modify the configuration
    file like below:
    The result looks like below:
    Reference:
    CSV Device Information Settings
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • ** Filtering is not working correctly in ALV (REUSE_ALV_GRID_DISPLAY)

    Hi Friends,
    We have one Z report that output is displayed in ALV. We are using the standard FM 'REUSE_ALV_GRID_DISPLAY. 
    We have requirement to remove leading zeros for the field like Material Number (MATNR), Equipment Number (EQUNR) etc. We did the changes by applying the field catalog properties as below.
    lw_fieldcat-lzero = space.
    lw_fieldcat-no_zero = 'X'.
    After this, the MATNR and EQUNR is displayed correctly in the ALV. (Leading zeros are suppressed). But, when we do filter for these fields, in the filter window it displays all the values with leading zeros.
    1. We don't understand why it is showing in the Filter widow with all leading zeros. All it shows all the records instead of unique items.
    Later on, we removed the above fieldcat coding. Then, we have called the CONVERSION_EXIT routines (in the domain) for the fields to remove leading zeros.
    Now, the MATNR and EQUNR is displayed correctly (without leading zeros) in ALV. When we do filter, it is also doing filtering correctly. But, when we do filter which have EQUNR having long values (after zero suppression), it is not working correctly. i.e no items are displayed in the ALV.
    Not only for this items. If we filter character columns which have long text, it is not filtering correctly.
    2. It is not able to understand why the filtering is not working for long items. But in the standard report, the filtering is working correctly.
    We are using SAP ECC 6.0.
    Friends, can you clarify the about doubts. It is surprising for me.
    Kind regards,
    Jegathees P.
    Our customer is asked to remove the leading zeros for the numeric field

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

  • System Update not working correctly

    Hi forum,
    System Update (Version 4.00.0024) is not working correctly on my T500 with Windows 7.
    1: Not detecting old versions
    SU is not detecting, that there is an old version of Access Connection (5.42) installed although there is a new version 5.50 avaliable. I had to do a manual update.
    2: Not installing a suggested update
    Each time I run SU, I get a suggested update for "Fix for Issue of HDD with HDP Detection for Windows Vista/7". After downloading there comes a meaningless message "package was not installed" (Paket wurde nicht installiert). No hint for any error.
    3: Some drivers (e.g. for the ultranav) have not been downloaded at all - I had to test the functions of some hardware components and download the appropriate drivers manually in case of malfuncion.
    Probably there is a solution known within the forum community, at least this should be a message to lenovo (I received no response from the help desk when reporting this finding).
    Regards
    AH_DE

    Dear Herik,
    thanks for your answer.
    I checked the log  file and found thousands of entries. Here are the lines related to "Fix for ...".
    Info    2010-02-03 , 08:40:37
              bei Tvsu.Gui.CustomComponents.UpdatePanel.SynchronizeBoxPackage(Object sender, EventArgs args)
              Message: Selected to install: Fix for Issue of HDD with HDP Detection for Windows Vista/7, with
    Info    2010-02-03 , 08:40:43
              bei Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)
              Message: Candidate list:
    Fix for Issue of HDD with HDP Detection for Windows Vista/7[reboot type 3]
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.GenericPackageInstaller.ExtractFiles(String extractCommand)
              Message: osfq03ww.exe -s -ex -fC:\SWTOOLS\OSFIXES Extract command was executed sucessfully in Fix for Issue of HDD with HDP Detection for Windows Vista/7 update
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.CmdInstaller.InstallUpdate()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 is being install using Windows Service
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Engine.Process.PackageInstallerProcess.InstallNewUpdates()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 installation failed
    ADDITIONAL ENTRIES 
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Gui.FlowScreens.Results.AdjustComponent()
              Message: System updated:
              Installed=0
              Not Installed=Tvsu.Beans.Update[]
              Deferred=0
              Download Failed=0
              Hidden=0
    Severe          2010-02-03 , 08:41:17
              bei Tvsu.Sdk.SuSdk.ShutDownApplication()
              Message: Has happened an exception while the UNCAuthenticator.Shutdown() was executedShare name can not be null or empty
    Since I'm a normal user only, I can't interprete this information. Do you know what to do?
    Kind Regards
    AH_DE

  • Keyboard not working correctly after updating to 8.1 64bit pro.

    Keyboard not working correctly after updating to 8.1 64bit pro.
    After I updated, everything seemed ok and then all of the sudden I rebooted and only the f1 – f12 row would work. I resorted to resorted to unplugging and removing the battery and it would work for a short amount of time. This has been reported on other laptops as well, see here.
    http://answers.microsoft.com/en-us/windows/forum/w​indows8_1-hardware/windows-81-keyboard-problem-cou​...
    I think it can be solved with a driver update from hp or the keyboard builder but none is online.

    Hi,
    Please put the units product no. in the link and check if your PC is tested by HP with Windows 8.1
    http://www8.hp.com/us/en/ad/windows-8/upgrade.html
    Let me know if you need more help.
    I am an HP employee.
    Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
    ***Click on “Kudos” STAR to say thanks!***

  • Reports not working after upgrade to SCCM 2012 R2 -

    I am having the same issue described in this post:
    http://social.technet.microsoft.com/Forums/en-US/30f185ac-c34e-44ad-87eb-7d180a0d76b8/after-2012-r2-upgrade-some-sql-queries-wont-run?forum=configmanagergeneral
    When running reports after upgrading from SCCM 2012 SP1 CU2 to SCCM 2012 R2 I get the following error:
    An
    error has occurred during report processing. (rsProcessingAborted)
    Cannot
    read the next data row for the dataset DataSet1. (rsErrorReadingNextDataRow)
    Conversion
    failed when converting the nvarchar value
    'S-1-5-21-1010966800-777871707-395339515-124623' to data type int.
    I have removed the Reporting Services Point and reinstalled it with no effect.  All reports I try get the error listed above.
    Any suggestions?

    The issue has been resolved.  For anyone experiencing a similar issue I will post the fix that worked for us below:
    I ended up opening a PSS case and in this instance the problem was the required SQL management provider was not properly registered in WMI, which ultimately meant the reporting point upgrade/install was not able to complete successfully after the upgrade. 
    As a result the updated reports were not properly being redeployed to the Reporting Service Point.
    To diagnose this on the Reporting Service Point look in the srsrp.log for entries indicating of an
    Invalid Class, as seen in the example below:
    Invalid class SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Could not retrieve the reporting service name for instance 'RPSERVER' SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Invalid class SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Could not stop the reporting service '' SMS_SRS_REPORTING_POINT 11/6/2013 5:47:12 PM 6096 (0x17D0)
    Next security configuration at [11/6/2013 5:52:12 PM] SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Root Folder exists SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Successfully checked that the SRS web service is healthy on server SERVERRP.AD.DOMAIN SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Registry change SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    SRSRP registry key change notification triggered. SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Registry change SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Waiting for changes for 1 minutes SMS_SRS_REPORTING_POINT 11/6/2013 5:47:13 PM 6096 (0x17D0)
    Timed Out... SMS_SRS_REPORTING_POINT 11/6/2013 5:48:13 PM 6096 (0x17D0)
    The important part is the lines saying Invalid Class and then it timing out, so the RP installation was not completed.
    As mentioned earlier the WMI class that was missing or corrupt was the SQL management Provider.  To re-register the class we need to compile the MOF file that is available in SQL.  In our instance the command to run was:
    mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
    Once that was done, monitoring the srsrp.log shows that it could properly detect the SSRS service, stop it and start coping the updated reports and such.  After a few minutes the deploy completed, and all the broken reports started working
    correctly.
    Hope that helps someone else.

  • How do I get a refund for an App that does not work correctly?

    How do I get a refund for a App (Express Newspapers)  that does not work correctly?

    How to report an issue with Your iTunes Store purchase

  • Crystal reports not working when integrated security is set to true

    Hello Everybody,
    I have developed 20 crystal reports. When i deploy in my development environment(asp.net) these reports are working fine.My UAT environment is using application pool connection instead of database connection.
    My .net developer has written a code and he set integrated security to true for reports. My problem is reports which are having parameters not working correctly. Reports which are not having any parameters, it is working fine. If i enter parameters in asp .net page, the report is running for all the values. It is not considering the parameter values.
    Thanks
    Ram

    Hi Ram,
    Need more info, what version of CR assemblies, which OS is hosting the app and what patches, CR and OS are installed?
    Have you discussed this issue with your developer? Possibly all of the runtime is not on the app server?
    Thank you
    Don

  • A way to test if report server work correctly

    There is a way to test if report server work correctly ??

    Ciao vampiro, did you try, from your browser
    http://<server name or IP address>:7777/reports/rwservlet/showjobs?server=<your reports server>
    or did you try to run test report from apps home (http://<server name or IP address>:7777)
    The port 7777 could be different, depending on your installation.
    If the above do not work, then for some reason the reports server could be down : did you try to restart it ?
    BTW, what is your OS ?

  • I downloaded a book in iBooks store.The e-book is not working correct.

    I downloaded a book in iBooks store. Titel: Zeitenzauber from Eva Völler. The e-book is not working correct. There are always errors on most of the pages: error at column, etc. I already downloaded the book again. But still the same problem. Any idea what I can do?

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • HT201365 my text to send messages is now not working correctly after upgrading

    Since upgrading last week my text is not working  correctly it is very slow does not show the letter being used and takes seconds to be put in

    Looking into the Diagnostics and Usage Reports in 'Settings' -> 'General' -> 'About' I see nine different "ExcResource_MobileMail_DATE" reports. Looking at the report I see a SysInfoCrashReport that indicates that the CPU was pegged at over 50% (mostly over 75%) for over 180 seconds using the MobileMail app.
    I also see a "MobileMail_DATE" report that indicates that there was an 'Exception raised during monitored invocation of _loadMoreMessagesWithMaxVisibleIndexPath:maximumIndexPathsBySource:, exception: ** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds for empty array"
    And finally I see three "stacks+MobileMail-DATE" reports with "Power assertion timeout for 'com.apple.message.fetchMobileSynchronously...' Simply resetting it now." and "Power assertion timeout for 'com.apple.mobilemail.messagebodyloader' Simply resetting it now" reports.
    I updated to iOS 7.0.4 and decided to try and delete the account in my Mail settings and recreate it and set it to manual instead of the non-working fetch. Now, when I try to check my mail it still takes up to five minutes to respond, pulling the screen to refresh brings up the spinner for about one second and then disappears and no indications of activity occur until about three minutes later when I see the spinner in the status bar near the clock and then see a notification that it's downloading X of Y messages. At that point, message headers come in very quick and then about a minute later message previews come in. At random times, opening the mail app I get a "Password incorrect" error, even though the password works on other attempts.

  • I have OSX 10.7.5, my idvd is not working correctly.  Should I re-download this version again , do you think that it will help to improve the idvd operation?

    I have OSX 10.7.5 on my imac, my idvd is not working correctly.  Should I re-download this version again , do you think that it will help to improve the idvd operation?

    First, iDVD is not and never has been part of OS X. If iDVD is not working correctly, then you should investigate possible problems with that application, support files, preferences, or cache.
    Of course you can always reinstall OS X if you wish:
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

Maybe you are looking for