To interact with excel in Powershell it is common to start a new excel as follows: $x = New-Object -comobject Excel.Application
I have log files that look like this... 2009-12-18T08:25:22.983Z1174 dns:0-apr-credit-cards-uk.pedez.co.uk P http://0-apr-credit-cards-uk.pedez.co.uk/ text/dns #170 20091218082522021+89 sha1:AIDBQOKO
I\'m trying to generate scripts from a database, but with slight modifications to those objects. For example, I want to generate the script for a stored procedure, but I want the script to create it u
I thought I had an answer to this, but the more I play with it, the more I see it as a design flaw of Powershell.
get-wmiobject -query \"Select TotalPhysicalMemory from Win32_LogicalMemoryConfiguration\" -computer COMPUTERNAME >>output.csv
I want to find a piece of text in a large xml file and want to replace with some other text. The size of the file is around (50GB). I want to do this in command line. I am looking at PowerShell and wa
I\'ve been hunting for a clean way to uninstall an MSOffice security update on a large number of workstations.I\'ve found some awkward solutions, but nothing as clean or general like using PowerShell
(Sorry for strange title, haven\'t come up with anything better..) Background I use nunit-console to test my assemblies. It is called like this (simplified):
I\'m running PowerShell 2.0 on Windows XP SP3 and I execute: PS> ps firefox And it returns: HandlesNPM(K)PM(K)WS(K) VM(M)CPU(s)Id ProcessName
Is there a way to leverage the functionalit开发者_StackOverflowy of .NET\'s XmlSerializer class in PowerShell?