TEO 2.3 and Powershell remote execution error

Hi,
I am running into errors when trying to run powershell scripts on a remote target. I have tried the following things so far using just "get-date" as a command in the script.
1. Set remote execution policy to unrestricted.
2. Enable the checkbox for accessing remote resources.
And after setting the above, I get the following error.
Exception has been thrown by the target of an invocation.
Access is denied.
Now, if I try using the Run Windows Command activity, I am able to run the required commands on the remote target, but powershell script activity fails for the same target.
Surprisingly, this works fine on TEO2.2
Thanks,
Rishikesh R.

For #2, why did you enable that? This means you need to enable remote resources, like a remote shared drive or something like that. So you make a double hop(in Microsoft terms). You hop once to your target and once again to your remote shared drive. WMI does not allow this for security policy reasons so we have to do something else when you select that.
Try unchecking it and running it and see if that helps. If not, open a TAC case and someone from support can assist you.
-shaun roberts
CPO/CIAC Support Team Lead
[email protected]

Similar Messages

  • 5th gen and radio remote sync error

    I've had this ipod since 2006,Since April 2009 I have been using the radio remote to replace the fact that the earphone dock was damaged in December of 2008.
    Yesterday I plugged in my i-pod to add more songs and first a firmware error appeared which lasted about 5 minutes and went away after a while but then when I went to plug up the radio and the headphones; the radio remote takes control of the volume even when it is disabled. No matter how many time I plug and unplug it's as if the radio will auto turn my ipod on; control the volume setting and start a song.
    Can this be fixed manually or will I have to get a new ipod? :[

    yes, you can, i've used the radio remote (model MA070G/A) with my 2nd gen nano
    but i don't use it any more, because i got one of these...
    http://www.blueye.co.uk/
    http://www.gear4store.com/productdetails.php?&productsid=237
    it costs a bit more than the radio remote, but...
    turns your ipod into a bluetooth hands-free for your mobile phone, when the phone rings the ipod is paused and you push the button on the remote to take the call via your earphones (the microphone is in the remote)
    seems to give better fm reception than the apple remote (finds more stations), no rds though and the tuning isn't as slick as apple's
    has its own amplifier so you can get a useful volume boost on an eu volume-limited ipod

  • SQL execution error, ORA-01843: not a valid month

    Im using ASP/VBScript and its my first time starting to use Oracle as a DB provider.
    Just having an issue with a statement that I have.
    Heres my statement:
    SELECT T592_NOON.SHIP_CODE, T592_NOON.REPORT_DATE, T592_NOON.L_B, T592_NOON.AVERAGE_SPEED, T592_NOON.SEASTATE, T592_NOON.DISTANCE, T592_NOON.WIND_DIRECTION, T592_NOON.IFO_MAIN, T592_NOON.IFO_BOILER, T592_NOON.IFO_AUXENGINE FROM T592_NOON WHERE (((SHIP_CODE)='S271') AND (REPORT_DATE BETWEEN to_date('08/02/2004 13:00:00', 'DD-MON-YYYY HH24:MI') and to_date('28/02/2004 18:15:00', 'DD-MON-YYYY HH24:MI')))
    Whenever I run it it errors and returns:
    SQL execution error, ORA-01843: not a valid month
    Can anyone tell why this wouldnt work?
    REPORT_DATE type is DATE
    REPORT_DATE Sample data: 2003-04-28-12.00.00.000000

    Changing the format of the date seemed to fix it.
    Incorrect: '08/02/2004 13:00:00'
    Correct: '08-FEB-2004 13:00'

  • [Forum FAQ] "Unable to connect to the server by using Windows PowerShell Remoting" error while installing RDS roles on Server 2012 R2

    When you try to install RDS role on server 2012 R2 using standard deployment, this issue may occur (Figure 1).
    “Unable to connect to the server by using Windows PowerShell remoting”.
    Figure 1: Unable to connect to the server by using Windows PowerShell remoting
    First of all, we need to verify the configurations as it suggested:
    1. The server must be available by using Windows PowerShell remotely.
    2. The server must be joined to a domain.
    3. The server must be running at least Windows Server 2012 R2.
    4. The currently logged on user must be a member of the local Administrators group on the server.
    5. Remote Desktop Services connections must be enabled by using Group Policy.
    In addition, we need to check if the “Windows Remote Management “service is running and related firewall exceptions have been created for WinRM listener.
    To enabling PowerShell remoting, we can run this PowerShell command as administrator (Figure 2).
    Enable-PSRemoting -Force
    Figure 2: Enable PowerShell Remoting
    However, if issue persists, we need to check whether it has enough memory to work.
    By default, remote shell allots only 150 MB of memory. If we have IIS or SharePoint App pool, 150 MB of memory is not sufficient to perform the remoting task. Therefore, we need to increase
    the memory via the PowerShell command below:
    Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000
    Then, you need to restart the server and the issue should be resolved.
    You can get more information regarding Remote Troubleshooting by below link:
    about_Remote_Troubleshooting
    If you need further assistance, welcome to post your questions in the
    RDS forum.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    i found another possible reason, this solution worked for me:
    http://oyvindnilsen.com/solution-for-powershell-remoting-error-it-cannot-determine-the-content-type-of-the-http-response-from-the-destination-computer/
    I tried to set up powershell remoting on a server and kept getting this error:
    Enter-PSSession : Connecting to remote server failed with the following error message : The WinRM client cann
    ot process the request. It cannot determine the content type of the HTTP response from the destination comput
    er. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help to
    pic.
    After a bit of troubleshooting I discovered that the problem was that the authentication packets was to big (over 16k), this will cause WinRM to reject the request. The reason for authentication packets getting too big can be because the user is member of very
    many security groups or in my case because of the SidHistory attribute.
    The solution was to increase the MaxFieldLength and MaxRequestBytes keys in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters
    If the keys does not exists you can create them, be sure to use the DWORD type.
    I sat MaxFieldLength to DEC value 40000 and MaxRequestBytes to DEC value 32768 and rebooted the server. Problem solved.

  • SSIS Package execution error from powershell

    Hi I have written a powershell script to exec SSIS packages. I am passing variable values at runtime by reading it from a text file.
    But it throws an error.
    Here is my script.
    #Read Data from Parameter File
    $variable=Get-Content D:\Batch\Bin\ETLParameters.txt
    $variable.GetType()
     $dest_conn_str=$variable[1]
     $mail_cc=$variable[2]
     $mail_from=$variable[3]
     $mail_str=$variable[4]
     $mail_to=$variable[5]
     $pkg_path=$variable[6]
     $ps_exe_path=$variable[7]
     $ps_script_cmd=$variable[8]
     $ps_script_path=$variable[9]
     $src_conn_str=$variable[10]
     $src_sys_id=$variable[11]
    #Executing SSIS packages from command prompt
    $cmd = 'dtexec /f "' + $pkg_path + 'pkg_ntas_all.dtsx' + '"' + ' /SET \Package.Variables[User::src_conn_str].Properties[Value];"' + $src_conn_str + '"' + ' /SET \Package.Variables[User::dest_conn_str].Properties[Value];"'
    + $dest_conn_str + '"' + ' /SET \Package.Variables[User::src_sys_id].Properties[Value];"' + $src_sys_id + '"' + ' /SET \Package.Variables[User::pkg_file_path].Properties[Value];"' + $pkg_path + '"' +
    ' /SET \Package.Variables[User::mail_str].Properties[Value];"' + $mail_str + '"' + ' /SET \Package.Variables[User::mail_from].Properties[Value];"' + $mail_from + '"' + ' /SET \Package.Variables[User::mail_to].Properties[Value];"'
    + $mail_to + '"'+ ' /SET \Package.Variables[User::mail_cc].Properties[Value];"' + $mail_cc + '"' + ' /SET \Package.Variables[User::ps_exe_path].Properties[Value];"' + $ps_exe_path + '"' + ' /SET
    \Package.Variables[User::ps_script_path].Properties[Value];"' + $ps_script_path + '"' + ' /SET \Package.Variables[User::ps_script_cmd].Properties[Value];"' + $ps_script_cmd + '"'  
    $cmd
    DECLARE @returncode int
    EXEC @returncode = xp_cmdshell @cmd
    Types of error that I get -
    If I run the $cmd directly. Which is the concatenated string of dtexec command with parameters. It doesn't do anything, not even an error and the pwoershell execution just completes.
    If I use exec EXEC @returncode = xp_cmdshell @cmd    ----- Then it throws me the error that the exec is not recognized name of cmdlet.
    Please help as I a noob in any kind of scripting.

    I did but it just printed the entire string on the command line and assigned all the values.
    PS C:\Users\dev_setup> . D:\Batch\Bin\runETL.ps1
    IsPublic IsSerial Name                                     BaseType
    True     True     Object[]                                
    System.Array
    dtexec /f "D:\ETL\test\test\test_ETL\pkg_all.dtsx" /SET "\Package.
    Variables[User::src_conn_str].Properties[Value]";"Data Source=SOURCE1;Initial Catalog=tagtest;Provider=SAOLEDB.11;Integrated Security=SSPI;
    " /SET "\Package.Variables[User::dest_conn_str].Properties[Value]";"destinationDb;User ID=FP_DEV;Password=**********;Initial Catalog=xyz;Provider=SQLOLEDB.1;Persist Security Info=True;Auto Translate=False;Packet Size=10240;" /SET " \Package.Variables[User::src_sys_id].Properties[Value]
    ";"100200" /SET "\Package.Variables[User::pkg_file_path].Properties[Value]";"D:\ETL\test\test\test_ETL\" /SET "\Package.Variables[User::mail_str].Properties[Value]";"SmtpServer=mailhost.test.com;UseWindowsAuthentication=False;EnableSsl=False;" /SET "\Package.Variables[User::mail_from].Properties[Value]
    ";"[email protected]" /SET "\Package.Variables[User::mail_to].Properties[Value]";"[email protected]" /SET "\Package.Variables[User::mail_cc].Properties[Value]";"[email protected]" /SET "\Package.Variables[User::ps_exe_path].Properties[Value]";"C:\Windows\System32\WindowsPower
    Shell\v1.0\PowerShell.exe" /SET "\Package.Variables[User::ps_script_path].Properties[Value]";"D:\ETL\Powershell_Script\" /SET "\Package.Variables[User::ps_script_cmd].Properties[Value]";"create_historical_reject_file.ps1 -input_variable"
    PS C:\Users\svc_sp_fp_dev_setup>
    But when I just run it without passing the parameters it runs. What might be the issue.

  • Powershell execution error

    Hi,
    I am getting the below error while executing PS.Anybody experienced the same? what could be the reason?
    Best Regards, Arun http://whynotsql.blogspot.com/

    Hi Arun,
    In addition, please also post more detailed information about the steps you have configured WinRM for powershell remoting to help us to troubleshoot.
    Please also check the "ListeningOn" value of "winrm e winrm/config/listener", which would be configured by Group Policy "Allow automatic configuration of listeners" and please try to remove the IPv4 filter.
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • PowerShell Get-Cluster Remote API Error

    I am running a powershell script to get cluster information.  The script works perfectly sometimes but sometimes fails on the get-cluster -domain command.  It will fail and then maybe a half hour later it will work.  Here is the exact
    error:
    Message: Could not retrieve the list of clusters on the network.  A remote API error occurred.
    ErrorCode: -2147022769
    Any ideas on how to track down exactly what the problem is and correct it?

    The similar problem here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/9626fa01-968f-4793-b2ee-b2f7e8bf1517/powershell-getcluster-a-remote-api-error-occurred?forum=winserverClustering
    You may try use -Name switch instead of domain, but its a workaround, not a solution. I would recommend installing network monitor to proper cluster servers if you see something that may catch your eyes.
    Please remember to "Mark as answer" if it helps. Thank You.

  • Error with dbms_scheduler and shell script execution

    Hi,guys.
    I have an issue with a dbms_scheduler and a shell script execution. So, the shell script as it self works fine, when i'm executing ./test.sh all process is running, but when i'm executing the script from dbms_scheduler it just simply doesn't work. Actually it works, but some of executable information in sh doesn't work, seems it just jump over of the part of the script. Sendmail part is running, maybe there is problem with rman script as it self?
    DB version: 10g
    And my scripts:
    Shell scripts (permisons 755):
    #!/bin/ksh
    export PATH=/home/oracle/product/asm_home/bin:/home/oracle/product/db_home/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.
    export ORACLE_BASE=/home/oracle/product
    export ORACLE_SID=zabbix
    export ORACLE_HOME=/home/oracle/product/db_home
    ${ORACLE_HOME}/bin/rman<<EOF
    connect target /
    run {backup recovery area delete all input;}
    EOF
    {       echo "From:[email protected]"
            echo "To: [email protected]"
            echo "Subject: Recovery area"
            echo 'Content-Type: text/html'
            echo
            echo '<html><body><table border="1" cellspacing="1">'
            echo '<tr><td><b>Process</b></td><td><b>Statuss</b></td></tr>'
            echo "<tr><td>RMAN</td><td><b>Works</b></td></tr>"
            echo "</table></body></html>"
    } | sendmail -tIn the first part i'm exporting all of the important stuff for oracle, then I call RMAN with specific atributes. And then there is just simply sendmail functionality inside script to represent if script works (for now).
    And below pl/sql script:
    begin
      DBMS_SCHEDULER.CREATE_JOB
      job_name => 'FLASH_RECOVERY',
      job_type => 'EXECUTABLE',
      job_action => '/home/oracle/backup/test.sh',
      start_date => sysdate,
      job_class => 'DEFAULT_JOB_CLASS',
      enabled => TRUE,
      auto_drop => FALSE,
      comments => 'FLASH RECOVERY USAGE AREA backup and delete'
      END;
      /And this job execution:
           begin
               DBMS_SCHEDULER.run_job (job_name =>'FLASH_RECOVERY',use_current_session => TRUE);
           end;What can be wrong? For me, I think it's something with permisions.
    I hope you got my idea and could help me.
    Tom
    Edited by: safazaurs on 2013.18.2 22:16

    There is no error, i just receive all the time e-mail, seems it jumps over rman. I tried almost everything and still couldn't get result as i want. And, if i'm running script from command line - it works. Rman calls, and starts to recover archivelogs.

  • Get error -17308 on "End" statement using remote execution in TestStand 4.0.1

    We recently upgraded TestStand 3.5 to 4.0.1.  We have a test that has sequences remotely execute on another computer.  These sequences call other sub sequences.  The test worked fine on TestStand 3.5.
    Under the new version of TestStand, when one of the remote sequences is called, it is returning the following run-time error:
    "Error executing 'End' step.
    Expected Number, found Boolean.
    Error accessing item 'Active'.
    Error code -17308; Specified value does not have the expected type.
    Step 'End' of sequence 'MainSequence' in 'Initialize parameter database.seq' on remote computer xxxx."
    Initialize parameter database.seq is a sub sequence called by the remote sequence.
    If this error is ignored, the sequence continues to execute (including remote sequences).  However, at a large number of other points throughout the test, when remote sequences are called again, similar errors occur, some times indicating errors executing 'For' steps.
    I have never seen this error before, and I couldn't find any applicable information in the help or on the site.  To my knowledge, 'End' steps are not configurable to return values, and the sequence was not written to use an 'End' step in an odd way.  Does anyone know what is happening, and how to fix it?
    Thanks,
    Scott.

    Gentlemen,
         Thanks for your replies.  All of our stations had been upgraded to version 4.0.1 when the error occurred.  Doug, apparently not re-saving in the new format was the issue in my case, since when I re-saved the files as TestStand 4 versions, the error went away.  Curiously, we have been able to run all of our other test sequences without re-saving, and without seeing that error.  It only occurred with this particular sequence, with remote calls and it seems only when those remote sequences made subsequence calls themselves (we had other remote calls that ran fine).
         Mathieu, I never saw the GUI freeze here, it always came up with a -17308 error.  I didn't get to try out your method, but thanks for your help.
    Thanks for the information, maybe one day I'll be able to return the favor,
    Scott.

  • Using PowerShell Remoting with Workflows and Functions

    Hello,
    I have an existing set of scripts with a mixture of Modules containing the functions, Workflows that call the functions and Main script that invokes the workflows.
    Step 1: The Main script picks up the list of servers from a custom db and invokes the relevant workflow for further operation
    Step 2: The workflow runs as foreach parallel and calls a function by passing the server name as a parameter
    Step 3. The function in the module does the real job
    All of this runs, from a central location. 90% of the server are geo dispersed. This seems to be a bit of a concern in terms of turnaround time is too high. 
    Hence, I would like to use WinRM (PowerShell Remoting). I have configured WinRM on all the Server with Firewall Exception.
    My Queries:
    1. Apart from using Enter-PSSession or Invoke-Command, are there any other CMDLet's?
    2. Say for example; I plan to use Enter-PSSession, should I embed the code with Workflow?
    3. How will it retrieve the output?
    Please advice, Thanks
    Rajiv

    You cannot use Enter-PSSession in a script.  
    It's only intended to be used interactively from the console. If you try to use it in a script, the script will run the subsequent commands on the local system, not in the remote session.
    You'll need to use Invoke-Command, and you'll have to include the function definitions in the invoked script block, since those functions will not exist in the remote sessions.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Import and Method Execution Error (8)

    Hi,
    I having problem in BI 7. when I transport all objects in one transport number such as
    DOSTransformationDTPDSInfoPackage and transport in QA works fine
    but when I move in PRD no efect in there and get this messages:
    Method Execution with error (8)
    I check transport layer and other setting everying is ok... please advised me what should I do
    Thank in Advance
    Angeline

    Hi,
    Check the correct Error log in STMS_IMPORT and then select your error req and click on Log and expand teh message and see the exact error message and corretc it and re transport it.
    Don't mix all obejcts in single request.
    First Transport the Package then
    1. InfoObejcts.
    2. Cubes, DSO's
    3.DataSources from ECC Dev to ECC Qty
    4. DataSource Replication in BW Qty
    5. InfoSources.
    6.Transformations in between DataSource and InfoSource.
    7.Transformations in between InfoSource and InfoCube/DSO.
    8. DTP's & InfoPackages.
    9. Multiproviders/InfoSets.
    10. Reports.
    Thanks
    Reddy

  • Remote Execution and Speeding it up!?!

    Hi all,
    I have recently posted a few queries on parallel processing etc and have now sorted that. However (you knew there'd be a however didnt you!) I am using remote sequence calls on the proposed system we are using, due to the large amount of processing going on and the parallel threads scheme I am using.
    I have set up a simple sequence (5 LV VIs taking data from the sequence context and squirting the data into the report string, just to verify data flow) and have run this locally and remotely both from a sequence call. the difference in execution times was astonishing to say the least.
    Local Execution.
    Each vi was approx 15ms.
    Overhead was approx 25ms.
    Total Time around 100ms
    Remote execution
    Each vi was approx
    15ms again
    Overhead was around 2.9s!!!!!
    the total time was about 3 seconds to run the same sequence call remotely.
    I have tried many many things to help speed things up. I have modified the preload/unload options, I have set the sequence files and code modules up on the remote machines harddrive and set the file paths correctly.
    does anyone have any experience of speeding the remote execution up? The overhead is unacceptable for my system (I have a cycle time of 1.2s per remote execution) so I may just have to code the whole thing in LV rather than use TS
    My previous discussions...
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000003D440000&USEARCHCONTEXT_CATEGORY_0=_8_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_8_&UCATEGORY_S=0

    A few ideas
    1) What parameters are you passing to the remote sequence? Parameters might end up needing to be duplicated on the other machine, this could be slow if you have a lot or big parameters(i.e. large arrays). You could pass references to the variables instead of the variables themselves to speed things up if needed. Or find other ways to reduce the number or size of parameters
    2) are you timing the first run through the uut loop or the second? the first iteration of the uut loop is going to require the remote machine to load the sequence file. This is a one time cost though as the sequence file will stay loaded as long as the sequence call step is loaded.
    3) How many step results do you have in the remote sequence (i.e. how many steps with result recordin
    g enabled)? The results for the remote sequence must be passed back to the main machine and recreated on that machine. If you have a large number of results this could be slow. You could speed things up by reducing the number of results you are storing either by disabling record results on the steps on which you don't need them, or disabling results for the entire sequence or sequence file that you are running remotely.
    Doug Melamed
    NI

  • "A critical error has occurred while running the virtual machine and the machine execution has been stopped"

    I have the following error:
    "A critical error has occurred while running the virtual machine and the machine execution has been stopped"
    When I am installing grid clusterware and when is copying files from one node to other I received that virtualbox error and is stop working.
    Can somebody give me any hint how to solve it ?
    Thank you
    Eugen

    I think that is not a Clusterware issue, The clusterware installation may generating a high load on your machine and Virtual Box is not supporting.
    Check vbox.log file to identify root cause.

  • Microsoft-Windows-Windows Remote Management Error ID 142

    In my Windows Server 2008 R2 OS in the Event Viewer there is an error pertains as Microsoft-Windows-Windows Remote Management Error ID 142 states-(WSMan operation CreateShell failed, error code 2150858999).What is this error? And What is the remedy for this
    error?
    System
    Provider
    [ Name]
    Microsoft-Windows-WinRM
    [ Guid]
    {A7975C8F-AC13-49F1-87DA-5A984A4AB417}
    EventID
    142
    Version
    0
    Level
    2
    Task
    10
    Opcode
    2
    Keywords
    0x4000000000000002
    TimeCreated
    [ SystemTime]
    2011-11-10T06:32:40.654451200Z
    EventRecordID
    37902
    Correlation
    [ ActivityID]
    {01F11C40-F800-0000-0091-795E689FCC01}
    Execution
    [ ProcessID]
    7140
    [ ThreadID]
    8080
    Channel
    Microsoft-Windows-WinRM/Operational
    Computer
    WIN-BNILITE1545.mumthaz.contoso.com
    Security
    [ UserID]
    S-1-5-18
    EventData
    operationName
    CreateShell
    errorCode
    2150858999
    MumthazMuhsin

    Hi,
    Please perform the following steps to check the issue can be fixed.
    Create the following Dwords under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
    • MaxFieldLength
    o Dword
    o Value 65534 (Decimal)
    • MaxRequestBytes
    o Dword
    o Value 40000 (Decimal)
    Reboot the server for the changes to take effect.
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to set IPaddress to a VM which has Linux OS using powershell remoting.

    I have downloaded the SetLinuxVM scripts for setting the ipaddress of virtual machine which has Linux as OS. I have 2 different Hyperv host machines for Eg: HostServer1 and HostServer2  and I have installed SetLinuxVM scripts on server HostServer1 but
    my LinuxVM is created in HostServer2 and is highly available.
    Now I have development server from where I connect to any of these HyperV servers remotely .
    I have created powershell remote session from my development server to HostServer1 where SetLinuxVM scripts are installed and excuting the script as given below.
    Set-LinuxVM -VMName "TestLinuxVM" -Manager "Hyper-V" -VMHost "HostServer2"
    -Username "root" -Password "Gen#123" -Hostname "TestLinuxSrv " -IPAddress "192.168.2.2" -SubnetMask "255.255.0.0" -GatewayAddress "192.168.2.1" -PrimaryDNSAddress "8.8.8.8" 
    Even though I am providing the -VMHost and even if the VM is in cluster its not executing the scripts and I am getting the error  WMI not available.
    Its working fine if the scripts are installed on HostServer2 where the LinuxVM is created but my question is that do we need to install the scripts on all HyperV hosts then whats the use of the above parameter -VMHost "HostServer2"  because if
    the hyperv host is remotely connected using powershell we need to provide the VMHost name in the above scripts.
    From the examples provided in the SetLinuxVM module my understanding is that if the SetLinuxVM module is installed in any of the Hyperv servers which  are in a cluster and even though the VM is created in any of the servers and is highly available by just
    providing the VMHost for that particular VM we can set the IPadress ,hostname etc by connecting remotely using powershell to the HostServer which has SetLinuxVM module by providing the VMHost name in the above script .
     Hoping that my problem will be resolved at your earliest convenience.
    Thanks in advance,
    Fayaz Syed.
    FayazSyed

    I am not familiar with these scripts, but in general any modules must exist on the target Hyper-V server.
    The commands do not appear to be suing SCVMM, in which case you would execute the PowerShell script at the VMM console machine.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

Maybe you are looking for

  • HT5628 Is it possible to install MS-Windows on MacBook Pro as the only OS

    Is it possible to install MS-Windows on MacBook Pro as the only OS, using all the space of the SSD, by de-isntalling thus completely the Mac OS?

  • Why can't I open Slideshow in Yahoo mail in Firefox 15.0.1 when it works fine if I use Safari? Mac OS X / v10.7.5

    For the last two days I've had a problem opening attached photos in the Yahoo Mail Slideshow feature. The screen goes to a grey layer as usual, but the photo never opens to view it. I don't think it's a Yahoo problem as the Slideshow works fine if I

  • Group-Role Mapping OBIEE 11.1.1.6

    Scenario: I have created some groups in console. Let the groups be A, B, C and D. Now I want to create a role call it Manager and map A,B, C and D groups to Manager role in EM. And then give permissions (like Dashboard access) on Manager role. Issue:

  • Compact flash cards no longer mounting o

    Recently my camera CF cards stopped mounting on my Mac Pro (my 2009 one and now my new 2013 one) and my MacBook Pro. The cards still work fine in camera. I have tried two readers, different USB slots and reading directly from the camera. Any advice t

  • Wordpress sites

    hello, i have two questions if i sign up for an upgrade can my forms be imbedded into a wordpress blog? your info tells me they can be imbedded into websites but Im not sure if this is the same? If i sign up for the five forms up grade do i get to ed