Multiple results returned when running get-productionserver
Hi All,
I'm creating a script that will take a VM out of DPM, move the VM to another cluster, delete the replica and restore points and add it to DPM again.
During testing I'm running an issue. After the proces of moving a VM to another cluster and back again I run 'Get-productionserver | ?{$_.Name -like "*<servername*>}
Before I got one result, but now I get two results. One productionserver on each clustername. The VM does not exist anymore on one clustername as the VM was moved back again. What is happening here and how can I clean up the 'ghost' productionserver?
Regards,
>D
Message from: http://social.technet.microsoft.com/Forums/en-US/user
Hi All,
I'm creating a script that will take a VM out of DPM, move the VM to another cluster, delete the replica and restore points and add it to DPM again.
During testing I'm running an issue. After the proces of moving a VM to another cluster and back again I run 'Get-productionserver | ?{$_.Name -like "*<servername*>}
Before I got one result, but now I get two results. One productionserver on each clustername. The VM does not exist anymore on one clustername as the VM was moved back again. What is happening here and how can I clean up the 'ghost' productionserver?
Regards,
>D
Message from: http://social.technet.microsoft.com/Forums/en-US/user
Similar Messages
-
Hello All,
I searched quite a number of forums before posting and all that I have come to know is that some have mentioned it to be related to COM. I do not have experience dealing with COM and no idea how I can sort this out. I hope someone can provide guidance on
these:
Question 1: Server (2008 R2 Standard) is having 4 websites. Default - Running, WS2 - Stopped, WS3 - Running and WS4 - Running. When I run the command "invoke-command -computername Server1 -Credential domain\User -ScriptBlock
{import-module 'webAdministration'; get-website}"
I get this output and then an error:
name : Default Web Site
id : 1
serverAutoStart : False
state : Stopped
bindings : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
PSComputerName : Server1
RunspaceId : ca8bbb00-4631-4c92-a7c7-3bec8039eaee
Attributes : {Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute,
Microsoft.IIs.PowerShell.Framework.ConfigurationAttribute}
ChildElements : {Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement
Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
Microsoft.IIs.PowerShell.Framework.ConfigurationElement,
Microsoft.IIs.PowerShell.Framework.ConfigurationElement...}
ElementTagName : site
Methods : {Microsoft.IIs.PowerShell.Framework.ConfigurationMethod,
Microsoft.IIs.PowerShell.Framework.ConfigurationMethod}
Schema : Microsoft.IIs.PowerShell.Framework.ConfigurationElementSchema
The data is invalid. (Exception from HRESULT: 0x8007000D)
+ CategoryInfo : NotSpecified: (:) [Get-Website], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.IIs.PowerShell.Provider.GetWebsite
Command
What I have been able to figure out is that it returns complete data for the Default Website and then throws the error. Tried the same command on another server running 2 websites (both in started state) and same results :(
Question 2: When the same command "Get-Website" is run locally on the server then only 5 columns show by default; Name, ID, State, Physical Path & Bindings. Why then the command when run remotely returns slightly
more data?
PS: I have Win7 x64 on my desktop. Tried the commands from x86 as well as x64 shells and same results.Hi Yan,
When I use Enter-PSSession, it works in the same manner as if the command is run locally. Hence the same output as local.
I am not sure of the exact way to use [Reflection.Assembly]::LoadFile('C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll')
I tried this and get an error:
invoke-command -Session $session -ScriptBlock invoke-command -Session $session -ScriptBlock {[Reflection.Assembly]::LoadFile('C:\Windows\System32\inetsrv\Microsoft.Web.Administration.dll'); get-website}
Output:
GAC Version Location PSComputerName
True v2.0.50727 C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administrati... Server1
The term 'get-website' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
+ CategoryInfo : ObjectNotFound: (get-website:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
+ PSComputerName : Server1
The version of the dll on the server is 6.1.7601.17514
Thanks -
Exchange 2013 CU7 on Windows 2012.
I have a 3 server DAG (newly created) and the EAC lists each server with Is Operational = Yes.
When I run Get-DatabaseAvailabilityGroupNetwork on any of the 3 servers I get:
[PS] C:\>Get-DatabaseAvailabilityGroupNetwork
Could not load file or assembly 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
+ CategoryInfo : NotSpecified: (:) [Get-DatabaseAvailabilityGroupNetwork], FileNotFoundException
+ FullyQualifiedErrorId : [Server=<servernameremoved>,RequestId=11e182c9-cb4a-4f48-b985-dc4be7ef97ef,TimeStamp=2/23/20
15 10:00:53 PM] [FailureCategory=Cmdlet-FileNotFoundException] 586ECE82,Microsoft.Exchange.Management.SystemConfig
urationTasks.GetDatabaseAvailabilityGroupNetwork
+ PSComputerName : <servername FQDN removed>
Any suggestions?Try to run below command and see what it shows.
Get-DatabaseAvailabilityGroupNetwork -server node1.domain.com
BR/Deepak -
How to using one HTTPService to handle multiple result returns
I have a HTTPService class that handles one fault and one result events. Is there a way to the same HTTPService to handle more than one result returns.
For example, to handle Result1, Result2, ... events with different Listeners: Listener1, Listerner2, ...My approach would be to include the logic necessary to handle the possible results in my result handler. The result handler receives the ResultEvent and the logic conditionally executes based on the result returned.
-
Converted access app to apex when run get no data found; table does have da
COnverfted MS Access app to apex. WHen I run the appliation I get no data found.
However the table does have data. HOw do I see what is actually running?
The pre-converted form saids its based on a query. The form and the query shows up as valid. I then converted the form. When I run it I get no data found. If I take the query that the form is based on and run in sqlplus I get data.
Another confusing thing is when I look at the page for the converted form, there is nothing in the source area for the region where the converted query results should be.
Did the conversion not work? How can I tell what is the source? Where should the results from the query be located?Its a standard SQL query:
SELECT xtbl_MSDS_to_CAS.msds_id,
xtbl_MSDS_to_CAS.cas,
xtbl_MSDS_to_CAS.alias,
xtbl_MSDS_to_CAS.amount,
xtbl_MSDS_to_CAS.veh_prod,
xtbl_MSDS_to_CAS.compliance
FROM xtbl_MSDS_to_CAS
The name of the above query lets say for example purposes is MYQUERY.
After looking at the page def I see that the way the conversion tool worked is that in the page definition it has this in the Processes Section:
After Header:
Fetch Row from MYQUERY.
Then it says automated Row fetch.
I compared this to another form that was converted thru the migration APex tool as well and on that form that does work I found that:
The query(form) was converted and placed in a region and the source has the query. THat is, it was not in the process section but in the region: source section.
So why does the conversion tool decide to convert one and populate as a region source and the other as a process in the page definition?
THis is all very confusing.
Hope you were able to follow me. -
Lost my laptop, and now I need to reinstall CS2, in order to install CS3. I downloaded CS2 from Adobe site but when I run the program I get an error message: Your Adobe Photoshop user name, or serial number is missing or invalid. The application cannot continue. I was using the serial nr that Adobe is providing on the CS2 download page.
Any help much appreaciatedYou are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
Once you are using the "Firefox" button ...
Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
* http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface -
"Your Search Had No Results" returned when clicking on download arrow
In the Salt Lake Community College iTunes U "private" side of iTunes U, whenever someone clicks on the download arrow to download a podcast (the arrow that is to the right of the podcast name and to the left of the time), they get the following error:
"Your Search Had No Results. Use Power Search to Refine your Search or use Browse to browse the entire iTunes store. Request anything you cannot find."
This happens in every section we have, and it does not matter if the podcast is uploaded to the iTunes U site and living on their servers, or if it is on our servers and is populated to the iTunes U site via RSS feed.
When we click on the podcast name we can play it on the computer, but cannot download it to an iPod for play.
Has anyone seen this before? Any help or suggestions?
Thanks!
Donna Mirabile
Distance Education
Assistant Applications Administrator
Salt Lake Community College
TB 216C, Mailstop DE
4600 South Redwood Road
Salt Lake City, UT 84130
801-957-2641
[email protected]Lauri wrote:
Actually, try it now. "kfi am 640 handel on the law" now has an entry. Seems like the trick is, you have to make sure you don't have that set of top tabs that say Video Audio All set to video before you do a search. If it's set to Audio or All, you'll get what you are looking for. That's not very good gui design. At the least, All should be the default tab or the tab set should be on the search screen.
I just searched again and came up empty. Not sure what you mean about the tabs. It goes....
Internet > Podcasts > Search "kfi" > "kfi am 640 handel on the law." > "Your search had no results"; and there are no tabs visible at any stage in that process. It is an active podcast and works fine within iTunes itself. This is not the only podcast I can't access; it is happening quite a bit with podcasts not in the Top, Favorites, or Providers. -
Access denied when running Get-WmiObject -Class Win32_SystemServices -ComputerName ServerName
When I run the following powershell WMI command
Get-WmiObject -Class Win32_SystemServices -ComputerName SRV_XYZ
I get the following error:
Get-WmiObject : Access denied
At line:1 char:14
+ Get-WmiObject <<<< -Class Win32_SystemServices -ComputerName SRV_XYZ
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], Managemen
tException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.C
ommands.GetWmiObjectCommand
Note that, using the same user I run the previous command, I also run the following command, but this completes successfully with no errors:
Get-WMIObject -query "select * from Win32_ComputerSystem" -computername SRV_XYZ
Note also that SRV_XYZ is a remote server.
The Question is: what additional permission I should give the current user on that SRV_XYZ remote server to be able to run the first WMI command remotely and successfully?Still accesee denied ! ... I tried to chnage win32_systemservices to win32_service but it gave me the same error.
Regardless of whither it is a usable class or not! my question is related to authentication and permission that needed to be granted to the current user to be able to remotely run Win32_SystemServices or Win32_service.
Note that running any of the commands with domain admin rights completes successfully. -
When I started to update to iOS 5, the update went but at the end it said connection has timed out. Help me?
Have you tried disabling the computer's security software during the download and update.
-
Different data returned when running report
I have a report showing the diagnostic codes of all our patients. Missing some codes in the report that are stored in the database. Update one patient and get that record to show up, 2-3 other codes for other patients go missing. Very weird.
Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly
-
Ambiguous-import-flow-from-multiple-connectors when running AD MA Full Sync
When I run a Full Sync on the AD MA, I get a bunch of "ambiguous-import-flow-from-multiple-connectors" errors when running AD MA. How can I find out which attribute is causing this?
If I open one of the errors and run a "generate preview" I can see there is a join ("match") based on (data asource attribute) samaccountname & (metaverse attribute) accountName but I don't seem to be able to figure out
what attribute is causing this and / or needs precedence.
Anyone any ideas?
JDHello,
this error occurs because you have more than one CS object linked to one MV object.
In this case FIM can not resolv the precedence of Attribute flows correctly, because they have all the same precedence. Or regarding to your question, all Import attibutes flows are causing the Problem.
You have to configure Manual precedence with advanced Attribute flows in this case.
or
If multiple CS objects to one MV object is not was you Need, get rid of the second (or more) connector from that data source.
See more here:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms696034(v=vs.100).aspx
http://www.wapshere.com/missmiis/overcoming-multiple-personality-disorder-in-the-source-data
-Peter
Peter Stapf - ExpertCircle GmbH - My blog:
JustIDM.wordpress.com -
How to avoid IE pop-ups when running BIP reports(w/ SSO) from Oracle Forms?
Hi all,
We have an OID/SSO integrated Oracle Forms and BI Publisher environment in place. We/users expect the same behavior when running Oracle Reports or BIP reports from Oracle Forms... which means receiving no intermediate pop-ups and simply getting the report output to appear in the relevant target application(PDF, EXCEL, etc). Currently we get multiple security warnings when running BIP reports from Oracle Forms.
Here's a list of Pop-ups contents:
1. "File Download - Security Warning" Do you want to open or save this file? -> OPEN
2. "File Download" Do you want to save this file? Name = ma01r500.pdf -> YES
3. "Save AS" -> pick desktop and save.
4. "Download Complete" -> OPEN
We have experimented with setting various IE security settings to LOW/enabled and still get these pop-ups.
Any suggestions is much appreciated.
Thanks,
YahyaFYI... Metalink Note 282996.1 has resolved the bigger issue with the extra pop-ups with SSO enabled environment.
Cause:
Internet Explorer (IE) has to cache PDF files in a temporary directory prior to opening the file. Without this IE cannot process PDF files. With SSO protected pages, the header cache settings are set to no-cache which prevents IE from downloading PDF files.
Solution:
In mod_osso.conf use the entry "OssoSendCacheHeaders off" which tells mod_osso to turn off all no-cache related headers, which the enables Internet Explorer to be cache the file in a temporary directory.
Now I am not sure if anybody has any thoughts/suggestions as how we might be able to resolve this issue where Oracle Reports WEB.SHOW_DOCUMENT calls have no pop-ups so ideally BIP reports WEB.SHOW_DOCUMENT calls should behave the same as both are calls from Oracle Forms.
But at least now our SSO enabled environment and un-secure DEV/UAT behave the same with a single pop-up. Ideally the users shouldn't have to come across this intermediate pop-up to open(save/cancel being the other options) the document(just like Oracle Reports calls).
Yahya -
Multiple result sets from stored procedure into CachedRowSet
How can you obtain multiple sets of data from a stored procedure that returns multiple result sets, when you'd like to use CachedRowSet rather than ResultSet?
My database's stored procedures return multiple result sets, but I'm not sure how to manipulate that using CallableStatements and CachedRowSets... I read the RowSet tutorial from java.sun.com but that didn't cover the case of multiple result sets and CallablStatements.
How might I do this? Thanks a lot.SELECT columns..
FROM table
FOR XML PATH('NodeName'),('Rootname')
Thank you for replying.
I dont have to generate XML from a query. I have to generate from a SP and that too without modifying it.
Thanks,
Tauhid
thats ok you can do like this
1. Create a table with structure same as SP resultset
2. Populate table with SP result as per below
INSERT table
EXEC SPName param1value,...
3. Add a query like below
SELECT columns..
FROM tablename
FOR XML PATH('NodeName'),('RootName')
see
http://visakhm.blogspot.com/2014/05/t-sql-tips-fun-with-for-xml-path.html
4. Use sp_send_dbmail to sent it through mail
http://msdn.microsoft.com/en-IN/library/ms190307.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Max results returned by a search
Hi there,
I have been struggling in the Content DB Api to find out about the max results returned when performing a search.
Let's say for instance, I am doing a search on attribute NAME = * on a library that potentially contains more than 100 000 documents. I don't mind if the operation is time consuming or not, my main concern is the actual limit. I suppose this is certainly related
to the SOAP message limit. Does anyone know about this ?
I forgot to mention that the search won't request any attribute but only the defaults (id, name, type and so forth ...).
Cheers,Hi
i came across the below reply for a thread with the similar query as above.
<<
Justin Cave
Posts: 10,696
From: Michigan, USA
Registered: 10/11/99
Re: sort data in ref cursor
Posted: Feb 3, 2005 10:30 AM in response to: [email protected] Reply
No. You could sort the data in the SQL statement from which the REF CURSOR was created, but once you have a REF CURSOR, you cannot do anything but fetch from it.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
>>
So, the results from a ref cursor cant be sorted?? There is no way out?
Kindly advise. -
When I "Get Album Artwork" in iTunes 10.4.0.80 running under Windows 7, iTunes can find the missing artwork requested. But it also returns the same result, "Artwork for "Aught 7 - Mother Chorizo" could not be found. The problem is I do not have the song or any song from Aught 7 in my music library. I'm guessing this is an issue with a corrupted iTunes database. Can someone tell me how to correct this issue?
Thanks in advance.1. delete this songs from your liblary
2. go File -> Add File to Liblary... (Ctrl+O) or File -> Add Folder to Liblary
Maybe you are looking for
-
Unable to reinstall SCVMM 2012 R2 during database migration - access denied to VMMDKM container
I'm trying to migrate my SCVMM 2012 R2 DB to a new SQL 2012 server. As per TechNet article http://technet.microsoft.com/en-us/library/dn469626.aspx, I uninstalled VMM, which went without a problem. During the reinstall, setup fails with "Unable to cr
-
Error while unmarshalling the IDOC using an IDOC OTD in JCAPS
Hi, I've created an OTD from SAP IDOC Type in SeeBeyond JCAPS 5.1.2. And when I'm trying to unmarshal the IDOC payload using OTD tester in eDesigner. And the same error is thrown at runtime also. I've tried with multiple IDOCs but no use. And when I
-
No connection between modem and time capsule !
Hi everyone, I have bought the last week a 1 TB time capsule which I intend to use with my Imac. I have an ADSL modem that I want to connect to my capsule. To install it, I followed line by line the Configuration guide provided with the capsule viz.
-
What do I do if I never get a reply to my questions,or the answers are not helping. Is there a way to kill a thread? Mankind Imac G5 Mac OS X (10.4.2)
-
Remove SOAP Header Element from ALSB Proxy Service Response
I've got a client of one of my ALSB Proxy services that needs the SOAP header element removed from the response. I'm struggling to find a way to do that with a WSDL-based proxy service. Do I need to change my service to an Any XML Service or is there