PowerShell is a command prompt and a scripting environment designed for Windows system administration.

learn more… | top users | synonyms (1)

3
votes
0answers
50 views

How to display msbuild errors on the overview page from TeamCity

I want to use PowerShell with Psake and TeamCity to configure my CI. I used to standard Msbuild runner but now I wrote my own script for building solution but I have problem when msbuild failed. ...
3
votes
0answers
267 views

Update Windows Azure Endpoint with load balancer probe settings

I am trying to update the probe settings for a load balanced endpoint in windows azure but facing "Update-AzureVM : Failed: The server encountered an internal error. Please retry the request." ...
3
votes
0answers
207 views

How to correctly retrieve SVN-Info from relative URI in SVN-external using SharpSvn

I have a Powershell Cmdlet, which creates SVN-Branches from the trunk via SharpSvn. The repository contains externals with and without revision/pegRevision explicitly set. In the branch, all externals ...
3
votes
0answers
306 views

STDIN and Powershell - How do I make the encoding match?

I have a problem with Ruby (1.9.3) and Powershell. I need to write an interactive console app which will deal with sentences in the Polish language. I've been helped out and can retrieve ARGV ...
2
votes
0answers
100 views

How do I use PowerShell within a batch file FOR command?

I'm trying to generate a date string for an LDAP query compatible with the Active Directory whenChanged field. I'm pulling AD data into CSV using CSVDE and need an LDAP query that will filter the ...
2
votes
0answers
86 views

Script stops on specific command without go into catch block

I have a powershell script with PowerCLI commands to install and configure virtual machines. These are the settings in the environment Windows Server 2008 R2 ESX 4.1 PowerShell v2 PowerCLI 5.1 ...
2
votes
0answers
154 views

Running Powershell script via Runspace from C# is very slow

When executing a particular script from Powershell command window, the execution takes about 2 minutes. Executing the same script from C# (Windows Service) using System.Management.Automation.Runspaces ...
2
votes
0answers
149 views

Can't Uninstall Sharepoint Application - Invalid State

Our Sharepoint 2013 Application failed to install and is stuck in a odd state. I followed the recommended approach for deleting the application using powershell commands on the hosted Sharepoint ...
2
votes
0answers
249 views

Powershell windows 7 change background

This has been asked before here in a different form ( Powershell - Change windows 7 background to image off a website ) but I am still running into a bit of trouble here I have a variable in windows ...
2
votes
0answers
343 views

SQL Azure and Powershell for DACPAC deploy

I am deploying a dacpac built on visual studio 2012 to SQL Azure using powershell and running into issues which I think could be related to some version incompatiblity. The publish works fine when I ...
2
votes
0answers
594 views

Install-SPUserSolution: Sandboxed code execution request failed

When executing Install-SPUserSolution powershell command the following error is shown: Install-SPUserSolution : Sandboxed code execution request failed. At line:1 char:23 + ...
2
votes
0answers
64 views

Why/How is ManagedPipelineMode a different type when Getting vs Setting?

While trying to write some scripts to manage our IIS sites, I came across some strange behaviour with the ManagedPipelineMode in IIS. My code is fairly generic, and uses Get-ItemProperty to read the ...
2
votes
0answers
353 views

MSDeploy setParamFile is not recognizing parameters

I'm trying to use MSDeploy with the parameter settings file option so I can build once and deploy to multiple environments by overriding the parameters with different files. From PowerShell I'm ...
2
votes
0answers
454 views

Scaffolding Get-ProjectType not recognized as the name of a cmdlet

just tried to get the basic basics up and running and getting some fancy error conditions - most probably some basic steps are screwed up but I don't see the point - so some hints are highly ...
2
votes
0answers
174 views

Is it possible to share properties and comments between Powershell cmdlets in c#?

When exposing a set of related functions in Powershell cmdlets, is it possible to share the property names and summary help to normalize these across cmdlets in an assembly? I know that this can be ...

1 2 3 4 5 120
15 30 50 per page