How do I pipeline the output of Exchange 2010\'s Get-MoveRequest command so that the Name variable can be used in the $Username variable below?
I want to use PowerShell with WebDAV (https) to download multiple files from a folder. The name from the download files is unknown. So my plan is to download all files from this folder and create a cl
Is it possible to color only certain words (not complete lines) for a powershell output using format-table.For example, this script scans a folder recursively for a string and then output the result w
I am running an EXE file from a mapped drive and supplying a few arguments while running it (it is an update/hotfix). However, the /q or silent operation switch is not honored when the EXE file is run
I have a powershell problem, and maybe someone can help me. I\'m using powershell 2.0, and i want to create, and use threads. I know that i can use jobs, but that is not what i want.
I have a class that I define in inline C# in powershell: Add-Type -TypeDefinition @\" public class SomeClass {
Would any of you possibly know why this is not working? Start-Process $PSHOME\\powershell.exe -ArgumentList \"-NoExit -Command & `\"{$outvar1 = 4+4; `\"out: $outvar1`\"}`\"\" -Wait
I have a script: $StartDay = (Get-Date).AddDays(-2) Get-EventLog -LogName application -EntryType Error, Warning -After 开发者_如何学编程$StartDay
I\'ve written a PowerShell script to call a Web Service using the new PS 2.0 commands. I would like to know how to iterate the $events result.The code works in returning data, I\'m just not sure what
So from machine X i\'m connecting to Y with Creds A as CredSSP, then i\'m passing through Cred B, and i want to start a job on machine Y with Cred B.