About 7,180 results
Open links in new tab
  1. Redirect output to file from remote session

    The file in your FilePath for Invoke-Command is a script file that will be run on the remote machine. It is not an output file. You must write results to file within the script, or run it like this: invoke-command …

  2. Powershell and Scripting the Font Size - social.technet.microsoft.com

    I'm using powershell for my scripting and the out-file cmdlet. I'm wondering if there's a way to set the font size via script code for this particular file that is generated, even if I have to mess around with registry …

  3. Encoding to Windows-1252 (CP-1252) - social.technet.microsoft.com

    is there any way to import large file (*.txt file, size around 2-20MB) with input encoding CP-1252 (Windows-1252) and out-file it with the same encoding? The command out-file -encoding doesnt …

  4. Powershell Script in Task Scheduler Throws Incorrect Function Error ...

    Aug 21, 2012 · Log redirection should be done into your script by using "out-file" command line.

  5. PowerShell for Check-Out/In and AssemblyInfo Versioning During TFS …

    Jun 5, 2015 · So, I would like to combine the above with the AssemblyInfo versioning script to achieve Check-out, and edit of AssemblyInfo files recursively as part of a pre-build script. I hope that creating …

  6. PowerShell Output to Excel - social.technet.microsoft.com

    I currently have a PowerShell script that I'm developing for my university's IT department. We're having issues with certain students and computers taking an extremely long time to log in, so we're …

  7. Invoke-Command script block not executing

    When I run them directly in the PowerShell command prompt they run fine and they create the reg key as expected. But they are not running from my script. Here is the output I’m seeing now: PS …

  8. Find where specific certificate is in use?

    What to do with them -- it depends on CA Version extension value in both certs. Vadims Podāns, aka PowerShell CryptoGuy My weblog: www.sysadmins.lv PowerShell PKI Module: pspki.codeplex.com …

  9. Powershell and DB2 - social.technet.microsoft.com

    I then need to hop over to another server and would like to run another Powershell/DB2 script that basically reads the .CSV file with list of customers and executes against another table on current …

  10. Push json string into arraylist convert json element into string ...

    Mar 27, 2019 · First you need to learn basic PowerShell then take the time to learn what Json is. First we would tart by building a hash an adding the values to it. If that array of hashes is a named elemnt …