Newbie question - tide may run a remote PowerShell script or BAT file?

My first post.  I am new to raz, but I've had experience with other planners.

I have a PowerShell script that must be run on a remote computer.  All the script needs software is installed on this computer.

In addition, I need the script runs under a service account.  Is it possible and if yes, how can I go about it?

This work will be be launched manually whenever this is necessary.

Sure. There are some screenshots. A variable one, I used for the location of the folder on the server of tide (not required but I use a lot of scripts). One for the command of tide itself. The last one is the script runs remotely on windows work. Let me know if they don't make sense.

Tags: Cisco DataCenter

Similar Questions

  • Run the cmd PowerShell script

    Hello

    I am trying to run a powershell script from a file cmd with the snap of VMware has added. Here's what I'm trying to run:

    PowerShell.exe - noexit Add-PSSnapin VMware.VimAutomation.Core | k:\work\DeployVM.ps1

    He adds the snap, and then launches the ps1 in Notepad, which is obviously not what I'm after. I'm sure it's something simple I'm missing, but I can't get it. The reason why I want to run it this way is to associate with a button, vb, I've sorted everything else, just this last piece, I need to finish.

    See you soon,.

    Josh

    If there is a reason that you do not add the Add-PSSnapin VMware.VimAutomation.Core as the first line of your script, then you can run it as below:

    C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe - PSConsoleFile "C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1" "& C:\MyScript.ps1 '"

    If you found this information useful, please consider the allocation of points for correct or helpful.

    Alan Renouf

    http://Virtu-al.NET

  • Newbie question: how to make my program to write to another file after so many loops?

    Im trying to get my program to write to a different file after 65 535 lines. First create a file to begin with, so the operator won't be necessary for the switch on? Secondly how do I change a path of file to another, some not friendly any statement? I joined my program, I'm not entirely sure what are the two roads of current file used for, is - this one to call the file and one to save?

    See you soon

    Attached VI will give you some tips.

    Christian

  • PowerShell script to delete files based on the current Date

    I know using PowerShell Get-Date will look at the current date.  I would like to make a very basic PS Script that will remove a file over 8 days based on the current date.  According to me, with the help of a if/then the function will be necessary.  I am very new to scripting if Im not sure how the syntax is written.  Any help is appreciated.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • How to run multiple Powershell scripts in PowerCLI

    I have a large number of scripts that I would run into lots of PowerCLI. I found a way to call some Powershell scripts from a file of commands like the following (with the permission of Jan Egil Ring), which works very well except for scripts PowerCLI where a connection to a VC or ESX Server must be established before the script can be executed:

    PowerShell-command '& C:\MyScripts\script1.ps1 '.

    PowerShell-command '& C:\MyScripts\script2.ps1 '.

    PowerShell-command '& C:\MyScripts\script3.ps1 '.

    If a VC connection is on using Connect-VIServer PowerCLI, then scripts can each be run from the prompt without connection information and credentials, however, if scripts are placed in a file of DOS commands, it is necessary to place an order Connect-VIServer in each script, which will prompt you for credentials every time , so if I have 10 scripts, I will have to enter the credentials of 10 times. Is it possible to establish the connection and then run a set of Powershell scripts, or is there a way to integrate the identification information in the script so that it will connect to the VI server without asking confirmation?

    Thank you

    Ed Z

    2 options 1 persist credentials on disk, you can find the code on poshcode.org to do.

    Option 2 is to use - Session when using Connect-VIServer. The session is stored in the variable $defaultVIServer. If write you it to a file you can load this file and re-use this same session, assuming that it is still valid (i.e. it has not expired.)

  • A LOT of Newbie Questions blackBerry smartphones. (Must be the easy answer!)

    Good, please excuse my ignorance... guys xD

    I just bought two s BlackBerry Curve 8530 from Sprint. I'm pretty tech savvy, but there are some things about this phone, I can just enter in two or three days I got em:

    Deleting photos: Well, then I'm in my media folder, in the images. I selects a photo and press the BlackBerry button and select Delete. Then he said: it is read-only, and when I remove it, the icon is still there. I tried to turn on/off the device, and it's still there. Thought this one myself. I plugged it up to the Desktop Manager and all of a sudden all the photos I had taken appeared. I was also able to delete using the "BlackBerry" button and then "delete". It doesn't give me that read this option.

    Saving images: So, for some reason I can't save more photos. I don't know even how I saved the first 12 photos I have taken... but now it won't save any more. What the hell happened? xD I have a 2GB card in my phone... surely these 12 images didn't fill in this card... Thought this one myself. I plugged it up to the Desktop Manager and all of a sudden all the photos I had taken appeared.

    Buy ringtones: On my old phone LG, I used to buy ringtones RealTone Jukebox... where they had extracted from songs that I could download for a crazyhigh. Where can I buy the real music ringtones for BlackBerry? What I do myself?

    Media moving to my PC?: I went through the music store of Sprint comes with my camera, and two purchased songs. I want to know if I can get these songs out of my BlackBerry smart phone and my PC. Also, if anyone knows what format they are in (if they bought before Sprint music store).

    To buy another memory card: Where the best place to buy one of these mini memory cards? One of my friends like, a 24 a concert... and I currently have a 2 gig (who, I should mention, is more fricken memory I have in the computer I do not write about this time xD) how can I find out if the card is compatible with my camera?

    WTF @ Redlight?: From time to time (we can always do that, I'm not sure), the little red light at the top of my unit starts to blink even if I do not have a weak battery or not new messages. It first happened lastnight when a friend sent me 3 IMs at once. I had to reboot my device and I think that he is stopped. Earlier, it happened again (I had several new messages) and this time whenever my display is on, the light was red only flashes do not. It can always be like this now, but I'm not sure. My camera is in the other room and I'm too lazy to check xD. Why would he do that? How can I get him to stop?

    Turn off the sound of the camera?: My camera makes the shutter of the camera, even when noise silence. Is there a way to stop this?


    Auto keyguard: I have EPIC hand-dial to people purse. In my view, it has a keyboard lock button in the dashboard of BlackBerry (that is the correct term for this?) But I want to get to the place where the keyboard auto-lock after a certain period of time. Is this possible? I saw somewhere about pressing the button mute will lock it... who is the top/center of the unit button?

    Key blackBerry?: Well, don't laugh, I know that I'm retarded. But, the key to the left of the beach towel... than the devil who called? He got the BlackBerry logo on it... is what he called the BlackBerry button? I know, I know, I'm retarded and could probably flip through the manual to figure it out... but still. I might as well ask now xD


    Choose the icons to display on the main screen: When I added an e-mail address, he put an icon on my main desktop, in the row of icons at the bottom of the screen. (where is my background image and all that). Can we choose the icons that we want to display on the main screen? I have really now, my calendar icon that I know that I use. I'd love to move the keyboard lock button here though... is it possible?

    Speaker?: How can I get speaker? xD

    Theme Studio (software, no associated device): Anyone used this? It is quite easy to use? I am tech savvy, but I don't want to just download a ton of programs on my PC that I won't use xD I'm working on the Desktop Manager and it takes forever. I want to make themes, but I'm curious to know how easy to use this program is... graduate to use design or if it would take a graph xD

    Well, then, I think that... Think THAT that's all. I can change this highest position (if we are allowed to edit) to delimit what questions have been answered. I hope someone sees this soon enough, that I don't know how "living" these forums are.

    Thanks for looking, and I warned you... they have been the newbie questions! xD

    -Darky Delacroix

    Welcome to the SkippyTheWonder forums.

    SkippyTheWonder wrote:

    Good, please excuse my ignorance... guys xD

    I just bought two s BlackBerry Curve 8530 from Sprint. I'm pretty tech savvy, but there are some things about this phone, I can just enter in two or three days I got em:

    Deleting photos: Well, then I'm in my media folder, in the images. I selects a photo and press the BlackBerry button and select Delete. Then he said: it is read-only, and when I remove it, the icon is still there. I tried to turn on/off the device, and it's still there. Thought this one myself. I plugged it up to the Desktop Manager and all of a sudden all the photos I had taken appeared. I was also able to delete using the "BlackBerry" button and then "delete". It doesn't give me that read this option.

    Saving images: So, for some reason I can't save more photos. I don't know even how I saved the first 12 photos I have taken... but now it won't save any more. What the hell happened? xD I have a 2GB card in my phone... surely these 12 images didn't fill in this card... Thought this one myself. I plugged it up to the Desktop Manager and all of a sudden all the photos I had taken appeared.

    Buy ringtones: On my old phone LG, I used to buy ringtones RealTone Jukebox... where they had extracted from songs that I could download for a crazyhigh. Where can I buy the real music ringtones for BlackBerry? What I do myself?

    There may be an icon on the home screen of your camera to buy ringtones. Or you can open the browser and go to http://mobile.blackberry.com. There is a link of ringtones that you can click

    Media moving to my PC?: I went through the music store of Sprint comes with my camera, and two purchased songs. I want to know if I can get these songs out of my BlackBerry smart phone and my PC. Also, if anyone knows what format they are in (if they bought before Sprint music store).

    It is recommended to buy a microSD card to store your multimedia files, if you run out of memory on your device.


    Depending on what OS is your BlackBerry tells you what size you can buy a microSD card. You can check under Options | Topic (will appear as v4.xx.xxx). Look at the table on the following link to see what size you can get - http://www.blackberry.com/btsc/KB05461


    On the BlackBerry, go to Options | Media Media Card recommended parameters are:


    Media card support: WE

    Encryption mode: NO

    Mass storage support: WE

    Auto enable mass storage Mode when connected: YES


    Mass storage mode allows your BlackBerry to act as an extra drive when it is connected to your PC. It will appear as an extra drive letter in Windows Explorer. So you can just drag/release the multimedia files on your memory card

    WTF @ Redlight?: From time to time (we can always do that, I'm not sure), the little red light at the top of my unit starts to blink even if I do not have a weak battery or not new messages. It first happened lastnight when a friend sent me 3 IMs at once. I had to reboot my device and I think that he is stopped. Earlier, it happened again (I had several new messages) and this time whenever my display is on, the light was red only flashes do not. It can always be like this now, but I'm not sure. My camera is in the other room and I'm too lazy to check xD. Why would he do that? How can I get him to stop?

    Here is an article that describes the status of the LED

    http://www.BlackBerry.com/BTSC/KB03897

    If you want to disable the LED check this KB article

    http://www.BlackBerry.com/BTSC/KB10721

    Turn off the sound of the camera?: My camera makes the shutter of the camera, even when noise silence. Is there a way to stop this?

    Check out this post

    http://supportforums.BlackBerry.com/T5/BlackBerry-Pearl-BlackBerry-8100/turning-off-the-camera-Shutt...


    Auto keyguard: I have EPIC hand-dial to people purse. In my view, it has a keyboard lock button in the dashboard of BlackBerry (that is the correct term for this?) But I want to get to the place where the keyboard auto-lock after a certain period of time. Is this possible? I saw somewhere about pressing the button mute will lock it... who is the top/center of the unit button?

    Key blackBerry?: Well, don't laugh, I know that I'm retarded. But, the key to the left of the beach towel... than the devil who called? He got the BlackBerry logo on it... is what he called the BlackBerry button? I know, I know, I'm retarded and could probably flip through the manual to figure it out... but still. I might as well ask now xD

    Called the menu button


    Choose the icons to display on the main screen: When I added an e-mail address, he put an icon on my main desktop, in the row of icons at the bottom of the screen. (where is my background image and all that). Can we choose the icons that we want to display on the main screen? I have really now, my calendar icon that I know that I use. I'd love to move the keyboard lock button here though... is it possible?

    If you select an icon, click the menu button and choose move. You can rearrange the icons. The icons in the top 5 on the list will be those along the boittom when not looking at the full home screen.

    Speaker?: How can I get speaker? xD

    Can try to hit the key ' $' as a shortcut to activate speaker. During a call, you can click the menu button and choose the speaker phone option in the menu

    Theme Studio (software, no associated device): Anyone used this? It is quite easy to use? I am tech savvy, but I don't want to just download a ton of programs on my PC that I won't use xD I'm working on the Desktop Manager and it takes forever. I want to make themes, but I'm curious to know how easy to use this program is... graduate to use design or if it would take a graph xD

    Not sure about that sorry.

    Well, then, I think that... Think THAT that's all. I can change this highest position (if we are allowed to edit) to delimit what questions have been answered. I hope someone sees this soon enough, that I don't know how "living" these forums are.

    Thanks for looking, and I warned you... they have been the newbie questions! xD

    -Darky Delacroix

  • Newbie question - passing variables (aka why this work?)

    I spent a few hours in vain trying to pass the value of a html text box to a coldfusion page 2nd via the URL (query string).

    However, it seems that I can't do this because the 2nd page seems to be able to reference the value in box of text in any case.  My question is: is this a coincidence, or is this the normal procedure, things work?  When I click the "Run report" button, everything I typed in the text box appears on the screen of page2.cfm.  I thought I should pass this value somehow (via the variables session or the URL string or something).

    So my newbie question is: is this the way it should work (a simple answer Yes or no is fine)A text from one box. CFM file can reference the value of text box on the other. CFM page? Thanks in advance

    Here is the page 1 (page1.cfm):

    <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / BY" > ".
    < html >
    < body >

    " < CFform action = ' http://www.mywebsite.com/page2.cfm "method ="get"> "
    Cust ID: < cfinput type = "text" name = "CustomerID" >
    < input type = value = "run report" >

    < / CFFORM >
    < / body >
    < / html >

    Page 2 (page2.cfm) here which works fine and shows what I typed in the text box:

    < CFOUTPUT >
    #CUSTID #.
    < / CFOUTPUT >

    I was already typing this until Ian replied. But I may as well post it in case it helps...

    > I spent a few hours * in vain * trying to pass the
    > value of a html to a coldfusion page 2nd text box via the
    > URL (query string).

    If you know that he or she is actually what you 're doing.

    "> http://www.mywebsite.com/page2.cfm" method = "get" >
    > Cust ID:

    When you use method = "get", the form field, the variables are passed in the query string. So, if you enter "abc" in the text box, the URL submitted will be:

    http://www.mywebsite.com/page2.cfm? CustID = abc

    So 'CustomerID' will be available as a variable within the scope of the URL on page 2.

    > * Here's page 2 (page2.cfm) which works fine and shows
    > what I typed in the text box: *.
    >
    > #CUSTID #.
    >

    The reason for which he works is a little magic CF. The variable #custID # not be bounded, CF search this variable in a predefined list of staves (see link below). It looks in each of them, and uses the first value it finds. Although not the exact search order, CF will check the

    http://livedocs.Adobe.com/ColdFusion/8/Variables_32.html
    -VARIABLES in scope (at the time..)
    -Reach URL (at the time..)
    -FORM scope (at the time..)
    ... etc...

    In your case, the variable exists in the scope of the URL. If your code is equivalent to saying

    #url. CUSTOMERID #.

    It is in fact a practice better coding. Although the original code works without the scope of variables, providing an explicit framework is more efficient and avoids unitentional errors.  For example if the code on page 2:


         #CUSTID #.

    ... the output may not be what you would expect ;-)

    So to answer the question: Yes, that's what must happen.  However, you must explicitly scope your variables page 2 IE use #url.custID #.

  • Allow to run remotely signed scripts

    If I run; ": Allow powershell scripts to run powershell Set-ExecutionPolicy RemoteSigned ' scripts will be able to run anywhere? If so, how to do this to allow shell scripts to run from a specific remote location only?

    Hello

    I suggest you to see link below and check if it helps.

    http://TechNet.Microsoft.com/en-us/library/ee176949.aspx

    Hope this information is useful.

  • Unable to connect to remote PowerShell and get error message.

    I have two computer to Windows 7.

    Unable to connect to remote PowerShell and this error message

    nvoke-command - computername XXXXXX - scriptblock {}
    get-process} - administrator credentials
    [XXXXXXX] failed to connect to the remote server XXXXXX with the
    error message: WinRM client cannot process the request. If the
    authentication scheme is different from Kerberos, or if the client computer is
    not joined to a domain, then HTTPS transport must be used or the destination
    machine must be added to the TrustedHosts configuration. Use winrm.cmd
    to configure TrustedHosts. Note that computers in the TrustedHosts list might
    do not be authenticated. You can get more information about it by running the
    following command: winrm help config. For more information, see the
    about_Remote_Troubleshooting help topic.
    + CategoryInfo: OpenError: [XXXXXX], PSRemotingT
    ransportException
    + FullyQualifiedErrorId: ServerNotTrusted, PSSessionStateBroken
    PS C:\windows\system32 >

    PS C:\Users\Administrator > Invoke-Command - ComputerName XXXX - ScriptBlock {get-process} - administrator credentials
    [XXXXXX] failed to connect to the remote server XXXXX with the following
    error message: the client cannot connect to the specified destination in the
    request. Verify that the service on the destination is running and that he accepts the
    applications. Consult the logs and documentation for running management service
    on the destination, most IIS or WinRM. If the destination is the WinRM
    service, run the following command on the destination to analyze and configure the
    WinRM service: "winrm quickconfig". For more information, see the
    about_Remote_Troubleshooting help topic.
    + CategoryInfo: OpenError: (XXXXX:String)], PSRemotingTranspo
    rtException
    + FullyQualifiedErrorId: CannotConnect, PSSessionStateBroken

    # Outgoing connection is fine because I can connect to a different machine here. However incoming connection does not work

    # Tried several things like "Enable-PSRemoting - Force." and it starts Properperly

    # And since I put the machine in workgroup, as well run "Set-Item WSMan: \localhost\Client\TrustedHosts * ' (it is running successfully as well)

    # Infact WinRM QuickConfig will not work.

    # And tried with and without firewall. and also applied several patches, but has not solved the problem

    Please notify

    Original title: WinRM

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • 2 blackBerry Smartphones newbie questions: do I need it, and how I spoil my phone?

    Sorry for the newbie questions:

    My IT has already set up my phone to receive email from their Blackberry Enterprise Server.

    (1) do I still need to install the desktop software?  Given that I can transfer files via Bluetooth from my laptop and my contacts/calendar/notes are stored on the Exchange Server, is there any point?

    (2) if I do not need to install it, given that my email is already working with BES, and the Office installation configures email settings, how do I keep the new Desktop install to mess up the current configuration of e-mail?

    Of all the notes of support on the software, looks like more trouble whereas at this stage.  I really need to treat it?

    Thank you.

    Janimal

    Hi and welcome to the Forums!

    Janimal wrote:

    (1) do I still need to install the desktop software?  Given that I can transfer files via Bluetooth from my laptop and my contacts/calendar/notes are stored on the Exchange Server, is there any point?

    There is not much need of DTM, but it is convenient to update the OS of your BB. Sometimes there will be releases of minor bugs corrections and such to your BB - DTM will be meaningless and install them, while updating wireless could not detect them. For a major OS update, you want DTM, as it will do a backup/complete restoration of your BB, including configuration settings, and others so that you don't have to redo those. But, to your e-mail, calendar, contacts, etc. - you are right, it is useless given that your Exchange Server is actually your master with your BB being actually a backup of that (in a sense).

    In addition, USB drivers (which are part of the package DTM) are necessary in order to charge your BB via your laptop USB. You can download and install all the USB drivers if this is the only part of the DTM you want.

    Janimal wrote:

    (2) if I do not need to install it, given that my email is already working with BES, and the Office installation configures email settings, how do I keep the new Desktop install to mess up the current configuration of e-mail?

    When you install it, it will ask if you are in a company - say Yes and it will install properly. Installation when your PC is connected to your corporate network and your Outlook is open. Who will get the best and fastest configuration. When you install, do not let it select the functions of auto-launch... If you wish, attach your BB and manually run the DTM.

    Of all the notes of support on the software, looks like more trouble whereas at this stage.  I really need to treat it?

    Thank you.

    Janimal

    Basically, on the whole, I vote 'YES'. You get the USB charging. You can save if you wish. You get the device OS and other updates. Most of the reported problems are people using it to synchronize via USB things - you won't do that because most of your stuff will be syncing via BES OTA. Other things, you can simply drag-and - drop (music, videos, etc.). .. .follow these instructions (use the latest 5.0 DTM):

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=BlackBerryDesktopSoftware&thread.ID=3...

    DL the latest version here:

    http://NA.BlackBerry.com/eng/services/desktop/

    Good luck!

  • A few simple newbie questions

    I've been running Windows Home Server on an old Dell Zion (Yes - quite pokey), I see that Dell has many things on an I3 PowerEdge T110 II. I did a lot of search in the online documentation and manuals, but have a few unanswered questions:

    o the server has a built-in SATA controller? The manual says 6 SATA connectors, but when I tried to configure the server for the purchase, it was persistent to choose me a PERC controller card. If there is a controller of the motherboard, will it be enough?

    o once again, trying to set up with UEFI boot, he said conflicts in configuration. I am the command without hard drives, but to use an existing drive to 4 TB. I'm going to need to configure GBT and will require UEFI, I think. Is this a problem?

    o any person aware of all the problems with Windows Home Server 2011 running on this platform?

    They are sold individually as no disc/OSless as the default configuration. That's fine, but I wanted to buy a couple of company drives to go with it. When I tried to configure the system with hard drives, came when all configuration conflicts. I'll try to call tomorrow, but I think the community is generally better informed than the sales people. It looks like I'll buy the unit without disc and add my own records. Recommendations for hard disks that are reasonably reliable (and cheaper than Dell)? I want to run RAID 1.

    My 'adventure' is about to begin. Thanks for the help!

    Al

    achuneke
    The server has a built-in SATA controller? The manual says 6 SATA connectors, but when I tried to configure the server for the purchase, it was persistent to choose me a PERC controller card. If there is a controller of the motherboard, will it be enough?

    Yes, he does. Don't forget to check the Onboard SATA under hard disk Configuration option. If you enable RAID, you will get the S100 controller... let off RAID and use RAID software Windows instead.

    achuneke
    Yet once, trying to configure with UEFI boot, he said conflicts in configuration. I am the command without hard drives, but to use an existing drive to 4 TB. I'm going to need to configure GBT and will require UEFI, I think. Is this a problem?

    You can't order a server without a disk (see below *). If you plan to use your own, order it with the most small/less expensive available drive, then swap later. You have NO need to specify a UEFI/BIOS at the time wherever you order the server if you intend to swap the hard drive or install the OS yourself.

    achuneke
    Anyone aware of any issues with Windows Home Server 2011 running on this platform?

    I don't see any, other than the fact that he didn't is not officially "supported", so you may run into issues at some point, but I suspect that there won't be any.

    * You said they sell it "diskless", which I have never seen. If you can, great, but if not, see my comment above. Business records are only needed if you use enterprise-class RAID controllers. Do not use the S100... is not (is not) a "business" class RAID solution

    'Real' RAID controllers (like the PERC 6 / i or H700) are not supported in the T110 II, so you don't ' really need to business records. Some have reported PERC 6/7 works to T110 II, but it is not supported, and if you choose to go this route, then make sure you have some good records designed for these controllers.

  • Run the powershell script in Workflow VCO

    Hi guys,.

    I'm pretty new to VCO and I am facing difficulties to get what I want. For you, this will be a Basic... but here's my question:

    I have a WF that I use in the WFStubmachineprovisionning that can generate me a name of virtual machine based on the selection of the user while he asked for a virtual computer in the VRA.

    The VM provisionned name looks like this: W203PKLXXX and I need to replace the XXX with a number that is available on the network.

    To do this, I need to query the DNS to see if there is, if not, 002 001... And so on... until an available and I send the full name of the virtual machine to the WF Stubprovisionning.

    This my first try to interact between VCO and a Powershell script. I can run script PS on my host configured, but do not know how to send variables to the custom WF that generates the name of the script of PS and send the name of VM from the script of the PS to the next step.

    Can someone give me a sample of variable to manage? I can't find anything on the net

    Just to tell you that I managed.

    the PS has returned an XML object, not a string. I had to use the method getxml() javascript property, and parse the string to get the value I need

    I also had to blind correctly (getxml) entry and exit (PS)

    If needed I can send you a few screenshoot

  • Running Powershell script with ESXCLI commands via a scheduled task in Windows 2012 does not work.

    I'm trying to run a powershell script of a scheduled task in Windows 2012. The script calls the commands ESXCLI and ends with success (exporting to a CSV file) but the file has no data inside.  If I run the script manually without the scheduled task file has all the I expect to exit.

    I wonder if there is a framework with Powershell or a PSSnapin I need to add to the script for it to run via a scheduled task.  Has anyone done this before with the ESXCLI commands?

    panhvr - you may to something.  The process account that I use to run this script has only read-only access in vCenter.  I logged on the server I am running these reports with the process ID and tried to run the script.  He gave me errors indicating permission to perform the operations of esxcli was denied.

    I think we found the culprit!  I'll have this process ID in vCenter rights upward.

    Thank you all!

  • Newbie question: how to extend in unallocated disk in a VM XP?

    Hi all:

    This is a newbie question, but looking for answers only left confused me...

    I have VM Fusion (v2.0.6) running on a MAC (OS X - Snow Leopard) with an XP VM. When the XP VM has been implemented, it has been implemented with 20 GB hard drive space. I used VM Ware Virtual Machine settings to increase the disk space of 50 GB. (I left the "pre-allocate disk space' and 'divide into 2 GB files' options unchecked.) I don't have any snapshots during execution/implementation.

    However, my current XP VM flashing me alerts "low disk space" - I see only about 1 GB of free 20 GB (I don't see the 40 GB listed in 'My Computer'). When I use the Services of management of disk in XP, I see a disk 0 20 GB System Partition with 30 GB of unallocated space.

    How can I extend the current Parition (System) in the space of 30 additional GB? And do I have I done this to begin with?

    Thanks in advance!

    Take a look at: resizing of the ramdisks with step by step Instructions

  • How to run a Powershell script via a batch file

    I'm new on using Powershell and I have a fundamental question regarding running a powershell script. Basically, I wrote a file of commands as shown below.

    C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe - PSConsoleFile "C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1" - NoExit-command "C:\MyScripts\RunSpanshot.ps1".

    I run the batch file and nothing seems to happen. What is the problem with trying to run the RunSpanshot.ps1 script as shown above? -any help is appreciated.

    Thank you

    You could do

    C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -PSConsoleFile "C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1" -NoExit -Command "& 'C:\My Scripts\RunSpanshot.ps1'"
    

Maybe you are looking for

  • Firefox has problems after the update

    Each time I update Firefox I end up having problems with it! My current problem (which has also been a problem before and never satisfactorily resolved - I have just learned to live with him) is the complete loss of my home page. Despite the fact tha

  • earphone Bluetooth does not connect to 5s

    My Samsung BT headset no longer works with my iPhone 5 s. He worked in March. Now the iPhone can not find. The software is iOS 9.3.1. I tried the usual remedies, power off & on, tried to re sync etc.

  • What happened to the Awesome Bar?

    My 'Awesome Bar' is more impressive. It adds is more my entry by "http://" and ".com" it just gives me a page from google Web with suggested sites. I uninstalled my FF10 & reinstalled with 3.6.26. It worked fine with 3.6.26. I tried version 8, and he

  • Notice - the upgrade to Windows 7 after replacing the hard drive

    I am replacing the failed hard drive in my Presario V6305NR & considering the upgrade to 2 GB of Ram.  Should I try to reload Vista or can I switch to a new total installation of Windows 7? If the upgrade to Windows 7 is feasible, how & what problems

  • Pavilion 1303au g4: want to change my old laptop motherboard

    model:-HP pavilion 1303au g4 Processor :-amd a4 3330mx I want to change my laptop amd motherboard at intel we do not know what motherboard to choose also do not know where to get it can someone suggest me among the motherboards that can be mounted in