What does Update do in $w.Properties["portalsuperuseraccount"] Powershell script?

Hi,
For instance I have to check for the super user/reader in User Policy in web app:
Get-SPWebApplication "http://reg.eg.com/"
$w = Get-SPWebApplication -Identities ["http://reg.eg.com/"]
$w.properties["portalsuperuseraccount"]
$w.properties["portalsuperreaderaccount"]
$w.update()
What does update do? does it add users in user policy setting? 
Thanks!

Hello,
It should update the user account to properties. Just remove it and see the value of "$w.properties["portalsuperuseraccount"]" and "$w.properties["portalsuperreaderaccount"]". If they are null it means they are not set.
http://technet.microsoft.com/en-us/library/ff758656.aspx
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help

Similar Messages

  • What does "update carrier settings" Mean?  Settings for what?

    What does "update carrier settings" Mean?  Settings for what?

    It means just what it says. Carrier settings are the settings the carrier installs on the phone to connect it properly to their network. Periodically, carriers push updates to those settings. You should accept them.

  • What does "updating files" mean on ipod classic?

    What does "updating files" mean on ipod classic?

    See this Apple support document.
    http://support.apple.com/kb/TS1408
    B-rock

  • What is the best way to run a powershell script with parameters in the Task Scheduler?

    Hello, 
    Want to run the following from a scheduled task in the Task Scheduler on a server.  What is the best approach?
    .\pscript.ps1 -csvfile "\\Srv1\Share\File.txt"
    Thanks for your help! SdeDot

    Hi,
    To run a powershell script with parameters in the Task Scheduler:
    Program: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Add argument (optional): -Command "& c:\scripts\test.ps1 -par1 2 -par2 3"
    Hope the below two articles be helpful for you:
    Schedule PowerShell Scripts that Require Input Values
    https://blogs.technet.com/b/heyscriptingguy/archive/2011/01/12/schedule-powershell-scripts-that-require-input-values.aspx
    How to Schedule a PowerShell Script
    http://dmitrysotnikov.wordpress.com/2011/02/03/how-to-schedule-a-powershell-script/
    Regards,
    Yan Li
    Regards, Yan Li

  • Imported 40,000 emails - what does "updating color for messages mean"

    I have just imported 20 MBOX files from my outlook 2011 - a fair amount of emails!!
    But I'm finding that when I click onto the folders, I am getting nothing in teh preview initially sometimes and... some of the folders begins some kind of scan? progress in activity panel say: "updating color for messages"
    Any idea of what is going on? I am new to Mail 4.5...
    I will probably be upgrading tomorrow to lion, so perhaps it won't do this anymore after that?

    ok thank you.
    on another note, does rules actually work? you see I have all these Mail Boxes in Mail now. and I set up a rule so one of my guy's emails goes into their folder when hey send me an email and then when I send to them? but its just not happening? see:
    Any ideas?

  • CcBPM  - what does meant "Create New Transaction" properties ?

    Hi XI expert,
    could you enligtheen me on what is the meaning of "Create new transaction" properties in step Send, Transformation in the ccBPM. When i need to tick this properties. ?
    Cheers
    Fernand

    Specify whether the system is to create a separate transaction for the send step.
    You can improve system performance if you define that the system is not to create a separate transaction for the send step. Note, however, that all messages to be sent are collected and not sent until the end of the relevant transaction. This is of particular importance for transactions that take a long time to execute.
    An asynchronous sender step that waits for an acknowledgment must always be executed in a separate transaction.

  • HT4623 What does update 7.0.4 include for iPad 2?

    My iPad 2 had an update last night.  Just wondering if anyone knows what exactly is in this update?  I hoping it fixes the battery issues I've been having since the last update! 

    It has mostly to do with some problems in Facetime.
    For battery problems there are a lot of threads here with good suggestions.

  • What does update improperly signed mean? fix?

    Twice in the past week, when I have opened software I been notified that an update plugin is avaialble but when it has downloaded an error is displayed "update is improperly signed".  The update window then closes.  In both instances, the update was for main-stream applications; Rapid Weaver and MyDesk.
    I'm looking for advice as to what is causing this error.  Is it a coincidence?  Is the problem with the sotware vendor?  Any fix?
    Thanks in advance for any and ll advice.

    It means just what it says. Carrier settings are the settings the carrier installs on the phone to connect it properly to their network. Periodically, carriers push updates to those settings. You should accept them.

  • What does updating delete folders on iphone?

    Why is it that every time I plug in for an update, the update deletes all my file folders? I stopped using them rather than recreating them with every update. Thanks!

    It shouldn't be that way.  Before the update, a backup is made.  After the update the backup is installed and all your apps, folders, settings, etc should be as they were prior to the update.
    Try reinstalling iTunes.

  • What does update 1.2.1 do ?

    Can anyone answer this ?, or tell me where I can find this information on the Apple site.
    Thanks,
    John.

    Also, I've seen several reports of the "scrambled screen" on some iPods being fixed by this firmware update:
    http://discussions.apple.com/thread.jspa?threadID=763025&tstart=0
    It hasn't fixed all/near all of this type issue, though, if you read this topic.
    -Kylene

  • Does anyone have a PowerShell script which change the paper source on a Canon Image Runner Advance?

    I came across this Powershell script on the web, which does a good job of printing out PDFs:
    Start-Process -FilePath "C:\Users\Test\Documents\Listing.pdf” –Verb Print -PassThru | %{sleep 10;$_} | kill
    Start-Process -FilePath “C:\Users\Test\Documents\Scan0001.pdf” –Verb Print -PassThru | %{sleep 10;$_} | kill
    Start-Process -FilePath “C:\Users\Test\Documents\Scan0004.pdf” –Verb Print -PassThru | %{sleep 10;$_} | kill
    See: http://gregcaporale.wordpress.com/2012/01/18/powershell-to-print-files-automatically/ 
    What I want to know is, does someone know how to write a Powershell script so that before printing out each PDF, a tab will be pulled from a separate paper source tray.  I need the Powershell script to
    1. Set the paper source to tray 4 where the tabs are.
    2. Print a one page PDF which just reads "Tab 1" or whatever, on the tab itself
    3. Set the paper source to ray 1 where letter sized paper is.
    4. Print a PDF of the document to go behind tab 1.
    . . . and then repeat.
      I am working with a Canon Image Runner Advance copier/printer into which tabs can be loaded. It includes an insert sheets setting in the properties, which allows a user to specify the pages where a tab or slip sheet should go.  But I don't want to deal with creating a very large PDF, and then identifying all of the pages where an insert should occur.

    Here is the powershell code for adding ips to relayiplist..hope this helps.
    this code will take the ips of the host machine and add it to the relayiplist...works for me...
    $Networks = Get-WmiObject Win32_NetworkAdapterConfiguration -ComputerName localhost | ? {$_.IPEnabled}
    $ipblock= @(24,0,0,128,
    32,0,0,128,
    60,0,0,128,
    68,0,0,128,
    1,0,0,0,
    76,0,0,0,
    0,0,0,0,
    0,0,0,0,
    1,0,0,0,
    0,0,0,0,
    2,0,0,0,
    1,0,0,0,4,0,0,0,0,0,0,0,76,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255)
    $ipList = @()
    $octet = @()
    foreach ($Network in $Networks)
         $ipList = $Network.IpAddress[0]
            $octet += $ipList.Split(".")
            $ipblock[36] +=1
            $ipblock[44] +=1;
    $smtpserversetting = get-wmiobject -namespace root\MicrosoftIISv2 -computername localhost -Query "Select * from IIsSmtpServerSetting"
    $ipblock += $octet
    $smtpserversetting.RelayIpList = $ipblock
    $smtpserversetting.put()
    kautilya

  • Powershell script to update mailbox search

    I am trying to update a mailbox search using a powershell script:
    Stop-MailboxSearch -Identity "LitHolds" -confirm:$false
    $members = (import-csv -Path "Path"| ForEach-Object{$_.SamAccountName})
    foreach ($user in $members)
    Set-MailboxSearch -Identity "LitHolds" -SourceMailboxes $user.samaccountname
    Start-MailboxSearch -Identity "LitHolds" -confirm:$false
    I essentially have our sysadmins populating a csv file and then they run this script manually every night with the latest updates.  They are telling me that the mailbox search is empty.
    When I run the script I am getting a watson error immediately after with the following:
    WARNING: An unexpected error has occurred and a Watson dump is being generated: Value cannot be null.
    Parameter name: legacyDN
    Value cannot be null.
    Parameter name: legacyDN
        + CategoryInfo          : NotSpecified: (:) [Stop-MailboxSearch], ArgumentNullException
        + FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.Exchange.Management.Tasks.StopMailboxSearch
        + PSComputerName        : Exchange Server Name
    What I don't understand is why it's looking for a legacyDN??
    Anyone able to do something similar?
    Chuck

    Hi Chuck,
    I would like to verify if you have a legacy Exchange.
    The LegacyDN property indicates the legacyDN of the mailbox and matches the legacyExchangeDN attribute of the user object in  Microsoft Active Directory.
    If there is any update, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Apple TV does not work after trying to update software. Main light keeps blinking and on the screen shows itunes icon and a usb cable. What does that means?

    My Apple TV does not work after trying to install the new software update. The main light keeps blinking rapidly and on the screen it shows the itunes icon and a USB cable. What does that mean?

    The Apple TV is in recovery mode. Try to restore the Apple TV. Follow the link for instructions on the restore process.
    http://support.apple.com/kb/HT4367

  • When trying to update my IPad apps I am getting the message "Your Apple ID has been disabled". Still have more than 50$ in my account, so what does this mean ?  What can I do to get my ID enabled again ?

    when I am trying to download IPad updates I get the message "Your Apple ID has been disabled". What does this mean? How do I get my ID enabled again? Still got more than 50$ in my account !

    Reset your Apple ID password here >  Apple - My Apple ID
    More information here >  Apple ID: "This Apple ID has been disabled for security reasons"  appears

  • I keep getting this error message: ITunes was unable to load data class information from Synch Services. Reconnect or try again later. What does that mean? Can I fix it? or do I have to wait for the next update?

    I keep getting this error message: ITunes was unable to load data class information from Synch Services. Reconnect or try again later. What does that mean? Can I fix it? or do I have to wait for the next update?

    See TS2690: iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert.
    tt2

Maybe you are looking for