Find Web Pages which do not ask for credentials

Hi
I know that it is possible to send or post or insert some input into web pages using Powershell
but what i want maybe seems somehow weird
there are about 200 Access points with Web Access enabled
but the support team has forgotten to make password asking forced to open their web pages
I want my powershell code to open a web page an return true if no user/pass is asked and 1 if it requires
is that possible ?!
ty

That's great, I'm glad its working for you now. Here's a commented version of the same code along with some additional links:
# Create a .Net WebClient object
$wc = New-Object System.Net.WebClient
# Read the input file and check each site
Get-Content .\sites.txt | ForEach {
# Create hashtable for site/status output
$props = @{
Site = $_
Status = ''
# Attempt to connect, if successful set status to OPEN
# If unsuccessful, set status to Secure
try {
$null = $wc.OpenRead("$_")
$props.Status = 'OPEN'
} catch {
$props.Status = 'Secure'
# Create new object based on completed $props hashtable
New-Object PsObject -Property $props
http://msdn.microsoft.com/en-us/library/system.net.webclient%28v=vs.110%29.aspx
http://msdn.microsoft.com/en-us/library/781fwaz8%28v=vs.110%29.aspx
http://ss64.com/ps/get-content.html
http://ss64.com/ps/foreach-object.html
http://ss64.com/ps/new-object.html
http://ss64.com/ps/syntax-hash-tables.html
http://blogs.technet.com/b/heyscriptingguy/archive/2010/03/11/hey-scripting-guy-march-11-2010.aspx
Don't retire TechNet! -
(Don't give up yet - 12,950+ strong and growing)

Similar Messages

  • When i am logging to my company intranet site for every page navigation it is asking for credentials

    When i am logging to my company intranet site for every page navigation it is asking for credentials

    Also, if the navigation works most of the time but you are prompted for every single image, I suggest restarting Firefox and trying again.
    The following also might help in that situation: When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?

  • Web Page Tree View Not Working for One Client

    Hello all,
    I have one client who is suddenly having problems with the "Tree View" in Web Pages. He clicks it and nothing happens, so he can only view pages by List View. Also, when he clicks the pagination at the bottom of List View, nothing happens. However, he can still use the Next/Previous and First Page/Last Page arrows - they work, but it takes forever to find a page since it's a very large site.
    He logged in on a co-worker's computer, and did not have the problem. He's running Windows XP, and it happens in both FF & Chrome. He updated flash and java, and disabled all his extensions and it still caused the problem.
    Has anyone else seen this? I'm at a loss as to what to do. He's the only one within the organization that is having this problem, and of course, he's the one who uses ABC the most. He's super frustrated.
    Thanks!

    Okay, it turns out the problem is when the client is logged in in French. When he switches his account to English, the problem goes away. When he logs in on his computer with a co-workers username, it works in English, but not in French. When he logs in at the co-worker's computer with either his or her username, same thing - it works in English, but not in French.
    So, there is something wrong with French UI.

  • RemoteApp program not asking for credentials.

    Hey everyone.
    I'm building a demonstration for RemoteApp functionality and I have a problem. 
    When I open the Microsoft RemoteApp program, it automatically logs in to an account. I'm not really sure what account it is, but I have no applications in it. When I opened the program on my personal laptop, it worked and asked me for credentials. What I
    want to know is, could I have unknowingly configured Single Sign-On and now it's automatically logging in to some account? Where can I disable it so I can enter the credentials I want? 
    There's nothing in the RemoteApp event logs and in my GPO definitions all the "Credential Delegation" definitions are "Not Configured".
    Also, it doesn't seem to login at all, since the program is opened and in the window title it only says "Microsoft RemoteApp" - not "Microsoft RemoteApp - [email protected]" like in my personal computer after logging in.
    What could I be missing?
    Thanks in advance.

    Hi,
    1. Are you able to click Sign out on the toolbar, and then click
    Get Started to bring up the credential prompt?  In rare cases I have seen a connectivity problem cause the issue you are seeing whereby the client is open, but no user logged on and the icon area is blank.
    2. If the above does not correct the problem please uninstall Microsoft RemoteApp from Programs and Features, and then download/install it again and test.
    3. What operating system version are you running on the client PC?
    Thanks.
    -TP

  • When I click "remember my user name" for web pages, it does not work for web pages - I have to login after every restart (eg Hotmail)

    On websites I visit daily – newspapers, Hotmail, etc, even though I have clicked "remember me on this computer", it does not work. I have to log in every time I have restarted my computer (Mac OSX 10.5.8). Also, this may be related. I have iGoogle as my home page, but "themes", location, widgets, etc are not saved when I shut down.

    * Such details are stored in a cookie.
    * You need an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep that cookie, especially for secure websites and if you let cookies expire when Firefox closes
    * Make sure that you do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all cookies, images, pop-up windows, software installation, and password exceptions.
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete <b>cookies.sqlite-journal</b> and <b>cookies.txt</b>, if they exist, in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case the file cookies.sqlite got corrupted.
    * http://kb.mozillazine.org/Cookies#Removing_cookies

  • Not being asked for credentials in SSRS 2008 R2 for Firefox and Safari

    I have an instance of SSRS 2008 that is currently working on all browsers (the URL is something like reports.foo/reports).
    I spun up a new instance of SSRS and placed it on the url report01.foo/reports.  This new instance is connected to a different domain (I am spining up a Active Directory Domain and trying to build out our infrastructure, so the logins are different). 
    I am able to access the new URL (report01.foo/reports) from IE and Chrome.  It is asking for the username/password and able to get on just fine.
    However, when I try to go to the new URL (report01.foo/reports) using Safari and Firefox, it never asks for credentials and shows a blank page.  This does not happen for the old URL (reports.foo/reports), only the new URL.
    Any ideas?

    Hi Ben,
    Per my understanding that you have configured windows authentication and which by default will not prompt for credential. So I assumed you have changed the User Authentication setting in the security setting to pop up for credential, for example like below(IE),
    If so, your issue about the pop up credetial not pop up in Firefox and Safari can be caused by the related security setting, If you give Anonymous User rights, you may got the blank page:
    Details information about similar issue in threads below for your reference:
    how to change reporting service site seurity setting?
    SSRS in firefox not asking for credentials
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI???

    Question
    HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI??

    Thank you for the response. I tried to fix the problem with some of the suggestions on that page, but none seem to work. I believe that is the only website that I'm having that problem on. I got to fooling with it a bit more and when I highlight the whole page and select to print the selected area, it actually prints the whole page then, but it won't do it as a default. I guess I can just do it like that from now on, but I thought there would be something in the settings that I could have changed. Thanks again for the help.

  • When I leave my iphone in my room and went out. After I came back, I find several apps which was not opened before had been opened. It here are also 8-10 photos of my ceiling being taken, includes video. Also my home page picture has been changed.

    When I leave my iphone in my room and went out. After I came back, I find several apps which was not opened before had been opened. It here are also 8-10 photos of my ceiling being taken, includes video. Also my home page picture has been changed.

    also my sister said she heard music being played fr my phone suddently. Is my iphone being hacked?

  • On my iPhone 4s, I sent a picture via email and asked to size it down.  However, it seems now that the pic stored on my iphone is now forever the smaller size which is not suitable for printing.  Is there any way to get the larger size back?

    On my iPhone 4s, I sent a picture via email and asked to size it down.  However, it seems now that the pic stored on my iphone is now forever the smaller size which is not suitable for printing.  Is there any way to get the larger size back?

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • Why does Firefox no longer display .php suffix web pages which are in my Mac?

    I have a question about Firefox 14.0.1 displaying .php suffix web page files which are in a Mac running Mountain Lion OS 10.8. In eaarlier versions of Mac OS, for example 10.4.7, I was able to see properly displayed web page files with .html and .php suffixes when those web page files were in my computer. I refer to seeing the page as it should properly display, not seeing the source code. If a page had a .php suffix, the browser displayed the page properly although any php scripts embedded in that page were ignored.
    Apple occasionallly updated its OS and browser makers occasionally updated browsers. One day, I noticed that Safari no longer displayed web page files in my Mac if those pages had a .php suffix. However, Firefox and other browsers continued to display web page files with .php suffixes although the embedded php scripts were ignored.
    Now, I have Mountain Lion in iMac.
    I can no longer see .php suffix web page files in my computer regarless of the browser I use. No browser displays those pages.
    A .php suffix web page file which Firefox and other browsers display in 10.4.7 does not display in 10.8 if that web page file is in the computer.
    In my computer, I have html and php suffix web page files I want to see using a browser. The files I want to see and the browser both are in my computer. Html files display perfectly with one exception: if php scripts are embedded in the html files, the scripts are ignored. A file the name of which ends with ".php" will not be displayed regardless of whether there is a php script in the file. Safari displays the source code only. Chrome does not display the file at all. Firefox and SeaMonkey, which displayed .php suffix web page files in earlier versions of the Mac OSm now respond to such pages by providing a dialog box which seems to assume that the file is about to be downloaded from the Internet. The dialog box asks me if I want to use the browser to open the file or if I want to save it to disk. The file is on the disk at the time, and the computer is disconnected from the Internet. I click that I want to use the browser to open the file. Then the dialong box reopens with the same question. This happens over and over. I never get to see a web page file in my computer the name of which ends with ".php". With Firefox 14.0.1, I can see .php suffix web pages which are on the Internet or in a 10.4.7 Mac but not in a 10.8 Mac. Did I miconfigure Firefox? It seems unlikely that Firefox lost the ability to display pages in Mac OS 10.8 which it displays in `10.4.7. How can I solve this web page display problem?

    Haroon mentions two solutions. I used the easier one, which is to start the Apache webserver already in Mountain Lion and to enable the php already in Mountain Lion. It worked. I see the file correctly displayed with html, css, and php. I see the page by using Firefox. I enter an address in the address bar. For example, the address might be "localhost/example/example.php". I cannot see the page by using Firefox's "Open File ..." menu option or by dragging the file's icon onto Firefox's icon. I tried using your solution also but was unable to find the specific preference to modify. I found the page of preferences which may be modified but I could not find the one I need. I found a list of descriptions of the preferences at http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries
    but I could not find the specific preference which I need.
    By the way, to enable loading the php module, one uncomments a line of code by deleting the initial "#" character, and one does that by pressing control key and "P" key while the cursor is over the "#" character.
    Also by the way, when I use Firefox or Safari to look at the Apache web directory in which my files are, the files are listed case sensitively. For example, the files are listed: Ace, Zygote, bar. This is because lower case follows upper case. THis annoys me. I prefer case insensitive listing. When I llok directly athe directory without using a browser, the files are listed case insensitively. For example, they are listed: Ace, bar, Zygote. I guess taht Apache is doing this.

  • I recently upgraded to iOS 7.0.  When I open Safari to a blank page, a small "Settings" icon appears against the white background.  When I click on it, it opens  a link to a web page that is not among my other bookmarks.  How can I get rid of it?

    I recently upgraded to iOS 7.0.  When I open Safari to a blank page, a small "Settings" icon appears against the white background.  When I click on it, it opens  a link to a web page that is not among my other bookmarks.  How can I get rid of it?

    Leliforever, cheek you list of installed add-ons, the Ask toolbar can be installed without the users knowledge.
    For checking other extensions that may cause this, follow the procedure in this link - https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • $300 charge for the phone i did not ask for!!!

    Hello,
    my name is Irina , phone number xxx-xxx-xxxx.
    I came to a Verizon store (Harbor east branch on Fleet street, Baltimore., MD) two months ago to purchase screen protectors for my iphone. Before i left the assistant asked if there was anything else they could help me with. I said the home button wasn't working properly so they offered to take a look at it.
    After inspecting the iphone the assistant said the issue could not be fixed and offered to order a replacement iphone for no additional charges, since the inspection had not detected water damage.
    I gladly agreed! Received my replacement ipone, mailed the old one back. it was two months ago.
    Now two months later i see a $299 charge for the replacement phone i received in march because  they detected water damage in my old iphone.
    How ridiculous is that? I did not ask for it. If i knew there was a chace of water damage why would i risk a $300 charge replacing my iphone when i could just wait a few months for the iphone 5 free upgrade?! My old phone worked fine, except for the home button being not sensitive.
    And now you're expecting me to pay $300 for what?
    The store has to take responsibility for this. The charge needs to be taken off my account. My whole family and i have been verizon customers for 5 years and i cant believe this is happening now!
    If no action is taken to resolve this problem im going to file a complain to FFC Better Business Bureau.
    I'm hoping to hear from a verizon representative as soon as possible. Customer service on the phone would not help.
    I can not believe how difficult it is to find contact information to get in touch with the right people who will be in position to help.
    Thank you for your coordination,
    Irina
    >Personal info removed<
    Message was edited by: Verizon Moderator

    So, my son's iPhone 4s was having issues with the power button and the home button.  I bought it less than a year ago and have also purchased the insurance.  That said these kept sticking and didn't work, so we took it into the Verizon store where a sales clerk took it to the back and after 15 minutes came back to tell us that his iPhone was broken, and that the problems were common and we could get a new phone under the warranty.  We asked 5 questions along the lines of are you sure?  They said yes.  They looked up our information and NOT ONCE did they advise us to go thru the Insurance option that I pay $9.99 a month for.  This issue would be covered by warranty for SURE!  They gave us a box to ship it back to Verizon in, ordered him a new phone, and wala it came in the mail 3-5 days later.  THEN 10 days AFTER that, I get an email from Verizon telling me that they "disallowed" the warranty claim as the issue was not due to a malfunction of the phone but some kind of damage -- which then they included a picture of (and the picture did NOT even show on the email).  They also wanted me to know that I would be seeing a $299 charge for the replacement phone.  I didn't even PAY $299 for the original phone back when I bought it - there was a $199 promo deal going on.  I called customer service - what a CLUSTER!  They pulled up the email and could SEE the picture I couldn't  - and the notation apparently saying that the phone had suffered WATER DAMAGE.  This PHONE has been treated like GOLD -- it never had ANY Water damage, they are just trying to get out of honoring the Warranty.  WHY would the service tech @ the Verizon store tell us it was a common issue covered under warranty AFTER inspection?  WHY would he tell us that it would be taken care of and to send the phone into Verizon with a new replacement on the way??  The Customer Service person then shared with me "oh - I see you have the Asurion Insurance" - I said YES, I did get that when we bought the phone.  She said we should have SENT the damaged phone thru Insurance for replacement.  OMG!  We RELIED UPON THEIR OWN employee to discern the nature of the issue.  If they had looked up the account and saw I had insurance, why did they not go that route?  What a *****.  So net net - I AM NOT PAYING $299 for that phone - they can send me to a collection agency.  Honestly what a racket and what kind of employees are working there - incompetent.  I will NOT pay for that phone.  The worst case should have been I had to pay the insurance deductible, but we relied on the Verizon store employee to diagnose the problem and provide recommended action - which WAS WRONG!

  • After installing an SSD into my optical bay, I've found out I need EFI Firmware Update 2.2. I can only find 2.3 which is not supported on my Mac. What can I do?

    After installing an SSD into my optical bay, I've found out I need EFI Firmware Update 2.2. I can only find 2.3 which is not supported on my Mac. What can I do?

    You do not want EFI 2.2, it bricked many 2011 MacBook Pro machines.
    EFI 2.3 is the fix. Software Update should install it if you need it, but it goes to the boot drive as that's where the hidden EFI resides.
    Check out this link of machines and their EFI versions
    https://support.apple.com/kb/HT1237
    Also if your SSD should be in the hard drive bay as it makes a better boot/applicaitions drive, not a good storage drive as it wears out with repeated use and is not "scrubbable" like a regular hard drive
    The hard drive should be in the optical bay and used as a storage drive, you have things all messed up inside your machine, Apple doesn't support or expect the optical drive to be used as such to begin with, then as a boot drive is just asking for trouble. So use the optical bay as storage and not as a boot bay.
    Also you can't install OS X or Windows or use a Firmware restore disk because it only works from a internal optical drive, which you have removed.
    https://support.apple.com/kb/HT2213
    You need to learn all about cloning etc., as you have no other means to boot the machine.
    https://discussions.apple.com/message/16276201#16276201

  • Why my notebook sometimes blacks out, in Windows 7, when I watch video online or just browse some web pages which contains quite a lot pictures?

    Why my notebook sometimes blacks out, in windows 7,  when I watch video online or just browse some web pages which contains quite a lot pictures?
    1. I am not sure whether it is the problem of the graphic hardware, relevant softwares or the system itself.
    2. I am not sure whether browsing a webpage with a lot pictures would make the graphic hardware, or other hardwares if possible,  massively burdened and then just crash.
    3. Or if possible, is the reason that the heat dissipation doesn't work well?
    I am looking forward to any replies that might be helpful. Really appreciated.

    it could be heat, not enough RAM, but you don't tell us enough.
    There is no reason to assume this is anything other than running Windows natively btw.
    Browser  of course matters probably the most.
    I like IE10 now, but use to use FF until recently. I'd like Chrome except for a few concerns I have over using it, it can eat up a lot of RAM and it builds up HUGE disk cache if you don't clear history and cache on exit and run CCleaner regularly ( good for all browsers )
    So assuming 64-bit and 4GB or more and core i5 or better...
    Also make sure Wiindow has 10GB of free space or more.
    Biggest concern is what happens afterwards and whether you have run a check of your hard drive (chkdsk on startup) or if the problem cascades and gets progressively worse on top of the first - like do you have to do hard restart or able to bring up Task Mgr and kill or better yet, Resource Mgr and see if you have any thread locks.
    Safari is not well versed in multithreading and handling what you want to do and are doing. IE9 isi usually good but I found it could not handle a lot of tumblr photo streams and sites. Try Chrome. With Firefox, use noscript, blashblock and see how it goes.

  • I bought an unlocked Iphone 3GS, I needed to update Ios5 and restored the settings for that which was not authorised for unlocke, but after that iphone is not getting activate and no sim card insatlled error is there. i m using local sim card in Pakistan

    I bought an unlocked Iphone 3GS, I needed to update Ios5 and restored the settings for that which was not authorised for unlocke, but after that iphone is not getting activate and no sim card insatlled error is there. i m using local sim card in Pakistan

    You didn't buy an 'unlocked' iPhone 3GS - you bought a 'hacked' one.
    Updating to iOS 5 removed the hack and the unofficial unlock.
    All you can do is try to find out which network the phone is locked to and ask them if they can unlock it properly.
    Otherwise, sell it or throw it away and buy an officially unlocked phone from an official source.

Maybe you are looking for