Script works in PowerGUI, not in ISE or from powershell.exe

Hi,
I am trying to integrate with the Manage Engine Password Manager PRO Rest API.. I have some code working on my desktop where I currently use PowerGUI this was all seemingly working correctly.. I have then gone to execute the code from a window on the same
machine and it doesn't work. I have also tried it in ISE with the same error...
Now the odd thing is if I choose "run in external window" from powergui and then run the script it works fine..
What the hell is going on for this window and the powergui console to be different?
the error I am getting is:
Invoke-RestMethod : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
which I would expect if I was running the code on a machine where the Auth Code isn't registered, as you link an API user to a hostname..
code:
$inputData = @"
INPUT_DATA={
"operation":{
"Details":{
"RESOURCENAME":"PLdwdwd999",
"ACCOUNTNAME":"fefefeL999-Wallis-SQLSV",
"RESOURCETYPE":"Windows",
"PASSWORD":"fefefefef",
"NOTES":"fefefwerhthrtbrbr",
"RESOURCEURL":"http://192.168.0.1",
$uri = "https://xxxwintspmp001:7272/restapi/json/v1/resources?AUTHTOKEN=a111111-1111-411B95E-0B6DFE643CE3"
$resp = Invoke-RestMethod -uri $uri -Body $InputData -Method Post
System.Threading.Thread]::CurrentThread.GetApartmentState()
returns STA in both windows too..
please help, I'm now stumped.
Regards
David

If I had known I was getting certificate errors I wouldn't have posted this here would I?
Nor did powershell come up with a message to tell me, it was only when you mentioned proxies that I went down that avenue of investigation...
Sorry. I missed it in all of the description. This is why it is so important to copy and paste the complete error message and not just portion:
You posted above: "Could not establish trust relationship for the SSL/TLS secure channel"
The SSL/TLS should have clued me.  That means the cert was rejected.  To accept bad certs you need to do as you did and return $true on the callback.
I am surprised that PowerGui does that.  Are you sure the code is identical or did you option GUI to accept bad certs?
The dummied callback will effect every connection in you session until PowerShell is closed.
¯\_(ツ)_/¯

Similar Messages

  • Script works in etester, not in Onesight ?

    I am having some odd results when creating a script in etester and running it on Onesight.
    Basically, the script does:
    1. Go to a web page
    2. Login
    3. Perform tests
    4. Log out
    I am basically trying to ensure that if 2 fails with error message "Your username is not recognised" to skip pages 3 and 4.
    I have set error recovery to skip on text matching failures and custom object test failures.
    I have created both a text match test and a custom object test to action if the above login failure message occurs.
    When I run the test in etester with a false user name I get:
    [1]: Web Page Passed
    [2]: Login Failure One failed text matching test, one failed custom object test.
    END TESTING SCRIPT
    So in etester working great - BUT - when I load this onto Onesight it continues to try and run pages 3 and 4, which, because it hasn't logged in does action correctly. It trys to press the buttons it thinks should be there, but aren't giving me all sorts of problems.
    Any ideas?

    Unfortunately, those settings you describe are for scripts in eTester only. You could try to use some VBA which should work just as well. I included some code below that will hopefully help. Put it in the page that you are trying to check the text.
    Private Sub RSWVBAPage_afterPlay()
    If RSWApp.FindInHtml("Your username is not recognised") Then RSWApp.GotoPage 5
    End Sub

  • Script works in toad, not in sqlplus

    Hope you can help. The error i get is...
    ERROR at line 5:
    ORA-06550: line 5, column 1:
    PLS-00103: Encountered the symbol "COLUMN"
    Script is ...
    SET linesize 157 pagesize 54 echo OFF
    SET num 6
    SET FEEDBACK OFF
    SET SHOW OFF
    SET VERIFY OFF
    SET RECSEP EACH
    DEFINE LV_MMYY = &&ENTER_DATE_IN_MMYY_FORMAT;
    var yy CHAR(2);
    BEGIN
    :yy := SUBSTR('&LV_MMYY',3,2);
    END;
    COLUMN mymonth NOPRINT NEW_VALUE CHAR
    BREAK ON mymonth
    COLUMN mymonth NEW_VALUE LV_MONTH
    SELECT TO_CHAR(TO_DATE(SUBSTR('&LV_MMYY', 0, 2),'mm'),'MONTH')mymonth FROM DUAL;          
    COLUMN myyear NOPRINT NEW_VALUE CHAR
    BREAK ON myyear
    COLUMN myyear NEW_VALUE LV_YEAR
    SELECT '20'||SUBSTR('&LV_MMYY', 3, 2) myyear FROM DUAL;          
    COLUMN today NOPRINT NEW_VALUE CHAR
    BREAK ON TODAY
    COLUMN TODAY NEW_VALUE MYDATE
    SELECT TO_CHAR(SYSDATE,'YYYYMMDD') today FROM DUAL;
    CLEAR BREAKS
    ttitle LEFT ' 'MYDATE' report name ' RIGHT 'PAGE'FORMAT 999 SQL.PNO SKIP 1 -
    LEFT ' JANUARY THRU 'LV_MONTH''LV_YEAR' report info' SKIP 2 -
    BREAK ON REPORT ON REPORT
    SELECT *
    FROM mytable
    WHERE
    year = :yy
    /

    You are missing a / character to terminate the PL/SQL block.
    BEGIN
    :yy := SUBSTR('&LV_MMYY',3,2);
    END;
    COLUMN mymonth NOPRINT NEW_VALUE CHAR

  • Messages on my macbook pro is not working. it will not let me iMessage from my computer or FaceTime. how do i fix that?

    i was able to use messages on my macbook for a while and now my phone does not connect to my computer so i cannot message or facetime from my computer. both wifi is connected to my phone and computer so why is it not working?

    Log out, log back in, and try again.

  • Error message running powershell as admin, not running ISE as admin

    I have a powershell script local on my dc. When I run the script from inside ISE (as admin) it works beautifully. When I run it just inside a powershell window (as admin) it gives me an error:
    Register-ScheduledTask : Cannot bind argument to parameter 'Action', because PSTypeNames of the argument do
    the PSTypeName required by the parameter: Microsoft.Management.Infrastructure.CimInstance#MSFT_TaskAction.
    Why would it be different running from ISE than from powershell window? I don't want to have to open ISE ever time to execute the script.
    mpleaf

    Back quotes and smart quotes from Web pasted code can create big headaches too.
    If you want to see an example of this, take a look at the code here:
    https://dthomo.wordpress.com/2011/02/10/disabling-activesync-by-default-on-exchange-2010/
    Many moons ago, I copied that, pasted it into Notepad++, saved it as xml, and put it up on my Exchange servers.
    Result = broken, very angry Exchange. The code is perfectly fine, but those quotes...
    Now, one interesting thing I just noticed. I pasted that code above into Notepad++ and saw the smart quotes as expected. I then pasted it into the ISE, and the quotes appeared as normal straight quotes. I saved the file as test.xml to see if the
    ISE was somehow smart enough to save me from these quotes. Opened it up in Notepad++. Smart quotes survived.
    I think this could be kind of dangerous, as you'd never know that your quotes were bad by looking at the text in the ISE... Can either of you confirm this behavior?
    EDIT: The text highlighting of the saved file in the ISE is apparently a good indicator of this though:
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • Exchange 2010 GAL Export script working from EMS but not as a scheduled task

    I have been asked to get a script together to export the GAL on an Exchange 2010 server and then email it to a manager. I have been playing it with days, and have pruned it to the very minimum to at least try and get it working before improving it. At the
    moment I have the text as below:
    Del c:\GALexport.csv
    Get-Recipient -ResultSize unlimited | where {$_.HiddenFromAddressListsEnabled -eq $false} | Select DisplayName,PrimarySMTPAddress,sAMAccountName,alias | Export-Csv "c:\GALexport.csv"
    This works just fine in Exchange Management Shell and deletes the previous report before creating a new one. However, when I set it up as a scheulded task, it does nothing.
    The task is set up as follows:
    Action - Start a Program
    Program/ Script C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe
    Add arguments -version 2.0 -NonInteractive -WindowStyle Hidden -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; d:\Scripts\GalExportReport.ps1"
    This is set to run under my administrator account with the highest privileges and I have the logon as batch right.
    Unfortunately, when I run it as a scheduled task, nothing happens. The last run result is (0x0) and in the history it says 'task completed', but no report is produced. Can anyone advise please?

    Does it delete the c:\GALexport.csv file? If not, then its not even executing the ps1 script...
    - Open cmd prompt and run below command to confirm that there isn't any typo or any other small error...
    C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe -version
    2.0 -NonInteractive -WindowStyle Hidden -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; d:\Scripts\GalExportReport.ps1"
    - If above works then something wrong with task scheduler configuration...
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • GPRM Button scripts work in Simulate, but not after burning

    Hello everyone:
    I have a question regarding GPRM-based buttons and scripting menu navigation. My scripts work perfectly in DVD Studio Pro's simulate mode, but after building and formatting a DVD, the scripts do not function properly on a set top box, in Apple DVD Player, or when playing from the Video TS folder. The scripts were based off of a tutorial by Hal MacLean at dvdstudiopro.co.uk.
    Essentially, I have one track which is accessed via a Main Menu or a Chapters Menu. There is an animation that plays at the head of each menu, so menu has a loop point. The user should return to the correct screen, the correct button should be highlighted, and the menu should jump to the loop point. All of these things happen in simulate mode, but after burning, the loop point is ignored: The correct menu and buttons are highlighted, but the menu plays from the beginning. Here is how the project is laid out:
    From the main menu, if the user chooses Play Movie, the following script plays:
    mov GPRM 0, 1
    Jump Feature
    From the main menu, if the user chooses Chapters, the following script plays:
    mov GPRM 0, 0
    Jump Chapters Menu
    Each of the chapter buttons is assigned to the start of a scene. The feature's menu call is assigned to the following script:
    mov GPRM 1, SPRM 8
    div GPRM 1, 1024
    Jump Main Menu(Loop) [GPRM 1] if (GPRM 0 = 1)
    Jump Chapters Menu(Loop) [GPRM 1]
    I was able to make the menus behave properly by writing the scripts this way:
    mov GPRM 1, SPRM 8
    div GPRM 1, 1024
    Jump Main Menu Script [GPRM 1] if (GPRM 0 = 1)
    Jump Chapters Menu Script [GPRM 1]
    Main Menu Script:
    Jump Main Menu(Loop)
    Chapters Menu Script:
    Jump Chapters Menu (Loop)
    But, although the user is returned to the correct menu and the loop point, now only the default button is highlighted.
    Has anyone run into the same issues? Can anyone see any flaws in my scripts, or have any suggests? i would really appreciate any thoughts you all have. Thanks for your time!

    Do you have any pre scripts atached to the menus? I was having the same problems as you and found that pre scripts and GPRMs don't play nice (at least in DSP). Removing the pre scripts solved my issue.
    http://discussions.apple.com/message.jspa?messageID=4643747#4643747
    Good luck!

  • Script Works in Formcalc but not Javascript

    I have two radio button lists laid out in two columns to select garment sizes (small, medium, large). The "M" side is MEN and the "W" side is WOMEN.  The Radio button lists are named MENS and WOMEN respectively.
    ITEM    QTY.       COST       ITEM    QTY.    COST 
    ||MS                          ||WS
    ||MM                          ||WM
    ||ML                          ||WL
    ||NO SELECTION                ||NO SELECTION
                        TOTAL                      TOTAL
    The user selects the size using the radio button, moves into the QTY field to input the quantity and the COST is automatically calculated in a read-only numeric field (the QTY and COST fields are not shown above).
    However, if a radio button (other than "NO SELECTION") is selected in one list and you attempt to select something in the OTHER list, after inputting a quantity a message box will pop up saying:  “Unable to calculate totals.  You have an active selection in the other side.  Please set the other side to 'No Selection' to continue."  The event used for this in the QTY field is "exit".
    Additionally, the fields are reset to zero (0) making the TOTAL zero (0).
    The "NO SELECTION" button of each list has a value of 1.
    I have a formcalc script in each of the QTY fields on the mens side that read:
    if (Women > 1) then
       xfa.host.messageBox("Unable to calculate totals.  You have an active selection in Women.  Please set
       Women to 'No Selection' to continue.")
         MS=0
         MM=0
         ML=0
    endif
    The WOMEN side has a similar formcalc script if something is selected on the MENS side.  It works fine in formcalc.  However, when I try to use Javascript to perform this, the message box does not appear.
    if (Women > 1) {
       xfa.host.messageBox("Unable to calculate totals.  You have an active selection in Women.  Please set
       Women to 'No Selection' to continue.");
          MS=0;
          MM=0;
          ML=0;
    I am teaching myself JS and wanted to put functions into the project since this is all repetitive.  However, I don't understand why it works with formcalc and not JS.  The book I purchased for learning JS was a bad choice (and I won't mention it here).  However, any help would be apppreciated.
    BTW, I used UPPER CASE in this post for emphasis.  The case matches in the actual script.

    Paul, will this script work, instead?
    var brain
    var correctSyntax = "Object.rawValue"
    if (correctSyntax != "Object.rawValue") {
       xfa.host.messageBox("YOU ARE AN IDIOT!);
       brain = ""
    Learning Javascript is gonna be a loooong process for me
    But as they say, if you don't make mistakes, how will you learn?  I'm glad there are guys like you around.
    THANKS, PAUL!

  • Script working fine manually but not in cron

    i have unix script with is running fine & great when i run manually
    is the same is in cron it is not running at the parts where it is interacting with database
    remaining parts of script working fine
    script
    ======
    export ORACLE_SID=TEST
    export TWO_TASK=TEST
    dat=`sqlplus -s / <<END
    set feedback off;
    set heading off;
    select count(*) from
    (SELECT serial,status,date_time
    from ttable
    where STATUS='C'
    order by date_time);
    exit;
    END`
    echo dat value $dat
    echo "hi"> 123.lst
    if [ $dat -gt 0 ]
    then
    sqlplus -s / <<-END >>123.lst
    @/home/scr/pro1.sql
    exit;
    END
    fi
    any help is appreciated
    Thanks in advance

    Bacause cron does not know anything about your enivroment, you need explicitly set all your enviroment (PATH, ORACLE_HOME and so on) in this script.
    Second option is invoke your script using "su - oracle -c </path/to/script_name>"

  • Batch PDF script works in ID4 but not in ID5.5

    this script worked flawlessly in ID4, but doesn't work in 5.5....It's a script that converts all open indd files to pdf.
    This is the error...
    AppleScript Error!
    Error Number: -2741
    Error String: Expected "," but found application constant or consideration.
    Engine: Default
    File: Users/AM/Library/Preferences/Adobe Indesign/Version 7.5/en_US/Scripts/Scripts Panel/PDFer.applescript
    Anyone know what's wrong with the script?
    This is the script:
    property convertSpotToProcess : false
    my main()
    on main()
      tell application "Adobe InDesign CS5.5"
      set alleExportFormater to name of every PDF export preset
      set alleDok to name of every document
      tell document 1
      set valgtExportFormat to (choose from list alleExportFormater with prompt "Choose PDF Setting")
      if valgtExportFormat = false then error number -128
      set targetmappe to my velgmappe()
      end tell -- doknavn
      set valgtExportFormat to PDF export preset (valgtExportFormat as text)
      repeat with ggg in alleDok
      set doknavn to ggg as text
      tell PDF export preferences
      set page range to all pages
      end tell
      set filnavn to doknavn
      if filnavn ends with ".indd" then set filnavn to text 1 thru -6 of filnavn
      set filnavn to filnavn & ".pdf"
      tell document doknavn
      if convertSpotToProcess then set convert to process of (every ink whose is process ink is false) to true
      set targetfil to (targetmappe & filnavn) as string
      with timeout of 40 * 60 seconds
      export format PDF type to targetfil using valgtExportFormat without showing options
      end timeout
      delay 1
      end tell
      end repeat
      say "Your PDFs are ready. "
      end tell
    end main
    on velgmappe()
      try
      tell me to activate
      end try
      return (choose folder with prompt "Choose Folder")
    end velgmappe

    Hi,
    Use the ready made script was developed by Peter.  It's one of the good resources, find in the following links.
    http://www.kahrel.plus.com/indesign/batch_convert_cs3.html

  • Short, basic VB script works on 2003 Server but not on 2012 R2 server

    Hello all,
    Hopefully I'm posting this in the right place. I have a legacy VB script that I need to keep, but I'm having trouble getting it to work on Server 2012 R2.
    The script reads a file called "Test.txt" that contains the following string:
    String1|String2
    Part of the VB script is to read this "Test.txt" file and parse this line into 2 separate elements based upon the "|" delimeter:
    On Error Resume Next
    Dim FSI, inputFile, String, f, WshShell,WshNetwork, WshFSO, StringArray
    inputFile = "Test.txt"
    CONST ForReading = 1, ForWriting = 2, ForAppending = 8
    Set FSI = CreateObject("Scripting.FileSystemObject")
    Set f = FSI.OpenTextFile(inputFile, ForReading, True)
    Set WshShell=WScript.CreateObject("WScript.Shell")
    '********* Read the file ********
    String = f.ReadLine
    msgbox("String: "&string)
    '********* Split the line *******
    StringArray = Split(String,"|", -1, 1)
    msgbox("stringarray(0): "&stringarray(0))
    msgbox("stringarray(1): "&stringarray(1))
    The variables in this script when ran on Server 2003 are:
    string = String1|String2
    stringarray(0) = String1
    stringarray(1) = String2
    So this script parses the String1|String2 line perfectly on Server 2003. However, running this same VB script on Server 2012 R2 results in very strange output:
    The variables in this script when ran on Server 2012 R2 are:
    string = ӱƥt
    stringarray(0) = ӱƥt
    stringarray(1) =
    Is there anything on Server 2012 R2 that I need to install to get this to work in VB, or what is the issue with Server 2012 R2 and visual basic? I'd LOVE to redo this in PowerShell but I need to keep it Visual Basic for legacy reasons for a few more months.

    Hmm interesting. I tried using the 3 different "format" parameters for the OpenTextFile method, and none of them worked on Server 2012 R2:
    http://msdn.microsoft.com/en-us/library/aa265347(v=vs.60).aspx
    However, I copied the text file directly from the 2003 server and placed it on the 2012 R2 server, and then the script worked great!
    Thanks for steering me in the right direction Bill!

  • Scroll script works in Flash 6, but not in 9

    I have a simple scroller script that works fine for scrolling
    a movieclip in Flash 6, but when I publish in anything later, it no
    longer scrolls. Both are set to AS2. Is there an obvious reason
    that anyone can see of why this should be? When I test the script
    syntax in the actions panel, it says there are no errors in the
    script. By tracing I can see that there's no trouble with targeting
    the up and down buttons or scroll slider, and the slider still
    drags, but the content MC doesn't move as it should. Thank you very
    much for your help, in advance. Here's the script, in case the
    answer isn't obvious from the description:

    You were right! It works now, even as posted above. I just
    remembered I had fixed an upper/lower case inconsistency just for
    neatness since I last tested, never thinking that would fix the
    problem! I just tested again and to my surprise, it works great. I
    guess neatness does count!!! Thanks again, kglad!

  • Coded ui scripts working in one system when taken latest it is not working in other system

    Executable scripts working on one system, when taken latest on another system and executed, fails without throwing any error

    Hi Yellesh,
    Could you please provide us detailed error messages so that we can further look at this issue?  This blog introduced a similar scenario, maybe it can help you.
    http://blogs.msdn.com/b/mathew_aniyan/archive/2011/03/01/smart-match-amp-slow-coded-ui-tests.aspx
    One quick way to figure out the issue is to record a new and similar coded UI test against the same application on another system and run it. If the new test run fines, compare it with the old one for example the searchproperties of controls and the control
    hierarchy etc.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Bash script working in shell, but not in Automator

    This script works for me in a bash shell, and adds tags to an mp3.
    #!/bin/bash
    for file in *.mp3;
    do
    a=`basename "$file" .mp3 | sed -e 's/.* - //'`
    b=`echo "${file%%-*}"`
    id3tool \
    -t "$a" \
    -r "$b" \
    "$file"
    done
    If I put it into Automator (get selected items-->shell script), it doesn't work...
    it doesn't give errors, it simply doesn't have any effect, why?
    for file in "$@"
    do
    a=`basename "$file" .mp3 | sed -e 's/.* - //'`
    b=`echo "${file%%-*}"`
    /usr/local/bin/id3tool \
    -t "$a" \
    -r "$b" \
    "$file"
    done

    There's a step ahead, apparently the automator script WORKS, the only problem is that the artist name is "/path/to/mp3/ARTISTNAME", while if I run the script in a bash shell, the artist name is correct and it is "ARTISTNAME", how "basename" output suggests, why?
    for file in "$@"
    do
    a=`basename "$file" .mp3 | sed -e 's/.* - //'`
    b=`echo "${file%%-*}"`
    /usr/bin/id3v2 \
    -t "$a" \
    -a "$b" \
    "$file"
    done

  • Another powershell workflow script will run in powershell ISE but no powershell command prompt.

    Hi,
    Im having some issue with a few powershell workflow scripts that will work in powershell ISE but they will appear to not run in a Admin powershell command prompt session.
    The script is simple.
    Workflow NewUser
        Param (
                [Parameter(Mandatory=$True)]
                [string] $givenname,
                [Parameter(Mandatory=$True)]
                [string] $surname,
                [Parameter(Mandatory=$True)]    
                [string] $template
        "Param1 = $givenname"
        "Param2 = $surname"
        "Param3 = $template"
    The saved file name is NewUser.ps1.
    When I run .\NewUser.ps1 -givenname test -surname test -template test
    Nothing happens.   In Powershell ISE, it outputs
    Param1 = test
    Param2 = test
    Template = test
    I can run .\NewUser.ps1 skdjfsdkfjsdkfjsdkfj in powershell command
    and nothing happens.
    I notice this behavior with a number of scripts that I get working with ISE and they dont work in powershell command prompt. 
    We are using Powershell 4.0
    Thanks Lance

    When I run
    Set-psdebug -step
    then newuser.ps1 -givename test -surname test -template test
    it gets to the line workflow newuser and quits
    am I missing some dependency?
    Running  [System.Threading.Thread]::GetDomain().GetAssemblies() in powershell commmand returns the following.
    GAC    Version        Location                                                                                       
    True   v4.0.30319     C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll                                   
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.ConsoleHost\v4.0_3.0.0.0__31bf...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll      
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.C...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\Syst...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xm...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d5...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\Sy...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__3...
    False  v4.0.30319                                                                                                    
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\Sy...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security\v4.0_3.0.0.0__31bf385...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Activities\v4.0_3.0.0.0__31bf3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\Sy...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Workflow.ServiceCore\v4.0_3.0....
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities.Presentation\v4.0_4.0.0.0__31bf38...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsB...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\Prese...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.X...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Core.Activities\v4.0_3.0.0.0__...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Diagnostics.Activities\v4.0_3....
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Management.Activities\v4.0_3.0...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security.Activities\v4.0_3.0.0...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Utility.Activities\v4.0_3.0.0....
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.WSMan.Management.Activities\v4.0_3.0.0.0_...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.DurableInstancing\v4.0_4.0.0.0__31bf...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf385...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Dat...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Utility\v4.0_3.0.0.0_...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\Syst...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Mic...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Management\v4.0_3.0.0...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\Syste...
    and for the ISE it returns this 
    GAC    Version        Location                                                                                                     
    True   v4.0.30319     C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll                                                 
    False  v4.0.30319     C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe                                                
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.ISECommon\v4.0_3.0.0.0__31bf3856ad364e35\Mic...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll                    
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Window...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll    
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\Syste...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll          
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.GPowerShell\v4.0_3.0.0.0__31bf3856ad364e35\M...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Editor\v4.0_3.0.0.0__31bf3856ad364e35\Micros...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\Presentation...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll          
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll          
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Config...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll            
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\Syste...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationP...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll      
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Di...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Managemen...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll  
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.AeroLite\v4.0_4.0.0.0__31bf3856ad364e35\Pre...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationType...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\Pr...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f11d50a3a\Syste...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transacti...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security\v4.0_3.0.0.0__31bf3856ad364e35\Micr...
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.GraphicalHost\v4.0_3.0.0.0__31bf3856ad364e35...
    False  v4.0.30319                                                                                                                  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemCore\v4.0_4.0.0.0__b77a5c561934e089\P...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll            
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Utility\v4.0_3.0.0.0__31bf3856ad364...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\P...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Commands.Management\v4.0_3.0.0.0__31bf3856ad...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Servi...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Activities\v4.0_3.0.0.0__31bf3856ad364e35\Mi...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activitie...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Workflow.ServiceCore\v4.0_3.0.0.0__31bf3856a...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities.Presentation\v4.0_4.0.0.0__31bf3856ad364e35\Sys...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Core.Activities\v4.0_3.0.0.0__31bf3856ad364e...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Diagnostics.Activities\v4.0_3.0.0.0__31bf385...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Management.Activities\v4.0_3.0.0.0__31bf3856...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Security.Activities\v4.0_3.0.0.0__31bf3856ad...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.PowerShell.Utility.Activities\v4.0_3.0.0.0__31bf3856ad3...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.WSMan.Management.Activities\v4.0_3.0.0.0__31bf3856ad364...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.DurableInstancing\v4.0_4.0.0.0__31bf3856ad364e35\S...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\Syst...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll  
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXmlLinq\v4.0_4.0.0.0__b77a5c561934e08...
    True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Dynamic\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Dynamic.dll    
    Thanks Lance

Maybe you are looking for

  • How to change visibility property of a VC iView by clicking of a BI iView?

    Hi all! I have created four iViews: two speedometers with web application designer and two iViews with visual composer. I added the speedometers and a visual composer iView #1 to a portal page (default view). The requirement is that by clicking the s

  • Recording on to my nano

    How can i record my own voice onto my nano, it is an ideal way to study material to be used in exams. Somebody please help as exams are getting closer.

  • Motion 3 feature?

    Does anyone know if Motion 3 allows for EPS importing or if it still requires the creation of a PDF. Everything else about version 3 looks very cool.

  • On which version of RHEL OS, is Firefox 35+ browser supported?

    I have different flavours of RHEL installed, and want to Install Latest Firefox on all of these. So, I need the information, that on which version of RHEL is Firefox 35+ supported?

  • Cisco ucs 5108 thermal problem

    si Hi everyone! I've installed my first UCS system: 2 UCS 5108 & 2 UCS 6248 In first chassys  six blade-servers (2 - b230 m2& 4 b200 m2). In second - 5 b200 m2. I've got two air conditioners in server room working on their maximum. For the last week