Ir a contenido


MENSAJE DE BIENVENIDA Foro vínculado con Twitter, más info aquí.

“El secreto para progresar es empezar por algún lugar. El secreto para empezar por algún lugar es fragmentar tus complejas y abrumadoras tareas de tal manera que queden convertidas en pequeñas tareas que puedas realizar y entonces simplemente comenzar por la primera.” - Mark Twain

Foto

Script Powershell para Unificar Lineas de varios Archivos de una Carpeta


  • Please log in to reply
No replies to this topic

#1 Alberto Dominguez

Alberto Dominguez

    Gurú

  • Administradores
  • 1.059 Mensajes:
  • LocationMadrid

Escrito 17 marzo 2014 - 15:17

$directorio="C:\temp\"
$cadenaBuscada="TextoBuscado"
$ficheroSalida=$directorio+"resultado.txt"

function procesaLinea($linea,$cadenaBuscada){
   
   $aux=$linea.SubString($linea.IndexOf($cadenaBuscada)+$cadenaBuscada.Length,$linea.LastIndexOf(":")-$linea.IndexOf($cadenaBuscada)-$cadenaBuscada.Length)
   return $aux 
}


$resultado=@()
foreach( $fichero in Get-ChildItem $directorio )
{
    $lineasArchivo=@()
    $dataFile = Get-Content $fichero.FullName
    write-host ('Numero de Objetos de Referencia: '+$dataFile.count)
    foreach ($linea in $dataFile)
    {
       if ($linea.contains($cadenaBuscada))
       {

         $aux = procesaLinea $linea $cadenaBuscada
         if ($lineasArchivo -NotContains $aux )
         {
             $lineasArchivo += $aux
             $aux2=$aux+";"+$fichero
             $resultado += $aux2
             write-host ($aux2)
         }
       }
    }
    
}

$resultado | Out-file $ficheroSalida

Saludos,

Alberto Dominguez

Enterprise Architect y Trainer
MCT, MCPD, MCITP, MCITP Dynamics, MCSE, MCSA, MCTS, MCP...
ITIL V3 Foundation Qualification in IT Service Management
Imagen enviadaPerfil Profesional Imagen enviadaTwitter
Imagen enviadaImagen enviadaImagen enviadaImagen enviada

#2 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 08 julio 2017 - 11:46

Read More

DC Super Hero Girls: Super Hero High
Punjabi Aankhon Wali 49 Mp3
Ant Man (Hindi)
Supernatural


Download

The Dead Zone
Believe 15



RagnarokAct

Google +
Baywatch Los vigilantes de la playa (2017) en linea gratis en movie2k
Juuni Kokki: The Twelve Kingdoms
Katrin Sass


Adobe Acrobat XI Pro 11.0.20 Multilingual.Crack [Isohunt.to]

Ponyo – Uma Amizade que Veio do Mar
Immer Arger mit Newton
descargar pelicula Victor frankenstein castellano
Wedding Peach
Download


PatternMaker

Symphony feat Zara Larsson Single
Sikwa Nahi Kisi Sy Mp3
Denis Villeneuve
Arabic Suspicious Partner Episode E11
Insecure 8


#3 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 08 julio 2017 - 14:39

Episode 2Last Ex To Brooklyn (28 links) 02-10-2003

Emoji La pelicula (2017) en linea gratis en movie2k
Facebook
How I Met Your Mother
4.5
HD Lovely Still


Disclaimer

Faking It 2014 39
Stella no Mahou
Chips (2017)
A Series of Unfortunate Events S01E06 - The Wide Window: Part Two



Frederick Preston

C: The Money of Soul and Possibility Control
NCIS Los Angeles HDTV
Season 2 Episode 1
Lista Audio, Video e Foto
Prison Break S05E05 HDTV x264 KILLERS rarbg


Hong Kong

JoomlaPraise
1990 HD Hardware- Metallo Letale (1990)
Мартин Старр


- Doctors S19E13 PROPER 720p WEB h264-WEBTUBE

Watch The Comedian 1080p HDRip Torrent gratuity
Ultima »
Preservation (2014) English Full Movie Watch Online Watch Preservation 2014 English Online DVDRip Free Full Movie Download Now Preservation is a 2014 horror thriller film that was directed by Christopher Denham. It had its world premiere on April 17, 2014 at the Tribeca Film Festival and stars Wrenn Schmidt as a woman trapped in a forest preserve, stalked by maniacs Preservation Full Movie Free Watch Online Movie: Preservation 2015 Directed by: Christopher Denham Written ...
ver A Ghost Story (2017) pelicula completa
Havenhurst (2017) Watch Full Movie Online Free


#4 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 08 julio 2017 - 14:41

Read More Easy Disk Catalog Maker 1.2.6.0 Serial Key + Crack Full Free Download

Mikakunin de Shinkoukei
Alcaldesa 2016 filme complete com Alcaldesaas en espanol
Drum'n'Bass, Jungle, Breaks, Breakbeat, Dubstep (транзит Lossy)
Deep Trap / Ham-jeong (2015)
Danger 5


Documentaries

The Blacklist
Westworld Temporada 1 720p Dual Latino Mega
The Odd Couple (2015)
Golden Girls
Jamie TZombie



Magere Zeiten - Der Film mit dem Schwein (1984)

Joey Fatone
mkv
Pogledaj ovo


I-Lived (2015)

Highlander
mkv
Mal de Pierres streaming
HDRip 2015 Expedition Unknown · 2015


Poker After Dark

(2017) WEB-DLRip от ivandubskoj
Giggle and Hoot's (season 1)
Age of Empires: Definitive Edition


#5 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 08 julio 2017 - 14:49

- American Pickers S02E07 720p HEVC x265-MeGusta

The Great Food Truck Race
The Last Kingdom HDTV 720p AC3 5.1
Zimbabve
Download
High Score


Artes Marciales

THE DEVIL LIVES HERE
Geschichten aus der Gruft (1989)
The Jungle Book
La guerra de Hart
Reklamni prostor



LSAT Secrets Study Guide: LSAT Exam Review for the Law School Admission Test

Scooby-Doo auf hei?er Spur
Frauen, Flieger, Freiheit Sweet Taste of Liberty
Ocho apellidos catalanes


Foo Fighters

Jade Ewen
Download
Date A Live
Openload.co


Unser bester Mann 1983 German DVD5 - iND

Trojanska-Koch Edyta
- Heavy Metal


#6 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 08 julio 2017 - 14:56

FL Studio

The Weeknd - Secrets
The Leftovers HDTV
Capitan Cavernicola
2001 год: Космическая одиссея / 2001: A Space Odyssey (1968) HDRip от Scarabey | P
Download


jack333 1033 Hernan Cattaneo sequential DreamerMix cd1 cd2 2017 [Isohunt.to]

The Son 1. evad 9. resz feliratos online epizod
Download
What are you listening to right now? V7
The Tonight Show Starring Jimmy Fallon Season 4 Episode 94 s04e94
Destino Final 4



- Grey Lady 2017 HDRip XviD AC3-EVO

Smallville
Katastroficzne
Download


Madam Secretary Serie TV Streaming Download

Nobunaga the Fool
Dark Matter S02E02 720p HDTV x264 SVA rarbg


Capitulo 2×03

meet the feebles knigdom
Pay The Ghost STREAMING ITA (2016)


#7 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 08 julio 2017 - 15:07

Tech N9ne Collabos - Dominion (Deluxe) (2017) [Mp3~320Kbps] [Isohunt.to]

Doggyblog S01 - S02 (+ divers Eps S03)
BAIXAR FILME
Der Konigsweg The Kingsroad
Kung Fu Yoga (2017)
2015 Filmleri izle


PhoneView for Mac [Isohunt.to]

Torrent PETER Y EL DRAGON espanol
Das verschwundene Zimmer
Strange+
HD Hue and Cry



Скачать MP3

Sexy Songs Mp3
Tropix (2004)
Arthur zachrani Vianoce (2011)


http://onkaraescort....ry/accel-world'>Accel World

Music Pause Flyer PSD V2 Template + Facebook Cover
8.8 The Simpsons
12 серия - The Killer Robot Instability
White Album
The Exorcist


BitLord.com

Safe and Sound
Bunyan and Babe
After Effects965 +8
Dickensian
malwarebytes anti-malware premium download


#8 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 09 julio 2017 - 09:21

13-06-2017, 20:20

Dunkerque (2017) 720p Telecharger french download
Hellsing


Adriana Chechik - The Dinner Party, XXX, MPEG4(Xvid), C2x, HD 1080p, 0,5 FPS [Real Wife Stories - Brazzers] (January 04, 2017).avi [Isohunt.to]

Snatch 1. Sezon 9 .Bolum
Green Card totul despre ...
Movshare
Yabanc? Dizi Fragman
February



0 comentГЎrios

goldorak
Sex Test
2016
Download


Full Audio Song Ram Name Gangajaal Online Assamese Song Mp3

Season 1 Episode 13 Can't Fix Crazy
Watching
Season 6 Episode 7 The Late Philip J. Fry


Season 1 Episode 5 - Gladys

Ezra (2017)
las peladitas abancay
The White Princess Season 1 Episode 6


#9 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 09 julio 2017 - 09:29

Streamango

Download
Dead Like Me - So gut wie tot
Channel-X


WeiГџt du eigentlich, wie lieb ich dich hab?

Modus HDTV 720p AC3 5.1
Episode 1 :  Pilot (VOSTFR) (VF) :
Juego De Asesinos BLuRayRip



vostavshie_[tfile ru] avi

Hz. Muhammed Allah’?n Elcisi izle 2016 full hd turkce dublaj
American Dad
Comentarios
Les figures de l'ombre (2016) MULTi (VFF-VFQ-VO) [...(A)
The Client List


This Beautiful Fantastic (Pelicula)

5 de junho de 2017
Exploitation
Roger Joseph Manning Jr.
9x01  The Home free
Download


7177UmaFuckMeHarder

2x21  Fin Del Camino 2x20  Panama 2x19  Sweet Caroline 2x18  Wash 2x17  Bad Blood 2x16  Chicago 2x15  The Message 2x14  John Doe 2x13  The Killing Box 2x12  Disconnect 2x11  Bolshoi Booze 2x10  Rendezvous 2x09  Unearthed 2x08  Dead Fall 2x07  Buried 2x06  Subdivision 2x05  Map 1213 2x04  First Down 2x03  Scan free 2x02  Otis free 2x01  Manhunt free
Engel in Amerika
Corleone
Pretty Little Liars
Active File Recovery Ultimate Corporate 15.0.7


#10 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 09 julio 2017 - 09:34

Similiar

Season 3 Episode 6 TBA
Прочие карты (астрономические, исторические, тематические и пр.)
Season 3 Episode 5 Kids: Yum!
The Dominican Republic, Part Two
Музыкальное видео


Babylon 5 - Crusade

Vatos Vatos
The Get Down
2017 5.6 Meri Pyaari Bindu 2017 DVDRIP 480P 424MB - by bliztcinema - 0 - In Drama India India Romance
To Aru Majutsu no Index
beersmith



Once Comida Chile-TVN

pelisplus.tv
Her 2013 1080p BluRay x264-SPARKS


All Popular TV Shows Torrents

the flash
2x7 temporada x episodios True Detective
view all
Rosewood
Transformers: Age of Extinction (2014)


watch on Vidzi.tv

Really Really Like You
extratorrents.cx
Captain Fantastic DOWNLOAD ITA – 1080p BluRay (2016)


#11 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 09 julio 2017 - 09:44

08:43 watch on Streamcloud

Ridley Scott
Von Lark Rise nach Candleford
Ryan Hamilton


DIRECT DOWNLOAD LINKS

road dorado
Image-Line Fruity Loops Studio Edition 10 0 0 @vAin4us
1080p hin



Pure-BBW 17 03 30 Jessica Lust Fucks Her Favorite Trick XXX 1080p MP4-YAPG[ra...

Absolute Duo
Wait On Me Mp3


ReadyOrNotHereICum 17 06 27 Canela Skin And Susy Gala XXX SD MP4-RARBG

Dos colgaos muy fumaos (2004) - Ingles subtitulada
Plastic Little (Movie)


Reign saison 2 Г©pisode 19

Box Set Fishy Business
Virtually Famous 1


#12 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 09 julio 2017 - 11:51

Blackmail 720p BluRay x264

Broken Trail
Nurarihyon no Mago


reloj de Kevin Hart: What Now? (2016) WEBRip en lГ­nea

Assistir ? Episodio 06
Frozen Drift Race Full Indir – Turbobit – Mega
TheVideo
Season 1 Episode 10 Episode 10
Das Leben und Riley



RurouniPancho

The 4 Of Us - Drag My Bad Name Down free download The 4 Of Us - Drag My Bad Name Down
Raat Aae Wae Tu Na Aay Mp3
Mercenaire streaming


http://barkboxad.us/...ros-do-zodiaco'>Cavaleiros do Zodiaco

Deadpool: No Good Deed2017 DVD
Охота на дьявола (1 сезон)
Enlightened 6
100 Sokak 100 Streets 2016 Turkce Dublaj HD izle
Colin Hanks


http://utmostdir.com...imon-xros-wars'>Digimon Xros Wars

Trapped – Gefangen in Island
Young Chris Married To The Game Freestyle
Drone film gratuit film Drone realiser par Ian Birkett , Paul A. Birkett,... et presenter par Sean Bean , Mary McCormack ,... déologies se heurtent aux résultats fatals quand un entrepreneur de drone militaire rencontre un énigmatique homme d’affaires pakistanais.


#13 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 10 julio 2017 - 02:00

Pedro Pascal

The Voice (France) S06 E14
Butch Cassidy
The Messengers
Fast And Furious 8 (BRScreener)(Castellano)(2017)


Download

Colossal (2017) (Pelicula de Ciencia-Ficcion)
Actualizadas



Dragon Ball GT

svqq.net Link Protect
1066 – Kiralyok haboruja 1066 - Kiralyok haboruja:1066-ban Anglia mindorokre megvaltozott. Filmunk ennek az evnek az esemenyeit, a megszallas, ellenallas es haboru hullamvasutszeruen valtakozo eposzi kalandjat mutatja be a hetkoznapi emberek es a haborus zurzavarban hanyodo csaladjuk nezopontjabol. Ket fiatalember, Tofi es Leofric csatlakozik Harold kiraly hadahoz, amely a Stamford Bridge-i csataban megfutamitja a hatalmas viking sereget. De meg mielott kipihenhetnek magukat, hiret veszik, ...


Can't Touch Us Now (2016)

Tum Aise Hi Rehna
Dule El Amor Mp3
Black Road


view all

La Leyenda del Chupacabras
R.L. Stine's The Haunting Hour
Feuer und Flamme
Brockmire
Ben 10 Omniverse


#14 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 10 julio 2017 - 21:02

Laura2016

Read More...
Supergirl
LiSA - Owaranai Bouken
Kay?t Ol


Charlie Puth

JackDaniel
Blindspot
yabanci remix muzik
japanese mertua perkosa menantu 3gp
Lil Wayne Sued By Bouncer for Assault, Hate Crime



Mat Hoffman’s Pro BMX 2 (PS2) 2002

The Simpsons Season 21
The Chicago Code
77 Sunset Strip
Образование и развитие детей


[мѓЃмЃм¤‘] 불륜가족 Affair.family.2017.…

Nabari no Ou
Die Schwarzwaldklinik
Hot Property2016
the last word
What We Become 2015


Sami Parker , Johnny Castle - Sami Parker's Boyfriend Thinks She's..., XXX, MPEG4(Xvid), C2x, HD 1080p, 0,5 FPS [My Friend's Hot Girl] (Jan 4, 2017).avi [Isohunt.to]

Hum Sitaray Live
Jean Dujardin
mkv
.hack//Sign


#15 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 14 julio 2017 - 11:24

Working with Speedlites: Multiple Flash Photography

Les Profs 2 2015 ????? ?????
Contactanos


IObit Malware Fighter Pro 4.5.0.3457 Multilingual+Activat [Isohunt.to]

MacGyver
Cara a cara



п»Јпєґп» пєґп»ћ - Щ‡Ш±ШЁШ§Щ†Ш© Щ…Щ†Щ‡Ш§ - 2017

Indar Dzhendubaev
IU(???) _ (Feat. G-DRAGON)


Into thin air a personal account of the Mount Everest disaster Jon Krakauer.

The Founder (Osnivac) 2016
Jericho 2016 7
Veronica Mars
MindGamers


Kurt Russell

Assassins Creed Unity
Star Wars Rebels
Rob Halford
Responder


#16 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 17 julio 2017 - 18:58

I Am Bolt (2016)

Staring at the season 03 episode 08
Finding Dory Torrent 2016 Movie Hd 1080 Download Hdrip Full Movie
Mystery Queen


BugГјnkГј Yorumlar

Clamp School Detectives
First Miracle DIAID II – L.U.B
So Into U Tamia Mp3
Constantine



Dokumentarci

Lemonade
OpenLoadHD


Voir 13 Reasons Why Saison 1 Episode 10 (s01e10)

mkv
Shingeki No Kyojin


Animation

Read more...
Fear the Walking Dead S03E03 HDTV x264 SVA
Season 3 Episode 5 Super Fupa


#17 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 18 julio 2017 - 00:45

Richard E. Grant

Share on Digg Share
Thai Teens are the best rar
Najave / Uskoro
The Mick (2017) 1x1 sub


DNS Jumper 2.1

Honky Tonk
Path of Exile Bot Exiled-Bot v0 70f
Manchester a Beira-Mar Legendado



Zack Snyder

Barry Levinson
Japanese Suspicious.Partner.E07-E08.170518.720p-540p-450p-XViD-WITH-iPOP-BarosG-LIMO-NEXT-CHAOSrel


Sherlock Episode Special The Abominable Bride VOSTFR HDTV

Z Nation Season 3 (2016) - Episode 14
Los Pitufos en la aldea perdida (2017) Smurfs: The Lost Village
SILKYPIX Developer Studio Pro 8.0.5.0 MacOSX
Marvin The Tap Dancing Horse
военные


Coming Soon

W.C. Trika
15:20 watch on Vidto.me
AGATHA RAISIN
Manuel Le Saux





0 usuarios están leyendo este tema

0 miembro/s, 0 invitado/s, 0 usuario/s anónimo/s