Quiestion on understanding the @ in powershell and needing confirmation

I came across the following script:
Get-ADUser -Filter * -SearchScope Subtree -SearchBase "ou=East,ou=SalesRegion,dc=Nutex,dc=com" | Set-AdUser -Replace @{title="Account Executive"}
I did not really understand the why the @ is used I did some searches on it
http://stackoverflow.com/questions/363884/what-does-the-symbol-do-in-powershell
they spoke about this being used to denote arrays.   However, they said if a value is comma separated its seen as an array anyway.  They did go on to say this is required for
Associative arrays.   I looked up associative arrays and got the following:
Associative arrays. Thus, you can access each property by entering the name of the property as a string into this array. Such an arrayassociates
each key with a value (in this case the key Home is associated with the value normal).
This tells me I think that the script I was looking at after the pipe had an associative array as we entered the name of the property "title"  and then it was associated
with the value "=Account Executive".
So when I see something like that I am seeing what is called a associative array, and these are vehicles that can be used to change or work with properties?  Its an array because
it can be dealing with multiple (or single depending on how many) objects.  In this case the object was the title property in AD.
Thats kind of how I am seeing this but its complex ideas and I am trying to break it down to simple thinking in my head.
Anyway before I commit this theory in my thinking I was just wanted some with more experience to let me know if I am on the correct path.

Thanks Fred!
that helps clear up things.  
coming to this forum really helps me in my learning, and also my peace of mind.  It always feels
good to be able to file something in your brain with enough data on it to feel comfortable.
quick question by "separate lines" what do you mean I am probably over thinking this but
when i think of separate line I think of hitting enter and having a new line but I don't think that's what you meant was it?    Or did you just mean when you use a semi colon that it created a new seperate line.  (lots of small info in your
last post there that was helpful, I am a real newbie at powershell, I just tackle some advanced topics because its in some script or cmdlet I see in my studies and I get curious, and want answers lol)

Similar Messages

  • Replacement Needed. This iphone is not able to complete the activation process and needs to be replaced. Please visit your nearest apple store or authorized service center.

    Probably will never ever think of buying a locked phone from AT&T cause its one of the worst system integrations ever that these companies could think of.
    The entire problem started when I put in a request with at&t to unlock my iphone 4s (ios7) which did get approved. I performed the entire instructions they asked me to do, which is to backup and restore. After doing those instructions my iphone gave me an error message below
    The SIM card inserted in this iPhone does not appear to be supported.
    The SIM card that you currently installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.
    Basically saying that at&t hasn't still unlocked the iphone which a really helpful apple executive was able to confirm. I initiated another unlock process from at&t in order to unlock the iphone, just to be sure that its not something wrong from my end. The nice at&t lady stayed on chat with me to unlock the iphone step my step while I was calling the apple tech too. And the apple tech confirmed again that the iphone is locked to at&t.
    Now, just a few minutes ago I tried another restore to see if any progress is being made and to my surprise I got an error message saying
    Replacement Needed. This iphone is not able to complete the activation process and needs to be replaced. Please visit your nearest apple store or authorized service center.
    I feel like I am just going around these two different "money hogger" companies which set certain rules and regulations to screw a regular phone buyer. I purchased this iphone in USA and trying to unlock in India, is it really this hard to simply unlock a device.
    For now I am going to try to call a apple office in india (apprently we don't have very many out here) and see if they can help me. But any other assistance regarding unlocking an iphone 4s would be helpful. I have however, tried checking IMEI.info, called up apple, talked to at&t (which always say go talk to apple) I do have a case number from apple as well in case an apple executive reads this discussion forum (case number: 566383594)
    Thanks

    You got a confirmation from AT&T that it was authorized. Is this correct? - Yes i did get an email authorization on the 21st.
    Then you connected the phone to a computer with the latest version of iTunes installed. You clicked on the phone's name in iTunes, then clicked "Backup Now". - Yes
    When that finished you clicked "Restore iPhone" (NOT "Restore Backup") - Yes
    Are you with me so far? - Yes.
    And @ Varjak is right that after the 3rd restore I get the replacement error. 
    Plus I have NEVER jailbroken the iPhone. To give you another update, I spoke to a really nice apple tech in India who was atleast able to get me out of the replacement error by doing a recovery mode option. However, the lastest restore still gives me the same error
    The SIM card inserted in this iPhone does not appear to be supported.
    The SIM card that you currently installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.
    Message was edited by: jabgars

  • In Lightroom 3 I am in Library mode in the Grid View and need to rearrange images, but it is not allowing me to move them.

    In Lightroom 3 I am in Library mode in the Grid View and need to rearrange images, but it is not allowing me to move them.

    I don't do a lot of dragging to custom arrange my images. But the custom order is right at the bottom of the list of sort orders on my computer.
    Added later: But don't worry about the custom order. It doesn't make any difference on my system. Are you sure you are dragging the image itself, and not the border around the image?

  • When I go to update apps or go into the I store it tells me I am in the us versions and need to go to uk version how do I do this and why has it switched?

    When I go to update apps or go into the I store it tells me I am in the us versions and need to go to uk version how do I do this and why has it switched?

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311

  • UNDERSTAND THE NEW DATE AND TIME DATA TYPES IN ORACLE 9I

    제품 : SQL*PLUS
    작성날짜 : 2001-08-01
    UNDERSTAND THE NEW DATE AND TIME DATA TYPES IN ORACLE 9I
    ========================================================
    PURPOSE
    Oracle 9i 에서 소개되는 새로운 datetime data type 에 대해 소개한다.
    Explanation
    Example
    1. Datetime Datatypes
    1) TIMESTAMP
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND
    2) TIMESTAMP WITH TIME ZONE
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND/
    TIMEZONE_HOUR/TIMEZONE_MINUTE( +09:00 )
    or TIMEZONE_REGION( Asia/Seoul )
    3) TIMESTAMP WITH LOCAL TIME ZONE
    : YEAR/MONTH/DAY/HOUR/MINUTE/SECOND
    4) TIME WITH TIME ZONE
    : HOUR/MINUTE/SECOND/TIMEZONE_HOUR/TIMEZONE_MINUTE
    2. Datetime Fields
    1) YEAR/MONTH/DAY/HOUR/MINUTE
    2) SECOND(00 to 59.9(N) is precision) : Range 0 to 9, default is 6
    3) TIMEZONE_HOUR : -12 to 13
    4) TIMEZONE_MINUTE : 00 to 59
    5) TIMEZONE_REGION : Listed in v$timezone_names
    3. DATE 와 TIMESTAMP 와의 차이점
    SQL> select hiredate from emp;
    HIREDATE
    17-DEC-80
    20-FEB-81
    SQL> alter table employees modify hiredate timestamp;
    SQL> select hiredate from employees;
    HIREDATE
    17-DEC-80 12.00.00.000000 AM
    20-FEB-81 12.00.00.000000 AM
    단, 해당 Column 에 Data 가 있다면 DATE/TIMESTAMP -> TIMESTAMP WITH
    TIME ZONE 으로 Convert 할 수 없다.
    SQL> alter table employees modify hiredate timestamp with time zone;
    alter table employees modify hiredate timestamp with time zone
    ERROR at line 1:
    ORA-01439: column to be modified must be empty to change datatype
    4. TIMESTAMP WITH TIME ZONE Datatype
    TIMESTAMP '2001-05-24 10:00:00 +09:00'
    TIMESTAMP '2001-05-24 10:00:00 Asia/Seoul'
    TIMESTAMP '2001-05-24 10:00:00 KST'
    5. TIMESTAMP WITH LOCAL TIME ZONE Datatype
    SQL> create table date_tab (date_col TIMESTAMP WITH LOCAL TIME ZONE);
    SQL> insert into date_tab values ('15-NOV-00 09:34:28 AM');
    SQL> select * from date_tab;
    DATE_COL
    15-NOV-00 09.34.28.000000 AM
    SQL> alter session set TIME_ZONE = 'EUROPE/LONDON';
    SQL> select * from date_tab;
    DATE_COL
    15-NOV-00 12.34.28.000000 AM
    6. INTERVAL Datatypes
    1) INTERVAL YEAR(year_precision) TO MONTH
    : YEAR/MONTH
    : Year_precision default value is 2
    SQL> create table orders (warranty interval year to month);
    SQL> insert into orders values ('2-6');
    SQL> select warranty from orders;
    WARRANTY
    +02-06
    2) INTERVAL DAY (day_precision) TO SECOND (fractional_seconds_precision)
    : DAY/HOUR/MINUTE/SECOND
    : Logon time 확인시 주로 사용
    : day_precision range 0 to 9, default is 2
    SQL> create table orders (warranty interval day(2) to second);
    SQL> insert into orders values ('90 00:00:00');
    SQL> select warranty from orders;
    WARRANTY
    +90 00:00:00.000000
    7. Interval Fields
    - YEAR : Any positive or negative integer
    - MONTH : 00 to 11
    - DAY : Any positive or negative integer
    - HOUR : 00 to 23
    - MINUTE : 00 to 59
    - SECOND : 00 to 59.9(N) where 9(N) is precision
    8. Using Time Zones
    1) Database operation
    - Defined at CREATE DATABASE
    - Can be altered with ALTER DATABASE
    - Current value given by DBTIMEZONE
    2) Session operation
    - Defined with environment variable ORA_SDTZ
    - Can be altered with ALTER SESSION SET TIME_ZONE
    - Current value given by SESSIONTIMEZONE
    3) TIMESTAMP WITH LOCAL TIMEZONE
    - TIME_ZONE Session parameter
    : O/S Local Time Zone
    Alter session set time_zone = '-05:00';
    : An absolute offset
    Alter session set time_zone = dbtimezone;
    : Database time zone
    Alter session set time_zone = local;
    : A named region
    Alter session set time_zone = 'America/New_York';
    Reference Document
    ------------------

    Hi ,
    I am facing the same problem and my scenario is also same (BAPI's).
    So can you please tell me how you overcome this problem .
    Thanks,
    Rahul

  • I signed up for the edge program and need to send back my old phone.  The instructions say I need to put it in the edge bag provided with my new phone order, but no bag is in the box.  Can I get one at a store?  Please respond!!

    I signed up for the edge program and need to send back my old phone.  The instructions say I need to put it in the edge bag provided with my new phone order, but no bag is in the box.  Can I get one at a store?  Please respond!!

        monkeybuttqueen,
    Thank you so much for reaching out to us today. I hope you are enjoying the new device! I do apologize that you didn't get the proper info sent to you to send back your old device. You can always print a label online from My Verizon. You can do that at www.verizonwireless.com/printlabel Pleaes keep us posted if you have any questions or concerns.
    KevinR_VZW
    Follow us on Twitter @VZWSupport

  • HT204266 I forgot the answers to the security questions and need it to buy things from the apple store in my new iPhone, how can I resolve it?  Thank you

    I forgot the answers to the security questions and need it to buy things from the apple store in my new iPhone, how can I resolve it?
    Thank you

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address then see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551

  • Using Configurator, you can install paid apps to a set of iPads. How do you recover the app license if one of the iPad "dies" and needs to be replaced?

    Using Configurator, you can install paid apps to a set of iPads. How do you recover the app license if one of the iPad "dies" and needs to be replaced?

    Used iMac iLife issues: Apple Support Communities

  • I have just purchased a new computor. I had Lightroom 5.7 on the old computor and need to know how to go about downloading the program to my new computor. Thanks for any help you can provide.

    I have just purchased a new computor. I had Lightroom 5.7 on the old computor and need to know how to go about downloading the program to my new computor. Thanks for any help you can provide.

    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • I accidently "hide" some of my purchased apps in the app store and need to know how to make them visible again.

    I accidently "hide" some of my purchased apps in the app store and need to know how to make them visible again.

    Mac App Store- Hiding and unhiding purchases

  • I have removed all movies to Seagate portable drive to free up space on the startup disc and can confirm all can not be found on my computer, however it still shows as being there when i check storage ???

    I have removed all movies to Seagate portable drive to free up space on the startup disc and can confirm they are no longer on my computer after doing a search, i trashed them and then emptied the trash,  however they still show as being there when i check storage on the startup disc???????, can anyone advise what is happening here?

    Try reindexing spotlight on the Startup drive.
    Spotlight: How to re-index folders or volumes - Apple Support

  • I am using Photoshop Elements 12 and when I am importing pictures the system freezes and needs to be forced quit. When I restart it it continues to bring the pictures in eventually. What is the solution to this?

    I am using MAC os version of elements 12 with OS 10.9.4 (the latest). When I am importing pictures from a card elements freezes consistently and needs to be voce closed. When I then restart elements it continues to bring the pictures in but this is very tedious and I need to get the matter resolved,

    TomWolves
    I would do another rename to disable or just delete all the OldFilm.AEX and OldFilm.AEXOLD in that NewBlue Folder.
    If you do, please let me know if that OldFilm.AEX regenerates itself the next time you open Premiere Elements 13.
    Here is the strange story...at least from my Premiere Elements 13 Windows perspective...never had the No Disc error issue
    Here are some details to sort through trying to figure out why you have 2 OldFilm.AEX file in the NewBlue Folder.
    1. The original OldFilm.AEX file of Premiere Elements 13 has the date of 9/4/2014 (just before the version was released on 9/24/2014).
    After the 13.1 update is done (whenever date), that OldFilm.AEX file has the date of 1/31/2015. I first saw notification of the 13.1 Update
    release early in February 2015.
    2. Now in Premiere Elements 13.1, if I take my OldFilm.AEX (date 1/31/2015) and disable it by renaming it to OldFilm.AEXOLD, close out of there, and reopen
    the program, the OldFilm.AEX is not seen to regenerate. The OldFilm.AEXOLD remains there as its lone self.
    3. So, I am thinking that your OldFilm.AEXOLD in the screenshoot is "original equipment" that you disabled to get rid of No disc error.
    Why the OldFilm.AEX is there also is not clear, but the dating on it suggests that it came along with the 13.1 Update.
    Bottom line: let us try the deletion or disabling one more time and see what happens.
    Looking forward to further reports on your findings, as your time permits.
    Thanks.
    ATR

  • From where i can understand the control flow and architecture of JVM?

    i want to know control flow and architecture of JVM?
    Where i can know from?
    if some one wish to explain you can here also.

    makpandian wrote:
    No it s not broken.
    As per your experience,tell me some links.Per my experience I don't need links. I could build the VM both from the general level and the specific levels by referring only to the VM spec.
    And I read the book I suggested, first edition, years ago. Although with many other books.
    Conversely if I wanted to find a link now then I would use google.

  • Stuck in the stone age and need some advice

    while ($true)
    $A = (Get-Date -DisplayHint time)
    $log = "c:\Alert-2.csv"
    Myscript | wc > c:Alert.log
    Get-Content -path c:Alert.log | % { $_.Substring(1,7).Trim( ); } > c:Alert-1.log
    Get-Content -path c:Alert-1.log >> c:Alert-2.csv
    Add-Content >> ($(c:Alert-2.csv)) '`t,$A '
    Okay I'm stock on a 2003 server that has v2 of powershell, and we are working on replacing but that's ,,,the future.
    My problem is this;
    I just want to append a time stamp  to each new entry in a csv file my script creates, like this
    "0, 01:00:00"
    I get the  "0" before the ',' but nothing after.
    My results are less than optimal and I am hogtied to powershell v2 so any help would be greatly appreciated.

    What do you mean by append.  A CSV is a file of comma separted values and a header.  YOu are trying to add a tab delimited filed with no header.  That won't work.
    To load a CSV wew would do this:
    $csv=Import-Csv $log
    If you want to add and update a field we would do this:
    $csv=Import-Csv $log -header h1,h2,h3...new
    Where h1..hn are the existing columns and "new" is a new column name.  Now you can enumerate and assign the timestamp.
    $ts=Get-Date -Display time
    $csv | %{$_.New = $ts}
    $csv | Export-Csv Outfile.csv -notype
    ¯\_(ツ)_/¯

  • Where do I get the download for adobe 9 standard I have the serial number and need to move it?

    ADOBE 9 STANDARD
    I have the serial number
    I need to move it to a new work station
    I need the download
    Any idea where I can get it

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5 | 1
    Contribute:  CS5 | CS4, CS3 | 3,2
    FrameMaker:  12, 11, 10, 9, 8, 7.2
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

Maybe you are looking for

  • Reg: Multiple Traffic lights(2 fields) in ALV

    Hi Gurus, I have created one field with traffic light in ALV display. But i need one more traffic light field in the same ALV.  Can any one please give me small example with multiple traffic licght fields in one ALV. Thanks Mahaboob

  • Low iPhone Battery Issue

    Had posted this on the iPhone 3G board also. With the battery drain I'm getting during the day, has anyone tried out any of the extra battery alternatives? Kensington Battery Pack, Richard Solo or the 2500mAH Xpower1? It's frustrating running out of

  • Connections to database

    I have problems with database connections. Cursors are being kept open. I think I have closed all RowSetIterators. Does anyone have som suggestion on solution. It looks like the RowSetIterators used in JSP page are kept open. I am using ADF.

  • Elements has disappeared

    I have two photoshop programs. CS5 and elements 7 up until two days ago they both were running fine. however i resently up graded the system and now Photoshop elements isnt working. It is in the control panel but when I click on the icon it says adob

  • I want a delay before the drag starts.....

    Hi, I'd implemented a drag and drop between two JList containing myObject objects behind a celle renderer. I want that the drag triggering occurs after a few seconds of selection, but now this is not the case, it occurs immediately. The source code f