Not receiving all data while running a script

Hello, I have been working on this script the last few days now and get farther and farther on it. Yesterday I finally thought I had it all complete and went to implement on a server. When I finally moved it over and did a test run the only data I was
sent was two things Success and seconds. I didn't actually get the date or anything else. When I says seconds it just said that but didn't actually get me any data. When I ran this on me machine before I moved it over it was working. When I moved it back to
my computer and tried again I am no longer getting the same results. For some reason it worked for awhile but no it isn't.
$cred = Import-Clixml -Path C:\users\passworddoc.xml
$url = "siteURL"
$response=Invoke-WebRequest $url -Credential $cred
if ($response.statuscode -eq 200) {
"Success`t`t" + $startTime.DateTime + "`t`t" + ($endTime - $startTime).TotalSeconds + " seconds" | Out-File "C:\Users\T&E.csv" -Append
} else {
"Fail`t`t" + $startTime.DateTime + "`t`t" + ($endTime - $startTime).TotalSeconds + " seconds" | Out-File "C:\Users\T&E.csv" -Append

You apparently had something setting $startime and $endtime when you were testing.
Whatever it was doesn't appear to be part of that script, so those values are going to be null.  
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

Similar Messages

  • Report not dipalying any data while running using concurrent manager

    Hi:
    I am running a report in oracle 6i reports builder, the report runs perfectly and displays the desired data. But, when the .rdf is attached to concurrent manager and ran from front end, the report is blank. the report output is PDF and i can see oly the headers and the values for all the columns as '0', not sure why this is happening.
    I am assuming that during the PDF conversion some thing is going wrong...any help is much appreciated...
    Thanks for your time...
    Srini...

    This is an Oracle Apps report, right? You'd better go to the eBusiness Suite forum for EBS related questions.

  • Query not refreshing all data when run in workbook with other queries

    All,
    I have the following problem. I have a workbook that has two queries, one on each tab.
    The specific thing I notice that the company code is not showing up in the query at first until I hit refresh. Both queries use the same company code and user variables. When running the workbook I have each query set to "refresh query when running workbook". I have been able to duplicate this problem in either of the two queries, depending upon which company code variables I use. When I run the workbook, one of the two queries never updates company code variable unless I "refresh" the query directly after pulling up the workbook.
    I have changed the company code variable and used other company codes in each query, some required, some not, but ultimately a few of the key figures are not populating with current data and the company code is missing...unless I hit refresh on that query. I have tried creating new workbooks and removing and reinserting the queries, but this doesn't work either.
    And both queries run fine when executed alone.
    Again, Both queries use the same company code variable.
    Any help will be rewarded with points and is appreciated.

    Tasha,
    Remove the queries from the workbook and reinsert them. This should show the desired result.

  • Bi content is not showing statistics data while running the report in porta

    hi friends,
    I  installed the BI Admin Cockpit to collect the statistical information.
    I can see the statistics informatio in portal only when i run the query in bex. if i run the report in portal it's not showing any statistics.
    could you guide me the exact reason and pls guide me to rectify this problem
    thanks in advance,
    sruthi.

    Any help on this....

  • Sql developer could not fetch any data while running queries?

    I have  downloaded  SQL Developer , install jdk1.5.0_22  from the website. Then I run sqldeveloper.exe browse the jdk folder. After that i established the connection but it continuously showing loading..No tables No procedures are loaded . what should i do?

    Be careful... SQL Developer requires a JDK or the server JRE (which I believe only comes in 64-bit, so go with the JDK if you are on a 32-bit OS).
    Prior to 4.0, the SetJavaHome line in your install directory's sqldeveloper.conf (or sqldeveloper-Darwin.conf on the Mac) must be set, but in 4.0 and above that changes to product.conf under your OS's user settings.  For Windows 7, that would be in...
    C:\Users\<your-userid>\AppData\Roaming\sqldeveloper\1.0.0.0.0\product.conf
    Hope this helps.  If not, assuming Windows, run sqldeveloper.exe in the bin directory from a command line console so you can see any standard error output in the console, or do a Ctrl-Break to get a full thread dump of what's happening in the JVM.

  • Not receiving all data across tcp/ip port

    Hi,
    i am trying to transfer data across a tcp/ip port.  the data is in binary and is reliable when small amounts of data is passed.  it starts to fail when i try to transfer around 10000 bits and it is random(sometimes i get more or lest data when requesting the same amount).  any advice on what to do.  i attached the vi so you could see the code but it won't run unless you edit the ip and port to work with your settings.
    thanks
    Attachments:
    TCPsavetest1.vi ‏56 KB

    Hi,
    Here is a Developer Zone article that explains more about TCP communication. Is your code set up similar to these examples? Are you able to run a TCP example from the LabVIEW Example Finder?
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Error while running OMBPlus Script

    Hi,
    I am getting below error while running OMBPlus script.
    +../../../jdk/bin/java[87]: getconf: not found+
    OMB*Plus: Release 9.2.0.4.0
    Copyright (c) 2003 Oracle Corporation. All rights reserved.
    Exception in thread "main"
    I am not even able to run ./OMBPlus.sh.
    Can anyone help me on this?
    Thanks in advance,
    Regards,
    Sachin Bansal

    Hi Nawneet,
    Thanks for the reply..
    I tried the same thing on our server. But there also I am getting the same error.
    Am I missing anything?
    What I am doing is:
    1. Created one .tcl file (deploy_map.tcl).
    2. Going to path where OMBPlus.sh resides i.e.$OWB_HOME/bin/unix
    3.Then I called ./OMBPlus.sh and passed the path of deploy_map.tcl as an argument.
    For e.g. if path of deploy_map.tcl is /abc/xyz/deploy_map.tcl
    Then I would call OMBPlus like below:
    ./OMBPlus.sh /abc/xyz/deploy_map.tcl
    Even if I would not pass any argument then still it should be connected to OMBPlus. But that's not happening.
    Regards,
    Sachin Bansal

  • An error occured while running a script

    On launching Bridge, I an consistently receiving the following error.
    "There were problems loading a startup script the last time bridge was launched. Would you like to load them now?"
    Clicking [Yes] produces the following error:
    An error occurred while running a script. The script may not be compatible with this version of Bridge. Check for available updates by selecting the Updated command in the Help Menu
    Error in /Library/Application Support/Adobe/StartupScripts/AdobeStockPhotos.jsx
    Line 54: result = eval(script);
    Timeout while waiting for the engine
    I am running Bridge Mac CS2 - 1.0.4.6
    Adobe Stock Photos Update 1.0.8
    Power Mac G4 733 / OS X 10.3.9
    Updating either Bridge or Adobe Stock Photos does not correct the behavior.
    And curiously Stock Photos appears in the Favorites pane and appears to function.
    Any help ?
    Kurt Griffith.

    Good day,
    The Bridge v1.04.6 PS CS2 I am presently using has always come up with the Internet connection Error Message and none of my large imaging machines are connected nor will they ever be connected to the Internet.
    Is there a setting to do away with the Bridge trying to connect on my
    behalf ? I've spent a lot of time trying to 'fix' a problem that shouldn't have arisen.
    It wastes a lot of time trying to do something, which I do not want it doing.
    Thanks for any assistance you can provide in the matter. And please
    keep cranking out your wondrous though not totally controlable software, or so it seems.
    Best - Stephen Graham

  • My blackberry 8900 is not receiving all of my personal emails

    i set up my personal email account on my blackberry, it is my college email address. And i am not receiving all of the emails on my phone, i only receive some of them. I only found out when i was only getting one to two emails a day on my phone and logged into my email account on my computer and it showed like 10 emails that i did not receive on my phone. is anyone else having this problem or does anyone know how to fix this problem so that i receive all emails that come to my persona email?

    I'm not receiving all of my email either. In fact, I've only received one message since I bought it about two weeks ago. When I first synced it transferred all of my mail and added my email accounts (one register.com POP that is enabled and one IMAP that is disabled.) About a week later I received one email message on my iPhone (while not on WIFI) and none since then - regardless of whether or not I'm logged in at home (using Outlook on Vista.) It seems to successfully log in and check for mail, but always comes out thinking it's up to date.

  • I do not receive all my e-mailson all my devices. I seem to get them all on my iPhone 5s, but not all show up on my iPad and iMac. they are all set up the same. Any Ideas on what is going on and what I can do to remedy this? thanks

    I have an iMac with OS X Lion 10.7.5,an iPhone 5s with iOS 7.1.2 and an iPad with iOS 7.1.2. all software is up to date. My problem is I do not receive all my e-mail on all 3 devices all the time. I seem to get them on my phone , but not all show up on my iMac or iPad. Any ideas as to what is going on and what can I do to resolve this issue? thanks

    On the iPhone, go into Settings -> Store and turn off "Automatic Downloads" for Apps (and Music and Books, if you wish). You can also do that on the iPad to prevent it from going in the opposite direction.
    That will stop any automatic downloading... to prevent them from coming over when using iTunes, select the phone (under Devices), Apps, and then uncheck "Automatically sync new apps." Again, do the same for the iPad if you wish.

  • HT5701 Downloaded Safari 6.0.4 and my software is not up to date to run it. I can not get the old version of Safari to work again.

    Downloaded Safari 6.0.4 and my software is not up to date to run it. I can not get the old version of Safari to work again.

    Open  > About this Mac, and tell us what OS X version you have. If it's 10.8, reinstall OS X 10.8.3 > http://support.apple.com/kb/DL1640
    If, after reinstalling the update, you still can't use Safari, hold Command and R keys while your computer is starting and reinstall Lion or Mountain Lion

  • Why MicroSoft 2000 SR needed while running the script using test manager???

    hi all,
    whenever I trying to run a script using test manager,one POP-UP comes which starts installing MICROSOFT 2000 SR.
    and in few seconds it complaining for some missing component,
    can any body tell me why it is happening.
    what is the need of Microsoft 2000 SR while running the script in test manager.
    tnx
    USOni

    USoni
    I have seen that problem happening before, even that i was never able to figure out why, something that you can try is changing the service log in credentials for both:
    Oracle Application Testing Suite Agent Service
    Oracle Application Testing Suite Application Service
    and use a proper user with admin rights.
    let me know if that helped
    Regards
    Alex

  • Style not receiving all email messages

    I recently changed mail-servers. Neither the current nor the previous mail server are in house. We route our in-house email through MS Exchange Server. We do not run BB Enterprise Server so I have set up my BB Style to go directly to the external mail server. I am using MS Outlook 2010 on my desktop computer.
    My BB Style is not receiving all the emails coming to me. Some emails come through our MS Exchange Server but not to my BB. Other emails are received both on my device and desktop.
    Any ideas why this is happening.
    Barry
    Solved!
    Go to Solution.

    Referring back to Post 2 in this thread -- if your email server (the one facing the Internet, with which BIS interacts) is capable of reconciling with the BB (via BIS) items deleted on the server, then you have no choice in the matter, given what you've now been told.
    If you absolutely must retain all items on your BB, then you would I suppose need to set up an auto forwarder that sends everything you receive in your Outlook client out to a different email address. Then you integrate that to your BB so that you can keep that library of items on your BB. You, of course, cannot use those items for any useful purpose (e.g., if you reply, it'll be coming from this secondary email address), but at least you'd have them on your BB.
    What your IT person told you is, however, quite unusual indeed. MS Exchange is intended to be a post office and mailbox containing entity, and has a ton of other power as well. I've never actually heard before of anyone using it in this manner, requiring that the client app remove items from the server (encouragement is always in place, via mailbox size quotas and such...but the requirement is rather unusual in my experience). That requirement would seem to make your MS Exchange environment function much more like a POP/SMTP environment, negating all of the power of MS Exchange, and thereby causing me to think that you are not getting the value from that environment that it offers. But, to each his own!
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to find the missing fonts while running the script?

    hi,
    I need to create a script to find the missing font. not only for that. Actually i created a script to read the file properties. but i have a problem while running the script.
    I have put "User Interation Level" to never interact. Even i need to check wheather each file have "missing fonts". mean time i never stop the script.
    Is It Possible???
    Regards,
    SubhaOviya

    Here's a shot of the Find Font Dialog:
    Papyrus (highlighted in the list) is missing, and there's a yellow warning triangle to show that. Fonts that ar not missing have an icon to show the type of font. You'll also see it shown as missing in the "Info" box at the bottom of the dialog.
    If you use the Replace With dropdown you will only see fonts listed that are installed on the system. In order to actually use the missing font, rather than substitute a different font in its place, you must obtain and install the missing font on the system.
    Are you seeing something different when you open Find Font?

  • Why 127.0.0.1 can not receive any data,but MulticastAddress can?

    Why 127.0.0.1 can not receive any data,but MulticastAddress(224.123.111.101) can? I use jmfstudio to tansport media and set the dest address to 127.0.0.1.I use anther jmfstudio,and fail to receive it.(ps:wo jmfstudio runs in the same machine at the same time).But after I change the dest addrest to 224.123.111.101,it receive data.Can any one tell me why?

    The origin code is to transmit stream is(ip 127.0.0.1 ,port 22222)
    localAddr = new SessionAddress(InetAddress.getLocalHost(), port);
    destAddr = new SessionAddress(ipAddr, port);
    As you said,the receiver reports 22222 is used.
    But After I change it to
    localAddr = new SessionAddress(InetAddress.getLocalHost(), port+10);
    destAddr = new SessionAddress(ipAddr, port);
    It says waiting for "Waiting for RTP data to arrive..."

Maybe you are looking for

  • Problem with Data in Form

    I have begun using the Form feature in Adobe 8.0. I have made my forms using the Livecycle designer. I have received back completed forms via email and then I have entered the data in the actual form itself by hitting "import data." When doing so I'v

  • I am trying to sync my iphone and it has frozen with the itunes symbol on my phone?

    I am trying to sync my iphone and it looks like it has crashed and the itunes symbol is frozen on my screen, I have tried to switch off my phone but it will not work, anyone help?

  • Orginally to Arch dev but to Newbs too.

    Heya all Archlinux users. About me: First I want to let you know that I registered on the forums 2006-10-23. Still this is my first post. I run around 20 Oracle related servers all on solaris, mostly on the new T1 and T2  processors running LDOM (Log

  • Do I need the retina display on the iPad mini

    I'm thinking of getting an iPad mini but there's a big price difference between the one with retina display and one without. I just wondered from someone who has one what difference it makes and whether I need to spend the extra £70ish

  • Find Release for resolved Synchronization issue

    In what relese, the following bug is fixed. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6223295 We are currently working with 1.1.0 wanted to migrate to 1.1_02 as it doesn't require any other upgrades like ServletAPI. Hoping this release fixes