PSGetModuleInfo.xml
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
<Obj RefId="0"> <TN RefId="0"> <T>Microsoft.PowerShell.Commands.PSRepositoryItemInfo</T> <T>System.Management.Automation.PSCustomObject</T> <T>System.Object</T> </TN> <MS> <S N="Name">WriteToLogs</S> <Version N="Version">1.0.10</Version> <S N="Type">Module</S> <S N="Description">A collection of fuctions to simplify logging output in a variety of formats, which includes: _x000D__x000A_a) Logging simultaneously to the console and a specified log file; _x000D__x000A_b) Logging to the console and a log file with a time-stamp index at each line; _x000D__x000A_c) Logging to the console and file with a numeric index at each line;_x000D__x000A_d) Logging output to only the specified log file._x000D__x000A_The Write-ToConsoleAndLog function displays the specified content on both the PowerShell console and an included log file._x000D__x000A_The Write-WithTime function displays the specified output on both the PowerShell console and an included log file, with a time index at each line of output._x000D__x000A_The Write-WithIndex function displays the specified content on both the PowerShell console and an included log file, with a sequential numeric index at each line of output._x000D__x000A_A typical scenario in which this can be used would be to iterate through a set of checks for a QA script which validates the correct settings for a configuration._x000D__x000A_The Write-ToLogOnly function writes the specified content only to the inlcuded file._x000D__x000A_The function here is similar to using the native ...| Out-File -FilePath <path> syntax</S> <S N="Author">Preston K. Parsard</S> <S N="CompanyName">pkparsard</S> <S N="Copyright">(c) 2015 Preston K. Parsard. All rights reserved.</S> <DT N="PublishedDate">2016-04-14T19:44:19-04:00</DT> <URI N="LicenseUri">https://mitlicense.org/</URI> <Nil N="ProjectUri" /> <Nil N="IconUri" /> <Obj N="Tags" RefId="1"> <TN RefId="1"> <T>System.Object[]</T> <T>System.Array</T> <T>System.Object</T> </TN> <LST> <S>Write</S> <S>Logs</S> <S>AzureAutomationNotSupported</S> <S>PSModule</S> </LST> </Obj> <Obj N="Includes" RefId="2"> <TN RefId="2"> <T>System.Collections.Hashtable</T> <T>System.Object</T> </TN> <DCT> <En> <S N="Key">Function</S> <Obj N="Value" RefId="3"> <TNRef RefId="1" /> <LST> <S>Write-ToConsoleAndLog,Write-WithTime,Write-WithIndex,Write-ToLogOnly</S> </LST> </Obj> </En> <En> <S N="Key">DscResource</S> <Obj N="Value" RefId="4"> <TNRef RefId="1" /> <LST /> </Obj> </En> <En> <S N="Key">Cmdlet</S> <Obj N="Value" RefId="5"> <TNRef RefId="1" /> <LST /> </Obj> </En> <En> <S N="Key">Workflow</S> <Obj N="Value" RefId="6"> <TNRef RefId="1" /> <LST /> </Obj> </En> <En> <S N="Key">Command</S> <Obj N="Value" RefId="7"> <TNRef RefId="1" /> <LST> <S>Write-ToConsoleAndLog,Write-WithTime,Write-WithIndex,Write-ToLogOnly</S> </LST> </Obj> </En> </DCT> </Obj> <Nil N="PowerShellGetFormatVersion" /> <S N="ReleaseNotes">Re-added [Export-ModuleMember -Function Write-ToConsoleAndLog, Write-WithTime, Write-WithIndex, Write-ToLogOnly] in module. Also added these functions to FunctionsToExport list in manifest</S> <Obj N="Dependencies" RefId="8"> <TNRef RefId="1" /> <LST /> </Obj> <S N="RepositorySourceLocation">https://www.powershellgallery.com/api/v2/</S> <S N="Repository">PSGallery</S> <S N="PackageManagementProvider">NuGet</S> <Obj N="AdditionalMetadata" RefId="9"> <TNRef RefId="2" /> <DCT> <En> <S N="Key">releaseNotes</S> <S N="Value">Re-added [Export-ModuleMember -Function Write-ToConsoleAndLog, Write-WithTime, Write-WithIndex, Write-ToLogOnly] in module. Also added these functions to FunctionsToExport list in manifest</S> </En> <En> <S N="Key">versionDownloadCount</S> <S N="Value">0</S> </En> <En> <S N="Key">ItemType</S> <S N="Value">Module</S> </En> <En> <S N="Key">copyright</S> <S N="Value">(c) 2015 Preston K. Parsard. All rights reserved.</S> </En> <En> <S N="Key">CompanyName</S> <S N="Value">Unknown</S> </En> <En> <S N="Key">tags</S> <S N="Value">Write Logs AzureAutomationNotSupported PSModule PSFunction_Write-ToConsoleAndLog,Write-WithTime,Write-WithIndex,Write-ToLogOnly PSCommand_Write-ToConsoleAndLog,Write-WithTime,Write-WithIndex,Write-ToLogOnly PSIncludes_Function</S> </En> <En> <S N="Key">created</S> <S N="Value">4/14/2016 19:44:19 -04:00</S> </En> <En> <S N="Key">description</S> <S N="Value">A collection of fuctions to simplify logging output in a variety of formats, which includes: _x000D__x000A_a) Logging simultaneously to the console and a specified log file; _x000D__x000A_b) Logging to the console and a log file with a time-stamp index at each line; _x000D__x000A_c) Logging to the console and file with a numeric index at each line;_x000D__x000A_d) Logging output to only the specified log file._x000D__x000A_The Write-ToConsoleAndLog function displays the specified content on both the PowerShell console and an included log file._x000D__x000A_The Write-WithTime function displays the specified output on both the PowerShell console and an included log file, with a time index at each line of output._x000D__x000A_The Write-WithIndex function displays the specified content on both the PowerShell console and an included log file, with a sequential numeric index at each line of output._x000D__x000A_A typical scenario in which this can be used would be to iterate through a set of checks for a QA script which validates the correct settings for a configuration._x000D__x000A_The Write-ToLogOnly function writes the specified content only to the inlcuded file._x000D__x000A_The function here is similar to using the native ...| Out-File -FilePath <path> syntax</S> </En> <En> <S N="Key">published</S> <S N="Value">4/14/2016 19:44:19 -04:00</S> </En> <En> <S N="Key">developmentDependency</S> <S N="Value">False</S> </En> <En> <S N="Key">NormalizedVersion</S> <S N="Value">1.0.10</S> </En> <En> <S N="Key">downloadCount</S> <S N="Value">185</S> </En> <En> <S N="Key">GUID</S> <S N="Value">bdc79c4c-0d96-42fe-85a6-369696afb647</S> </En> <En> <S N="Key">updated</S> <S N="Value">2016-04-14T19:44:19Z</S> </En> <En> <S N="Key">isLatestVersion</S> <S N="Value">True</S> </En> <En> <S N="Key">IsPrerelease</S> <S N="Value">false</S> </En> <En> <S N="Key">isAbsoluteLatestVersion</S> <S N="Value">True</S> </En> <En> <S N="Key">packageSize</S> <S N="Value">9364</S> </En> <En> <S N="Key">FileList</S> <S N="Value">WriteToLogs.nuspec|WriteToLogs.psd1|WriteToLogs.psm1</S> </En> <En> <S N="Key">requireLicenseAcceptance</S> <S N="Value">True</S> </En> </DCT> </Obj> <S N="InstalledLocation">C:\Program Files\WindowsPowerShell\Modules\WriteToLogs\1.0.10</S> </MS> </Obj> </Objs> |