Werbung

Herkunft

Kurzinformation

Splits up a large file containing many functions into many files with one function each

Syntax

<# .Synopsis Splits up a large file containing many functions into many files with one function each .Description Splits up a large file containing many functions into many files with one function each .Example Split-IseFile $psise.CurrentFile #> param( # The ISE file to break up into smaller files [Parameter(ValueFromPipeline=$true)] [Microsoft.PowerShell.Host.ISE.ISEFile] $File, # If set, the files will automatically be saved in the current directory. [switch] $Save ) process { Get-FunctionFromFile $file | New-IseScript | ForEach-Object { if ($Save) { $_ | Save-IseFileWithAutoName } } }

Beschreibung

Splits up a large file containing many functions into many files with one function each

Links

Liste aller Commandlets Mehr über die Windows PowerShell

Bücher zur PowerShell

Buchcover Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe) Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe)
Autoren: Dr. Holger Schwichtenberg
erschienen 2016, 996 Seiten, 49,99 €
ISBN: 3446446435
Bestellung: Amazon.de oder im Buchhandel über ISBN 3446446435

Schulungen/Seminare

Offene Seminare zur PowerShell
In-House-Seminare zur PowerShell