PowerShell is a command prompt and a scripting environment designed for automating all Windows tasks, including system administration. It is ideally suited to automating tasks and leveraging all the power of the .net libraries.

learn more… | top users | synonyms (1)

6
votes
0answers
180 views

How to unpin “Library” folder from Task Bar using Powershell?

I'm modifying the Chocolatey scripts to include Uninstall-ChocolateyPinnedTaskBarItem functionality. This works great with the following command # WORKS Uninstall-ChocolateyPinnedTaskBarItem ...
5
votes
0answers
165 views

PowerShell script returns nothing on IIS execution

I need help with a problem I've been trying to solve for a week. I have a PowerShell script that returns a list os users from Office365 environment. If I run the script from my PowerShell console ...
5
votes
0answers
343 views

Is it possible to create a shadow copy using the “Backup” context in a PowerShell script?

I am in the process of writing a PowerShell script for backing up a windows computer using rsync. To this end, I am attempting to use WMI from said script to create a non-persistent Shadow copy with ...
5
votes
0answers
771 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 ...
3
votes
0answers
46 views

Configure IPython to use powershell instead of cmd

Searched for this, and couldn't seem to find anyone who'd already asked, so here goes. I'm starting to switch over to IPython as my go-to shell on Windows 7, and I'd like to configure it so that the ...
3
votes
0answers
205 views

Using Powershell RunspacePool multithreaded to remote server from C#

I am trying to create some C# code using a Powershell RunspacePool to a remote server. All is working well when maxRunspaces is set to 1, but setting it to 2 gives troubles. var connectionInfo = new ...
3
votes
0answers
68 views

How do I launch an application on WindowsRT(the restricted version of Windows 8 for ARM tablets) using PowerShell?

I am working on an automation system and I need to launch the appx applications using a script, PowerShell or otherwise without human intervention(clicking or touching). Is there any way possible for ...
3
votes
0answers
129 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
503 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 ...
3
votes
0answers
279 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
726 views

powershell remoting Win2008R2 “The WSMan service could not launch a host process to process the given request”

I've recently upgraded a number of servers from 2003 to 2008R2. Since the upgrade I've started to see the following error: [servername] Connecting to remote server failed with the following error ...
3
votes
0answers
3k views

Powershell ftp upload error 530 not logged in

I am struggling to get a PowerShell script to work. I am very new to PowerShell so could be missing something stupid. $sourceuri = "ftp://ftp.mysite.com/myfolder/myfile.xml" $username = "user" ...
2
votes
0answers
98 views

PowerShell remoting from a Windows service

I have a Windows service that regulary runs a PowerShell script on a remote computer via WsManConnectionInfo/RunspaceFactory (following the steps from this article: Remotely Executing Commands in ...
2
votes
0answers
517 views

Best way to add, deploy and remove the solutions in Sharepoint 2013 Environment?

We have a plugin, on installation of this plugin, we have an "exe" which will add and deploy the solution(.wsp files) in central configuration site. On Un - installation of the plugin, the exe will ...
2
votes
0answers
41 views

Can licensed components be used from PowerShell?

Assuming you have a component that implements Microsoft's licensing model, for instance, the licence is created using lc.exe and embedded in the assembly, can this component be licensed to work with ...

15 30 50 per page