About 50 results
Open links in new tab
  1. Powershell and Search in Excel file, get a row values

    From Powershell, How can i search a specific value (using $args) in a Excel File (servers.xls) and output the row in Powershell window.

  2. Powershell script to read coulumn 2 data from .csv file

    You cannot use %path% variables in PowerSHell. We use Import-CSV to load a CSV file.

  3. Sending the output of a PowerShell script via email

    Feb 9, 2012 · Hi everyone, there's a few threads here around this topic but I'm still having problems getting my head around having PowerShell send an email. The Send-MailMessage command makes …

  4. Output all DHCP reservations to file with PowerShell

    Jun 24, 2014 · Uses powershell to gather all scope on the server For each scope returns all leases with an address state of either inactive or active reservation, this prunes regular DHCP leases …

  5. SQLPLUS from Powershell - social.technet.microsoft.com

    Jul 1, 2015 · I have a piece of sql code which I am running from powershell. The output is the count. If the count is greater than 10, I need to execute a command. Is there a way, I can modify my script so …

  6. Delete MissingSetupFile questions - social.technet.microsoft.com

    Add-PSSnapin : Cannot add Windows PowerShell snap-in Microsoft.SharePoint.PowerShell because it is already added. Verify the name of the sn ap-in and try again.

  7. Get specific line from CSV file - social.technet.microsoft.com

    Jan 30, 2012 · I need to get a specific line from the csv file where FIleName column has specific value something like get the line where filename = "C:\Test\File1.txt"

  8. Powershell Export is not displaying records in CSV export file

    Nov 13, 2018 · Any suggestions are highly appreciated. The Write-Host list the formatted data on the screen but the csv is not showing any data or sometimes is just disaplying column title as "length" …

  9. VBScript to get local user account information and export to csv file

    What I meant before is that you can redirect the output from the PowerShell script to a text file when you run it at a PowerShell prompt. For example, if the PowerShell script is saved in the file LocalUsers.ps1:

  10. I am trying to modify an INI File.... Please help

    Here is my powershell script I am trying to get to work. So far I can import the ini into a hash table and I can change the values in the hash table. What I can not do is rewrite the hash table to update the ini …