About 7,140 results
Open links in new tab
  1. POWERSHELL WRITE TO FLAT FILE - social.technet.microsoft.com

    You are trying to beformal but your terminology is not supported by POwerShell. You ae using a sort of pseudo-language that seems to be a mix of Unix shell and C with a smattering of text processing.

  2. Write output to file and console; - social.technet.microsoft.com

    Answers 1 Sign in to vote 2 things: To get the server names to save correctly, and to save to file and print to the screen at the same time:

  3. 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 …

  4. Powershell: Accepting pipeline input from multiple sources

    I'm writing a script that will take a list of server names and return the list of pending Windows updates. I'd like the script to accept input from Get-ADComputer, Get-Content (of a text file with server names), …

  5. Embed VBA (Excel macro) in Powershell script

    I wrote a Powershell script that queries all of my groups from Exchange Online, then gets membership for each of those groups and saves each group to a separate CSV file.

  6. 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 …

  7. Move Folder with Audit and ACL Powershell VS XCOPY

    Huge script to backup ownership, disable, move file and restore with powershell. but how? Use XCOPY through powershell (for move file)? Use ROBOCOPY through powershell ?:)

  8. Error in Powershell with foreach loop - social.technet.microsoft.com

    Get-WmiObject : Cannot validate argument on parameter 'ComputerName'. The argument is null or empty. Supply an argument th

  9. Remove specif rows in a CSV with Powershell

    I'd test the users in your input file and then create a new output file that only contains the enabled users. Are you able to use a second file or do you have to update the original?

  10. Using Powershell To Set SMB Share permissions For a Specific File Type

    Is it possible to use Powershell to set access permissions for a specific file type within an existing shared folder on a server (server 2008 R2)?