Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Get-content remote machine multiple drives

    I am going to be getting data from a file on multiple remote machines. Each machine has about 8 to 12 drives some of those drives being mount points with a variety of names The file is on each of those drives and has the same name but the content of the file on each drive is unique which is why I need...
    Posted to General (Forum) by dmc2084 on 04-28-2009
    Filed under: PowerShell, Get-Content, power shell, Remote host, logical disk, get-childitem, volume
  • Re: Get-content remote machine multiple drives

    This is what you need: a file called "hostlist.txt" located in your home folder $home with each server per line for each server in hostlist.txt, a separate file with the local file paths for that server, called like the server plus extension ".txt", again located in the folder $home...
    Posted to General (Forum) by Tobias Weltner on 04-30-2009
    Filed under: Get-Content, Qualifier, UNC
  • Get-Content from file, in Chucks of 3 out to xml.

    hello I have a problem I have a file that generates a long list of data, every 3 lines is 1 chunk og data e.g 1..3 line = data chunk 1 4..6 line = data chunk 2 ... .. . 51..54 line data chunk x ect….. I run a do until but I cant get it to work proberly $XmpPrep = @( Get-Content C:\pstmp\RAW\xmlprep...
    Posted to General (Forum) by Emort on 09-16-2011
    Filed under: XML, Get-Content, do until
  • Renameing multiple files using Get-Content

    I am attempting to rename 1000+ files with the first line of the file being renamed. I have never used PowerShell before but I have figured out how to do this to one file at a time with the following code: Rename-Item -Path "C:\Users\SFranz...ens Notes\text\text1188.txt" -NewName (Get-Content...
    Posted to General (Forum) by simoniam on 01-15-2012
    Filed under: Files, Rename, Get-Content, Rename-Item
  • Ezine 183 PowerShell's get-Content

    By Guy Thomas The ability to 'Get-Content' is useful in itself; moreover it shows how easily PowerShell deals with reading from text files. Read More
    Posted to General (Forum) by ps2 on 03-29-2009
    Filed under: Get-Content
  • Using Foreach Cmdlet to launch powershell ps1 on list.txt

    Created my first Pshell script (.ps1) that has got a single parameter as server name, now I'd like to launch that ps1 for list of servers! Need push here please...how to do execute this task? Barry
    Posted to General (Forum) by Barry on 04-23-2009
    Filed under: ScriptControl, Get-Content
  • Event Viewer PowerShell Fun

    Around a month ago I was trying to convince a friend to start using Powershell, “I'm too busy to start learning anything new” he said. ... Read More
    Posted to General (Forum) by ps2 on 06-13-2009
    Filed under: Get-Content, Event Viewer
Page 1 of 1 (7 items)
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.