Running against several VC and add these results
Morning
I'm pretty new on the side PoweShell of things and have been struggling for the last days of arrival in front of what I thought would be a simple script.
We run around 9 Virtual Centres for the moment due to the large number of VDI we have. The support team have difficulty working with VC to go when they need access to the consoles.
I created the following script to get the news have asked the team, but I'm stuck at two places.
I can get the script runs correctly on a single virtual circuit, but as soon as I try to run it against more it fails. The script presents unique access
When the script is running is it possible to add the name of the virtual server Center as a result? It was asked that teams use it as a filter field as well
Any help on this would stop tear my hair out me and greatly appreciated
See you soon
James
$server = "xxxxxx".
$user = "xxxxxx".
$pwd = "xxxxx".
*
SE connect-VIServer $server -user $user -password $pwd
* get - vm | Select @{Name = 'Host'; Expression = {$_.} $host.name}}, name, memory, NumCpu, Description, PowerState, @{Name = "MAC"; expression = {foreach($nic_in_(__Get-View*_$_.ID).guest .net) {$nic.macAddress}}} | Export-csv c:\temp\output.csv*
*
Oops again, sorry
Post edited by: hugopeeters
Tags: VMware
Similar Questions
-
How can I pass/add these results in the column of the motion of my hand
Hello Experts
I'm working on a subquery. My subquery works very well and gives the results I need. But how do I pass/add these results in the column of the motion of my hand "MGRNAME". Here's my query
Select pc.c_id 'Project ID',
CN. C_ID 'Customer ID', cn.c_last "Last Name", "First Name", cn.c_first
PJ.mgr_id 'ID Manager', 'Project', MGRNAME pj.project_name
project_consultant PC
Join them consultant cn
on (pc.c_id = cn.c_id)
Join the pj project
on (pc.p_id = pj.p_id)
where lower (cn.c_last) = "myers.
and MGRNAME in
(select concat (substr (c_last, 1, 20),
substr (c_first, 1, 20))
as consultant MGRNAME
where c_id in (102, 103)
)
When I run the above query, I got error.
Many thanks in advanceSELECT pj.p_id "Project ID", cn.c_id "Client ID", cn.c_last "Last Name", cn.c_first "First Name", pj.mgr_id "Manager ID", pj.project_name "Project", SUBSTR (mgr.c_last, 1, 20) || ' ' || SUBSTR (mgr.c_first, 1, 20) AS mgrname FROM project_consultant pc, consultant cn, project pj, consultant mgr WHERE pc.c_id = cn.c_id AND pc.p_id = pj.p_id AND pj.mgr_id = mgr.c_id AND mgr.c_id IN (102, 103) AND LOWER (cn.c_last) = 'myers';
isotope
-
Run ViewObject of bean and get the result.
How can I run my bean ViewObject and get all the lines that jdev ViewObject Return.My Version is 11.1.1.5.0
I tried to use this way but his return 0 rows, but when I check through Toad query returns data.
DCIteratorBinding iter =
getDCBindingContainer () .findIteratorBinding (name);
iter.executeQuery ();
Row [] rowArray = iter.getAllRowsInRange ();
Thank you
Raul
Hello
Its solved now thanks.
DCIteratorBinding = voIterator
ADFUtils.findIterator ("MyVObject");
Object ViewObject = voIterator.getViewObject ();
object.setNamedWhereClauseParam ("id", String.valueOf (id));
voIterator.executeQuery ();
Row [] rowArray = voIterator.getAllRowsInRange ();
Thank youRaul
-
Satellite M70 runs for several seconds and then hangs
Hello
I have a Satellite M70. My problem started several weeks ago with the laptop freezing. Then it blue screened a couple of times. Now when I start it, it runs for a few seconds and then hangs.
I can't do anything because the screen is blank but the LED still show as if it was on. If I leave the phone for a day or two, and then I can start it again and the same thing happens, but if I try to start immeadiately, the screen remains blank.
Any help would be appreciated, I had company look and they said that the LCD screen was tired, but it is not if it lights.
Also, I tried to plug in an external monitor and it's the same thing. PLS helpHello
Here in the forum we can only speculate what may be the problem. I don't think anyone can say for sure why this happens. I got BSOD a few times but always after installing some shareware applications. In my case it was clearly software related issue.
It is not easy to say why this is happening to you. You can enter the BIOS settings? Try to start your computer laptop in safe mode, just to see if it works.
-
How to read data from several files and add columns in a single file
Hi guys,.
I have a problem in adding data from files in different columns. I have the attachment a file A and B which I am reading and not able to get the data in the Result.txt file. Please give your opinion on how can I do this
You must add the data of all files before proceeding with a single entry.
-
Monitor the quality of my Internet service provider and document the results.
OT: ping.
I am trying to monitor the quality of my Internet service provider and to document the results. I would like to create a ping file during the execution of the order would send ping results to the screen and a file. I ran the file whenever the computer is turned on. The batch file must run continuously until interrupted and view the results of ping on the screen without the statistics, and it looks something like:
Reply from 173.194.115.4: bytes = 32 time = 19ms TTL = 52
Reply from 173.194.115.4: bytes = 32 time = 17ms TTL = 52
Reply from 173.194.115.4: bytes = 32 time = 12ms TTL = 52
Request timed out.
Reply from 173.194.115.4: bytes = 32 time = 25 ms TTL = 52
Reply from 173.194.115.4: bytes = 32 time = 191ms TTL = 52
...
In the file, it should write the results and look like:
Wednesday, December 2, 2015 9:30:34.02 response from 173.194.115.4: bytes = 32 time = 19ms TTL = 52
Wednesday, December 2, 2015 9:30:34.58 request has expired....
The batch file should display the results of ping on the screen.
In the file, it should write the results and look like:
It is one or the other: write the result on the screen or write to a file.
It seems that you forgot to ask a question. If you want to know how to do such a thing, so this batch file would do the trick. It will write the result in the desktop Ping.txt file.
off @echo
Set IP = 173.194.115.4
value = Write date % echo %%d time % > ^ > '% UserProfile%\Desktop\Ping.txt '.: Loop
for /F "delims =" % in (' ping-n 1% IP % ^ | findstr /i "demand response" ' "") do write %
Timeout 5 > zero
GoTo loop -
I have a user using Acrobat 10. It has been installed two weeks ago and had no problems at the start. Today, she said that when she tried to convert several word and excel docs by selecting and right-click on it to select convert/combine PDF format, pages randomly in the finished PDF file have a blue background. I did some research online and you can't find any information on this problem. Can anyone here shed some light on this subject and maybe point me in the direction of a solution? Any help is appreciated. Thank you!
Hi Gilad,
So something I didn't consider was that it could be a setting in office documents. The reason why I do not consider this was cause we tested several docs and had similar results each time. I returned and examined this possibility and found a setting in word that was causing this problem. Although the word doc showed no color page when opened in word, if I went to the "Page Layout"-> 'Color of Page', a shade of blue was chosen. By selecting "no color", then convert / combining documentation in PDF format, we have achieved the desired result. Thanks again for your response!
-
Original title: twomonitorsononepc
I have two monitors on my pc is there any way for example divide ads and Add ons in a screen and automatically display search results in the other.
or if facebook were used cat into one screen and status on the other screen please
Hi Richard,
What is the operating system installed on the computer?
It seems that you need to divide the same application in several windows and place them in different monitors. Is this correct?
Unfortunately, it is normal and you can not split the same application on two different monitors.
Hope this information helps. Get back to us if you have more queries about Windows.
-
How can I run the process steps in the call has a shape in the workspace and view the result
Hi all
I hava a process with two steps
- one runs the sql query and returns 'invoices me' data, I put these data in the fields in my xfaForm variable
- the second is a renderFormPDF witch takes a repository xdp and xfaForm as form data.
When I run the process in the workbench, I have the right result: the pdf has fields filled by extracting data from sql query.
but when I call the process of work space it gives me only the model without data.
I think the process is not yet completed.
Sorry, you just have a step of user if you wanted to send the form to the user using the interface of the workspace.
Jasmine
-
How to run SQL and export the results to Excel
My task is to run a custom SQL script and create an Excel file through SQL Developer running from the command line (called by a scheduled script). Is this possible using SQL Developer?
First, the thing I will try is to run a report user-defined in SQL Developer and save the results in an Excel file. Only 16000 result lines, but took 10 minutes to do the export and still cannot complete. Is there another way to do it?
Thank you very much.Can't be done, but this is requested already exchanging SQL Developer, you can vote here and add weight to the possible future implementation.
Kind regards
K. -
Experienced a severe slowness and lock-up with Firefox to the end, which ends with a sharp decline in the use of memory and I have repeatedly shut down by the Task Manager. I created a new profile and disabled hardware acceleration. I tried to disable all plug-ins and extensions, but I noticed that sometimes (not always) plugin container was always an active process, I don't understand. Why would it be active when there is no plugin activated? I also noticed that when the plugin container is not active (list under process in the Task Manager), I don't have this problem and Firefox works normally? I need to block the plugin container. Help, please.
If you have deactivated plugins and plugin-container should not be executed. It's one of the reasons I suggested malware scans.
The Windows XP Task Manager lists the processes running. It will list the plugin - container.exe but I don't think it goes further. IIRC a Sysinternals utility was required to get information on the processes associated with the plugincontainer.
Microsoft will now offer free downloads and documentation for which is the Sysinternals software.
-
How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?
Hello
It is not currently possible to review the data the application integrated in activity or training on this basis. If you want Apple to consider adding this feature, you can suggest here:
https://www.Apple.com/feedback/watch.html
However, health and fitness data from other sources, iPhone, and Apple Watch are registered and grouped within the health on iPhone app. These data can be exported, which you may find useful to track the cumulative progress and/or analyze your activity more in detail.
IPhone app activity also has a button for sharing (top right of the screen) that allows to share data - including social media, Messages, Mail, Notes, and a printer.
Include third-party applications that can be useful, for example:
Access to QS
-"Access your HealthKit data in a table so you can Explorer using numbers, Excel, R, or any other tool compatible CSV."
- https://itunes.apple.com/gb/app/qs-access/id920297614?mt=8
SpectaRun workouts
-"View from the workouts of your Apple Watch on your iPhone and to export these workouts so you can download them to your favorite online running community."
- https://itunes.apple.com/gb/app/spectarun-workouts/id991723862?mt=8
Data can also be exported directly from the application of the health (Health Data > All - Share at the top button on the right).
Check the descriptions and support resources for third party applications for supported details of import and data analysis features.
More information:
Use the activity on your Apple Watch - Apple Support
-
im running xp and Add/Remove programs will not let me delete all programs
im running xp and Add/Remove programs will let me delete all programs, nor does it show all of my programs
Hello
· You receive an error message or error code when you try to uninstall the program?
· Were there any changes made on the computer before the show?
Run the fix it from the link: Add/Remove Programs displays installed the tool incorrectly: http://support.microsoft.com/kb/266668
Add to that, I suggest to run online virus scan and check if any malware or virus detected on the computer activity. You can run the scan for viruses online from the link below: http://www.microsoft.com/security/scanner/en-us/default.aspx
NOTE: Make sure that you select the correct version of the operating system before downloading the scanner)
-
Should I run / have several AV programs and GOT on my computer?
I have two computers (Vista OS) desktop and a laptop (OS-Windows 7). Do I need to have any other AV/AS programmed on/running on my computers?
Hello
You should have only one protection on each major system however antivirus/security program
on all of them at once. Two must not be installed on the computer running much less because
the remains of those even uninstalled can cause problems. Remove always unused antivirus/security
programs using their Creator removal tools.List of tools to remove the antivirus/security programs.
http://social.answers.Microsoft.com/forums/en-us/msestart/thread/407bf6da-C05D-4546-8788-0aa4c25a1f91/================================
Here's what I use and recommend: (these are all free and works very well.)
Avast and Prevx proved extremely reliable and compatible with all I have
launched on them. Microsoft Security Essentials and Prevx have also proven to be very
reliable and compatible. Use MSE or Avast and Prevx, Prevx 3 but not all.Avast Home free - stop any shields is not necessary except leaving Standard, Web, and
Operation of the network.Prevx - Home - free
Windows Firewall
Windows Defender (is not necessary if you use MSE)
Protected IE - mode
IE 8 - SmartScreen filter WE (IE 7 phishing filter)
I also IE always start with asset if filter InPrivate IE 8.
(It may temporarily turn off with the little icon to the left of the + bottom
right of IE)Two versions of Avast are available 5.x and 4.8 x
Avast - home - free - 5.x stop shields you do not use (except files, Web, network, &)
Shields of behavior) - double click on the icon in the Notification area - real time Orange - click on the
Shield that you want to stop - STOP. To stop the Orange icon to show an error indicator-
Click on the Orange icon - top right - settings - click on the status bar - uncheck shields you
disabled - click OK
http://www.avast.com/free-antivirus-downloadAvast 4.8 x - home - free - stop shields, you don't need except leaving Standard, Web,.
and the network running. (Double-click the blue icon - look OK. - upper left - Shields details
Finish those you don't use).
http://www.avast.com/free-antivirus-download#TAB4Or use Microsoft Security Essentials - free
http://www.Microsoft.com/Security_Essentials/Prevx works well alongside MSE or Avast
Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
or use Google to see how to remove.
http://www.prevx.com/ <-->-->
http://info.prevx.com/downloadcsi.asp <-->-->PCmag - Prevx - Editor's choice
http://www.PCMag.com/Article2/0, 2817,2346862,00.aspAlso get Malwarebytes - free - use as scanner only. If you ever think malware and that
would be unusual with Avast and occasional Prevx running with the exception of a low level cookie
(not much), to UPDATE and then run it as a scanner. I have a lot of scanners and they
never find anything of note that I started to use this configuration.I hope this helps.
Rob - bicycle - Mark Twain said it is good.
-
I regularly run several programs and UAC asks EVERY TIME if that's OK.
UAC is designed to collect want programs run without my permission. Why can't have a list of programs that are allowed to run without hindrance when I'm the one initiating this shit to begin with?As far as I KNOW, there are four scenarios in which UAC does not:- When it is off (obviously!)
- When the actions of the programme are not potentially dangerous.
- When a program is run under a high count.
- When the program is running under the system account.
Your statement "UAC is designed to catch programs who want to run without my permission" neglects the main point. UAC is designed to prevent programs from performing potentially dangerous actions such as changing the files/system folders or by editing the registry. In other words, a UAC challenge is never directed to a specific application. She always helps that tries to make a request.I think it would be easy for Microsoft create a list of "good guys". I also suspect that it would be just as easy for programs not allowed to populate this list without your knowledge, so beating UAC in no time at all.
Maybe you are looking for
-
My Equium A200-1V0 supports WPA PSK encryption security
Could someone please What is my Equium A200-1V0 support WPA - PSK encryption security? Thank you A.
-
The HP 7747c PC support Windows 7 64 bit?
Can I upgrade to windows 7 64 bit?
-
Whenever I try to send a document as a PDF, which is longer than three or four pages, it is said that it exceeds the maximum size allowed. Is there any kind of a fix for this?
-
My homepage got randomly switching to another page.
My netbook is overrun by hostile forces. Please send in the cavalry. I don't know what is happening. This afternoon, all of a sudden my home page randomly switched to another page. It became it * removed * > tried everything I could think of in inetr
-
Cannot delete the file mp4 even in Mode safe XP
If I'm in safe mode, I can delete the file but only for drive D. I can move the file from C to D, but the file remains in the C drive.