Several scripts currently running a cmdlet

Hi all

I have a few .ps1 scripts I want to run from a single cmdlet.

Currently in my cmdlet, I have the following:

PowerShell-command "&"C:\MyScript01.ps1"

It works fine, but when I add a second, I get the following error.

PowerShell-command "&"C:\MyScript01.ps1"

PowerShell-command "&"C:\MyScript02.ps1"

Results

The term 'C:\MyScript02.ps1' is not recognized as the

name of a cmdlet command, function, script file or executable program. Check the spelling of the name, or if a path has been included

check that the path is correct and then try again.

On line: 1 char: 2

+ & < < < < "C:\MyScript02.ps1".

+ CategoryInfo: ObjectNotFound: (C:\vHealthCheck...ndMemReport.ps1:String)], CommandNotFoundException

+ FullyQualifiedErrorId: CommandNotFoundException

How can I add a second line?

It should work, are you sure of what c:\myscript02.ps1 is?

Tags: VMware

Similar Questions

  • Several scripts that run at the same time?

    Is it possible to have multiple scripts running successfully at the same time?

    For now if I start a second script while one is still ongoing, the other to be completed successfully, but one stops. This seems to be because one is so more the active document, once the other opens so cannot continue.

    Is there another way to anything like that script so that multiples can operate independently at the same time? You might wonder why I don't want to run both at the same time and not just wait, but I install an asp.net web do front end and have problems if two people, click on the button around the same time.

    I'm guessing this won't be possible and I'll have to look for ways to achieve this in asp.net instead and sort queued requests so you will have to wait longer if the script is already running?

    Thank you

    Andy

    I'm guessing this won't be possible and I'll have to look for ways to achieve this in asp.net instead and sort queued requests so you will have to wait longer if the script is already running?

    It is correct. PS script interface is single-threaded, so you'll need requests queued.

  • script to run several queries to find/replace

    Working on a big book of ID document (* .indb), I saved dozens of queries to search/replace (named "col01', 'col02' etc.) that I run on 'all documents '. For some reason, I have to run these queries several times a day.

    So I'm wondering if he has, or if someone out there will write: a script that runs these queries one after another. Given the size of the book, it may be necessary to provide the script to pause after each query (before it turns on with the next), but I'm just guessing.

    Any help is very appreciated!

  • Several Windows local sql scripts to run automatically.

    Hi Experts, here's my dillemma.

    Oracle DB version: 10G

    Installed in: Sun solaris Sparc Unix machine.

    Customer used in local machine: PLSQL developer version 10

    I'm going to get a set of .sql files every week on my local machine to windows 7 especially recreate tables, insert data, and perform other actions of DB.

    Our project aims to automate the process of sql executions.

    Whatever the State of execution of the 1 file, execution should continue with the rest of the sql files & save errors and other messages.

    But the problem here is

    (1) we don't have access to the Unix machine where DB is installed to write a shell script and run these files.

    (2) we have only customer plsql developer which interfaces with DB.

    My life I worked with scripts Unix & plsql, but not having don't access Unix is a newthing to me & its driving me crazy.

    Please give me advice on how to approach it.

    (1) can use us plsql developer for pickthe local files & run them?

    (2) can write us that all back base program in order to recover and run the local sql files.

    Assumptions:

    I think that PLSQL programming in itself is not a way to access the files stored in the local computer (my system and not the box Pb, in that it is installed).

    Thank you for your time and response.

    Tip:

    use customer sqlplus to connect to db. and run your scripts in the bat file

  • Problem with external scripts to run

    Hello

    I was wondering if someone can help me, got a problem where the external script is running without problems, the file gets generated and released into the log folder then file disappears as expected.

    When the file disappears, file does not appear to have sent to the BB server. The file has no file extension.

    The customer is 4.40 and the host file is defined by:

    "IP ADDRESS" "Servername" #testip "filename."

    I expect that filename must display the column in Big Brother, but does not...

    All thoughts.

    Concerning

    Col

    What is the format that you use for the log file?

    help of BBPE customer win:

    The first line must begin with the color of the State for the test (usually green, yellow or red). The rest of the file can contain anything; If you click on the color on the screen of Big Brother, you will see the contents of the file. Generally, we recommend that include you the date, time and name of the host on the first line, with the following lines describing the results of the tests, like this:

    color day date [hostname]
    results message
    results message
    ...

    For example:

    Red game 08 21:10:24 1998 [xxx.domain.com]
    blah blah
    blah blah

    We highly recommend that you include the host name on the first line, especially if the client computer uses the DHCP protocol.

    You can change the amount of time before the test results never expire (and the test status shows purple), the substitution of the default on the servers of the display. Place a sign plus (+) and the time, before immediately after the color in the log file. You can express the time in minutes (m), hours (h) or days (d). For example, to have this test does not turn purple for 26 hours:

    Green + 26: Thu 08 21:10:24 1998 [xxx.domain.com]
    blah blah
    blah blah

    Change the expiration time can be useful for scripts that you run only once a day: save the controls, the system checks every day and so on.

    In addition, you can send the status for a test on a different host including the hostname before color, separated by a colon (:). This is useful if you run tests for several hosts from the same client of Big Brother. For example:

    Some.Host.Anywhere:Red Thu 08 21:10:24 1998 [xxx.domain.com]
    blah blah
    blah blah

    This indicates to the server that this status is for some.host.anywhere, not for the current client host.

  • How to create a report of vm-info of several scripts?

    Hello

    I combined several scripts for the following and it ceates 4 correct outputfiles.

    But it is possible to create a 1fichierdesortie with all the lines?

    Thank you, Robert

    1. Initialization section *.

    ##################################

    1. Declaring global and static variables

    2. VMware VirtualCenter server name

    $vcserver = 'coat '.

    1. Path to the output file

    $outputfile1="D:\Output_scripts\VMware\VMinfo_part1.csv".

    $outputfile2="D:\Output_scripts\VMware\VMinfo_part2.csv".

    $outputfile3="D:\Output_scripts\VMware\VMinfo_part3.csv".

    $outputfile4="D:\Output_scripts\VMware\VMinfo_part4.csv".

    $outputfile_total="D:\Output_scripts\VMware\VMinfo_Total.csv".

    #################

    1. Add VI-toolkit

    #################

    Add-PSsnapin VMware.VimAutomation.Core

    Initialize - VIToolkitEnvironment.ps1

    to connect-VIServer $vcserver

    1. *************   Start Process 1   *********************************************

    $report1 = @)

    Get - VM | % {

    $vm = $_ | Get-VMGuest

    $row = "" | Select VMname VMTools, IPAddr1, IPAddr2, IPAddr3, OsFullName, host name

    $row. VMname = $_. Name

    $row. VMTools = $vm. State

    $row. Host name = $vm. Host name

    $row. IPAddr1 = $vm. IPAddress [0]

    $row. IPAddr2 = $vm. IPAddress [1]

    $row. IPAddr3 = $vm. IPAddress [3]

    $row. OsFullName = $vm.osfullname

    $report1 += $row

    }

    $report1 | Sort - property VMname | Export-Csv $outputfile1 - NoTypeInformation

    1. *************   Start Process 2   *********************************************

    $Report2 = @)

    Get - vm | % {

    $vm = get-view $_.ID

    $row = "" | Select-Object VMname, VMState, TotalNics, TotalCPU "TotalMemory Mb.

    $row. VMname = $vm. Name

    $row. VMState = $vm.summary.runtime.powerState

    $row. TotalNics = $vm.summary.config.numEthernetCards

    $row. TotalCPU = $vm.summary.config.numcpu

    $row. {TotalMemory MB} = $vm.summary.config.memorysizemb

    $report2 += $row

    }

    $report2 | Sort - property VMname | Export-Csv $outputfile2 - NoTypeInformation

    1. *************   Start Process 3  *********************************************

    $report3 = @)

    Get - vm | % {

    $vm = $_

    $disksize = (($_ | get-harddisk | mesure-objet-propriété CapacityKB-somme).) Sum) / 1 Mb

    $_ | Get-Datastore. Where-Object {$_.} Type - eq "VMFS"} | % {

    $row = "" | Select "Disc Total GB" data store, Aantaldisks, VMname

    $row. VMname = $vm. Name

    $row. Aantaldisks = $vm. Harddisks.Length

    $row. Data store = $_. Name

    $row. {Total GB drive} = $disksize

    $report3 += $row

    }

    }

    $report3 | Sort - property VMname | Export-Csv $outputfile3 - noTypeInformation

    1. *************   Start Process 4  *********************************************

    $ROTAP = @{name = "ROTAP"; Expression = {$_.} CustomFields.Item ("ROTAP")}}

    $User = @{name = 'User'; Expression = {$_.} CustomFields.Item ("User")}}

    $Description = @{name = 'Description'; Expression = {$_.} CustomFields.Item ("Description")}}

    Get - VM | Select-Object - property 'name', $ROTAP, $User $Description | Sort - Name property. Export-Csv $outputfile4 - noTypeInformation

    1. *************   End Process   ***********************************************

    Disconnect-VIServer-confirm: $false

    Run the Export - Csv cmdlets 4 each write a specific table in the CSV file.

    Each group has different properties or columns if you want to make the analogy with the CSV file.

    Because you can't have a CSV file with different columns that will not be possible as far as I know.

    An alternative could be that you collect all the information in a line that has all the properties.

    This way you go you end up with 1 table that you can export to CSV file 1.

    Here's how it could be done for the first 2 CSV files

    Get-VM | % {
         $vmGuest = $_ | Get-VMGuest
         $vm = Get-View $_.ID
    
         $row = "" | Select VMname, VMTools, IPAddr1, IPAddr2, IPAddr3, OsFullName, Hostname,
                            VMState, TotalNics, TotalCPU, "TotalMemory Mb"
         $row.VMname = $_.Name
         $row.VMTools = $vmGuest.State
         $row.Hostname = $vmGuest.Hostname
         $row.IPAddr1 = $vmGuest.IPAddress[0]
         $row.IPAddr2 = $vmGuest.IPAddress[1]
         $row.IPAddr3 = $vmGuest.IPAddress[3]
         $row.OsFullName = $vmGuest.osfullname
    
         $row.VMState = $vm.summary.runtime.powerState
         $row.TotalNics = $vm.summary.config.numEthernetCards
         $row.TotalCPU = $vm.summary.config.numcpu
         $row.{TotalMemory Mb}= $vm.summary.config.memorysizemb
    
         $report += $row
    }
    $report | sort -property VMname | Export-Csv $outputfile -NoTypeInformation
    

    As the basis of each report is the loop through all the guests (Get - VM cmdlet) should be quite easy to incorporate the other 2 files CSV in a similar way.

  • The perl script is running slow

    Hello

    I am currently faced with a rather annoying problem.

    I installed the SDK for perl to monitoring of the resources of the ESX Server. Status of pl (in the apps directory) scripts work correctly. However, scripts to take an incredible time to run (about minimum 40-60 seconds!). After checking the logs on the ESX Server, it seems that there is a significant delay between the beginning of the 'Util::connect' and the "connected/authenticated" message in the syslog ESX.

    I tried the SDK for perl 1.6 and vSphere SDK for Perl 4, without differences.

    Someone have already faced this problem of performance?

    The recommendations of any idea or investigation would be greatly appreciated.

    Yannick

    Environment: ESX 3.5, perl scripts started the Debian (Lenny Server

    Below is an example of script used:

    /var/tmp/TestSimple.pl--entite HostSystem - Server 192.168.1.200 - xxx - xxx password username

    Lenny$ cat /var/tmp/testsimple.pl

    #! / usr/bin/perl

    use strict;

    use warnings;

    use VMware::VIRuntime;

    My % opts =)

    entity = & gt; {

    Type = & gt; "=s",

    variable = & gt; "VI_ENTITY,"

    help = & gt; "Type of ManagedEntity: HostSystem, etc.,"

    required = & gt; 1,

    },

    );

    OPTS::add_options (%OPTS);

    OPTS::parse();

    OPTS::Validate();

    Util::Connect();

    1. Get all items in the inventory of the specified type

    My $entity_type = Opts::get_option ('entity');

    My $entity_views = Vim::find_entity_views)

    view_type = & gt; $entity_type);

    1. The results of the process and output in the console

    foreach my {$entity_view (@$entity_views)}

    My $entity_name = $entity_view - & gt; name;

    Util::trace (0, "found the $entity_type:")

    ("$entity_name\n");

    }

    1. Disconnect from the server

    Util::Disconnect();

    There might be something worth investigating within the time of authentication.  However, I ran your script against my current environment (~ 100 guests, no VM yet).  Execution of the script has been very slow.  I experience this problem with large environments quite frequently, but there is a difficulty.

    So, when you use the call of find_entity_views() default it will look all the properties of an entity.  This can be very expensive in terms of script execution time.  It's especially bad when you have a _view call nested inside a loop.

    You can probably greatly increase the speed of your script by changing the following:

    
    #!/usr/bin/perl
    use strict;
    use warnings;
    use VMware::VIRuntime;
    
    my %opts = (
         entity => {
         type => "=s",
         variable => "VI_ENTITY",
         help => "ManagedEntity type: HostSystem, etc",
         required => 1,
         },
    );
    Opts::add_options(%opts);
    Opts::parse();
    Opts::validate();
    Util::connect();
    
    # Obtain all inventory objects of the specified type
    my $entity_type = Opts::get_option('entity');
    my $entity_views = Vim::find_entity_views(
         view_type => $entity_type,
         properties => \[ 'name' ]); # Remove the backslash before the '[' here, the forum will not parse it properly.
    
    # Process the findings and output to the console
    
    my $entity_cnt = @{$entity_view};
    foreach my $entity_view (@$entity_views)
    {
         my $entity_name = $entity_view->name;
         Util::trace(0, "Found $entity_type: $entity_name\n");
    }
    
    # Disconnect from the server
    Util::disconnect();
    

    If you notice the argument of the properties to the find_entity_views() call.  This will search only the name property.  You can of course add additional properties to the table reference.  But you will find that this will dramatically increase your script execution time.  In my environment, the script went to almost several minutes to run in less than 10 seconds.

  • How to find the position of the VI icon currently run on the block diagram of the appellant

    Dear forum,

    I am currently trying to use a LabVIEV VI as a simple sequencer: several (very slow) actions must run one after the other. Each action is represented by a Sub - VI, some actions are executed several times. My task is to view the Subvi somehow executing.

    My first intention (just manipulate the icon of the VI running with 'Icon.Get VI as Image data' / 'Icon.Set VI of Image data' invoke nodes) has failed, because it changes all instances of the VI icon. If you use the same VI several times, all these VI icons are changed (see here: http://forums.ni.com/t5/LabVIEW/How-to-change-animate-icon-of-currently-running-VI/m-p/3120754/highl... )

    My current approach is to use an image of the block diagram (with "VI: block diagram: get resized Image ' call method) in a picture of the front panel control and working within this control. But for this I need to know the position of the icon of the VI running. I know that I can assess the limits and Position via the properties GObj, but how to find the VI running (note that a VI can be installed several times on the block diagram, so the name of the VI is not unique)? IMHO the easiest way might be if a VI might find its icon on the block of the appellant diagram itself when it is run...

    It is clear that this position is not yet the position on the photo, but this conversion is a small piece of work...

    Kind regards

    cpschnuffel


  • several svchost.exe running

    I can't start my Windows Vista, even after several repair system. Now, I'm in safe mode and noticed to Bishop of the task that there are several svchost.exe running. This could be the culprit? The repair of the system said that a recently installed or updated driver prevents windows to start. Appreciate your comments.

    Hello

    After using the Troubleshoot utility above and if so, try a clean boot.

    Use the startup clean and other methods to try to determine the cause of and eliminate
    the questions.

    ---------------------------------------------------------------

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • ESXi 5.5 check if the custom script is running

    Hello

    I'm working on a solution, as remote custom for ESXi environments.  The only area that I have a problem, is that I need to check if my (running locally on the ESXi host) shutdown script runs in reality or (to avoid running processes in doubles).

    I know that in the ordinary Linux systems I can do things like (ps to the | grep "test.sh" | grep - v 'grep') or (c - stat %X /proc/ pgdump).  This doesn't seem to work on ESXi.

    Recommendations:

    • This must be run locally on the remote site
      • no access to the vCenter Orchestrator
    • No windows
      • The main system that will control the whole process is Debian
    • Do not install any 3rd party on ESXi hosts
    • Do not recommend N.U.T.S or APCUPSD
    • Must be able to check if the script works not the commands in the script
      • The real script runs several commands at different times

    Test configuration:

    1. Create a loop file in /tmp/test.sh

    #! / bin/sh

    I have = 1

    while [[ $i -le 1000000]]

    do

    echo 'Still running.  Step $i'

    ((i = i + 1))

    fact


    1. Make the file executable
      1. chmod + x /tmp/test.sh
    2. Run the test script
    3. Which can run to verify that the script still works?

    Any help is appreciated.

    Thank you

    B

    Ok.  Spend many hours looking for a way to see who "sh" process to run my script, I gave up and continued in the way of what has suggested Alistar.

    Solution: (linux - dirty way to ensure that only one instance of a shell script is running at a time - Stack Overflow)

    Basically, we create a file locking with the PID on the inside.  If the concurrent process give it a shot, they are arrested.  You can also look in the locking file to find the PID, if you want to force the exit, the newspaper, etc...

    For example

    #!/bin/sh
    LOCKFILE=/tmp/lock.txt
    
    if [ -e ${LOCKFILE} ] && kill -0 `cat ${LOCKFILE}`; then
         echo "already running"
         exit
    fi
    
    # Remove the lockfile when process is exited
    trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT
         echo $$ > ${LOCKFILE}
    
    #do stuff
    i=1
    while [[ $i -le 1000000 ]]
         do
              echo "Still running.  Step $i"
              let i=i+1
    done
    
    rm -f ${LOCKFILE}
    
  • My iPad has been slow and unstable. What can I do if this is caused by a virus from the Internet because that is what I suspect. The problem started after a message like "scripts to run.

    My iPad has been slow and unstable - it actually seems to be hung when I use it. Once I put it, a blue line with four faces (which forms a rectangle or square) appears on the display and moves as he tries to anticipate my next actions or touch on the scree. All started about four days ago while I was downloading of articles in google scholar. A message that reflects something as "run scripts" or "scripts to run" appeared just before the problem started. Please advise on what I can do.

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

  • How to view all programs currently running on Slate 21 pro

    I have a slate 21 pro and cannot find a way to display all programs running at the same time, so I can stop or select one.

    Every other Tablet android or phone I used has a way to do it.

    Bill

    COWA wrote:

    Hi Bill,

    Here is a link that explains how to use HP double Viewer App to interact with and manage your currently running applications.

    If you prefer to use the standard method of Android, this page also provides information about how disable HP double Viewer App in settings, that will return you to the standard experience.

    http://support.HP.com/in-en/document/c04476282

    Kind regards

    COWA

    HP employee

    Unfortunately, this link is dead.

  • can I put my laserjet p2015d currently running on xp to run on windows 8

    can I put my laserjet p2015d currently running on xp to run on windows 8

    Hello

    Yes Laserjet p2015d supports 8 Win O\S. software and drivers can be downloaded from the link below.

    http://h20565.www2.HP.com/portal/site/hpsc/public/PSI/swdHome/?lang=en&cc=us&sp4ts.Oid=1845555

  • How to find scripts that run in the background

    Hey

    I'm looking for which scripts to run in the background

    Thank you

    Open the Task Manager and go to the Details tab. If a VBScript or JScript is running the wscript.exe or cscript.exe process appear in the list.

    Right-click on the column header and select 'Command Line'. That should tell you what script file is running.

  • I've had my laptop for a year, and it is currently running Windows 7 Professional. I recently had a problem that causes the black screen

    I've had my laptop for a year, and it is currently running Windows 7 Professional. I recently had a problem that causes the black screen randomly with the screen turned on (I mean everything is black and I can't see a thing, but can still see the light of the LCD screen). This often happens when I open/close a window, browsers web example, the records, or even during the boot. I want to know how to solve this problem and if the upgrade to Windows 10 works for her.

    Hi Haolin,

    Thanks for posting your query in Microsoft Community.

    I do not understand that the screen goes black randomly, and I'll be happy to answer your query. Let me ask you;

    • What is the brand and model of the computer?
    • Remember to no particular change in the computer before the show?
    • When was the last time it worked?

    Video card problems are the most common cause of this problem.

    Try the following troubleshooting procedures in the order. If the steps described in the first procedure does not resolve the problem, continue to the next procedure.

    Step 1: Reinstall your video driver

    1. Right click on the bar tasks and then click Start Task Manager.

    2. Click on the processes tab, click explorer.exe, and then click end process.

    3. Click file, and then click new task (run).

    4. In the text box open, type explorer.exe, and then click OK.

    5. Click on the Start button , go into the Device Manager in the start search box, and then, in the search results, click on the peripheral Manager.
    6. Double-click on display the cards, right click the display device, click Update driver software, and then follow the steps in the wizard that appears. You can also visit the website of the manufacturer of the computer support and install the latest available graphics cards for the same model of computer you have.

    Note: After the driver is re-installed, you may need to restart your computer to complete the installation. You may also need to adjust the resolution of the display to its previous value. For more information, see change your screen resolution.

    Step 2: Search for registry problems

    1. Right click on the bar tasks and then click Start Task Manager.

    2. Click on the processes tab, click explorer.exe, and then click end process.

    3. Click fileand then click new task (run)

      In the text box open, type explorer.exe, and then click OK.

    4. Click on the Start button , type regedit in the search box, and then, in the search results, click on regedit.exe.
    5. Navigate to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    6. Click to select the WinLogon key and then in the right pane, click on Shell. The value of shell in the data column must be explorer.exe. If the value of Shell is not explorer.exe, double-click Shell, and then, in the value data text box, type explorer.exe, and then click OK.

    7. Close the registry editor and restart your PC.

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: How to back up and restore the registry in Windows

    If this procedure resolves the issue, you are finished. If this is not the case, proceed to the next set of steps.

    Step 3: Start the computer in safe mode and run system restore

    1. Click on the Start button , click the arrow next to Shut Down, and then click restart.
    2. Do one of the following:

      • If your computer has a single operating system installed, press and hold the F8 key as your computer restarts. You need to press F8 before the Windows logo appears. If the Windows logo appears, try again by waiting until the Windows logon prompt appears, and then stop and restart your computer.

      • If your computer has more than one operating system, use the arrow keys to select the operating system you want to start in safe mode, and then press F8.

    3. In the Advanced Boot Options screen, use the arrow keys to select Safe Mode, and then press enter.

    4. Log your computer with a user account with administrator rights. When your computer is in safe mode, you will see marked Safe Mode in the corners of your screen.

    5. Click on the Start button , type "System Restore" in the search box, click System Restore, and then click Next. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    6. Choose a restore point when your PC worked as expected, click Next, and then click Finish.

    7. Restart your computer normally.

    Important: When you use system restore to restore the computer to a previous state, the programs and updates that you have installed after this date are deleted.

    If these steps resolve the issue, you are finished. If not, try to repeat the steps and chooses an older restore point (if available). If that does not resolve the problem, contact your computer manufacturer or the technical support for further assistance.

Maybe you are looking for