I like the sound of the Exceptional plugin for resharper, but it says it currently only works with v4.5. Does anyone know what is involved with upgrading to 5.0 and how much things have changed, which bits will need to be looked at etc. I am quite tempted to upgrade it but would like some pointers before I start...
I am working on a search query in PostgreSQL, and one of the things I do is sort my query results by the number of parameters matched. I have no clue how this can be done. Does anyone have a suggestion or solution?
Table
brand color type engine
Ford Blue 4-door V8
Maserati Blue 2-door V12
Saturn Green 4-door V8
GM Yellow 1-door V4
Current Query
SELECT brand FROM table WHERE color = 'Blue' or type = '4-door' or engine = 'V8'
Result Should Be
Ford (3 match)
Saturn (2 match)
Maserati (1 match)
I would like to look at some log files solely via the console on a standard Windows 7 machine. The logs are created by schedulded tasks and I find it a hazzle to use VNC for this purpose.
What technology should I look at? Powershell, Cygwin via ssh or something else? The log files are written using log4Net - thus there might also be an easy way to reconfigure it to create events or something else for remote display.
I can't connect to the instance of exchange server 2010 through EMC on the local machine running w2k8 r2. I've checked all the default website bindings, the kerberos auth and WSMan are set to native type in powershell and I still get this error message.
Connecting to remote server failed with the following error message:
The WS-Management service does not
support the request.
It was running the command 'Discover-ExchangeServer -UseWIA $true -suppresserror $true'
We've noticed a compatibility issue with a Silverlight 3 app which runs fine with v3.0.40818, v3.0.50106 and v4.0.50401 but refuses to load in v3.0.40624. Instead it gives a message box saying a more recent version of Silverlight is required.
Does anyone know what the changes were between 3.0.40624 and 3.0.40818 or why the app might not be compatible?
Hi,
I would like to know if its possible to deploy java class files without restarting JBoss server. I am using jboss v4.2.2.
Also, when I try to deploy jsp files, it works fine and server picks up the changes almost instantly.
Thanks a lot in advance :)
According to MSDN installer sets ROOTDRIVE to the local drive that can be written to having the most free space. In my situation it is a slow USB drive that I use for nightly backup, but I would prefer to use my C drive for the install folder.
But somehow I can't figure out how to set this property from command line or through PowerShell. I found that it is possible, but these instructions don't make any sense
Following in the spirit of Hidden Features of Powershell and various others on StackOverflow, what Linux commands or combinations of commands do you find essential in your work?
How can I export the security member's list from a security group to an excel sheet. I've found some code on the web but I would need an UI or a software that can do this.
I'm open to Powershell tho...
Regards,
D.
I'm constructing a backup script for Windows 7, and the last action I want it to perform is to safely "remove" the USB drive that it is backing up to. I am under the impression that plugging the drive into the SAME USB port all the time will keep the same DEV_ID, correct me if I'm wrong. With a Command Line (or PowerShell), how can I tell Windows to safely remove the hardware automatically without user input?
Just as a place holder, other OSes that may have a way to do this would be great to know as well
In other words, if I have a list with entries formatted "[Artist Name] - [Track Name]" without advanced knowledge of their corresponding YouTube URLs (if any exist), how might I script things so that YouTube searches for each entry, and generates the URLs for the first n number of identical or similar entries per a YouTube query? Do any simple solutions come to mind that might lever wget, PowerShell, or Python? Thanks!
I'm trying to implement a spinner In the action bar that has brand Name above it.
With the ActionBar setListNavigationCallbacks method if possible
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
actionBar.setListNavigationCallbacks(mSpinnerAdapter, null);
Can anyone give me an Idea of how to do this?
I would put some code here but I have no idea where to begin as I have not managed to find relevant information yet.
Edit: Using V4.0
An existing DB schema has unique, non-primary, keys, and some foreign keys that rely on them.
Is it possible to define unique keys, alongside primary keys, in Entity Framework v4? How?
I have a conceptual model in EDM where one of the entities has a property which is essentially a big value object whose properties aren't really useful as columns in the datamodel. I'd like to apply the Serialized LOB pattern to it so that I can fit it into a 192 byte binary column.
How do I map this in the EDM v4? Is it even possible at this time?
Actually, is it possible in any ORM?
I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command:
New-SPContentDatabase -Name New_DB -WebApplication http://portal/
I confirmed that this did in fact create the DB in the SQL Server.
I then used the following command:
Move-SPSite http://portal/sites/hr -DestinationDatabase New_DB
This generates an error stating that the "Operation is not valid due to the current state of the object"
Can anyone help point me in the right direction with this?
Thanks
Hi
Why are old SDKs beeing removed when installing a new version of xcode with new Iphone SDK ?
Now we have v4, what settings do I have to make in order that the apps still work with 3.x ?
Thanks
I see that a JSON serializer is present in the System.Web.Script.Serialization namespace, and is shipped in the System.Web.Extensions.dll assembly.
Is this assembly distributed with the .NET framework v4.0 redistributable? Is it also guaranteed to be present on a user's machine if any edition of Visual Studio 2010 is installed?
I need to set the Network Proxy Settings to Direct Connection, for computers on our domain.
I have looked at the unattended setup configurations, as well as the deployment.properties file, and didn't see an option to set it to Direct Connection.
Are there any alternate means to set this? ex...logon script, vbscript, powershell, GPO, (would be great, but I couldn't find anything on this)
Thanks
I would like to get a text dump of the screen you see when running services.msc (except the Description column). This is so I can run a diff after installing different software that adds services to this screen.
Is this possible?
If it's helpful I have access to Powershell but don't know how to retrieve this type of information from it.
I need to add startup and shutdown scripts from a CLI through a Powershell/Python/CMD script. Ideally, I would like to have the same functionality as gpedit.msc, but it is important that the tasks of adding and removing such scripts do not require user interaction and can be done entirely within the context of a script.
Currently, the scripts here seem to be in the same category, but none of them explicitly address editing startup and shutdown scripts:
http://msdn.microsoft.com/en-us/library/aa814151(v=vs.85).aspx
Let me know if anyone has any ideas and thanks in advance.
Recently an employee deleted their entire mailbox before leaving the company and there was no litigation hold in place.
Is there any way to recover all of the deleted items, preferably via a PowerShell script? We'd need to recover all of the folders, subfolders, and online archives.
I realize we can recover emails one by one up to a point but this will take far too long to be feasible.
Thanks in advance!
Is it possible to use Entity Framework v4.0 in a .Net 3.5 application?
I mean, can i just reference the related assemblies for EF 4.0 and use it in my .Net 3.5 application?
thanks...
My input xml is in this format:
<Root>
<Name>N1</Name>
<YEAR>2010</YEAR>
<MYVALE>
<F1>V1</F1>
<V1>100</V1>
<MYVALUE>
<MYVALE>
<F1>V2</F1>
<V1>100</V1>
<MYVALUE>
<MYVALE>
<F1>V3</F1>
<V1>100</V1>
<MYVALUE>
<Name>N1</Name>
<YEAR>2011</YEAR>
<MYVALE>
<F1>V1</F1>
<V1>100</V1>
<MYVALUE>
<MYVALE>
<F1>V4</F1>
<V1>400</V1>
<MYVALUE>
</Root>
i want to group-by Name with the following child element <myvalue>. If the myvalue TAG has the same F1 TAG value then I need to group by these values.
My expected output is this:
<Root>
<Name>N1</Name>
<MYVALE>
<F1>V1</F1>
<V1>200</V1>
</MYVALUE>
<MYVALE>
<F1>V2</F1>
<V2>100</V2>
</MYVALUE>
<MYVALE>
<F1>V3</F1>
<V2>100</V2>
</MYVALUE>
<MYVALE>
<F1>V4</F1>
<V2>400</V2>
<MYVALUE>
</Root>
Windows CMD shell - any easy way of redirecting the command itself into the output? If I do net localgroup administrators %computername%-admins.txt, I'd like the output file to contain the net statement as well.
No powershell available to me; pure CMD/COMMAND only.
This is for an audit; the auditors want to see what command generated the output. I'm trying to avoid screenshots or enormous copy-paste from CMD windows.