Display: Cloud | List
Most Popular Tags
FileMinorPart Sample, recoded using PowerShell (FileVersionInfo.FileMinorPart Property (System.Diagnostics))
<#.SYNOPSIS This script shows the Minor part of the version number of file version object..DESCRIPTION This script is a re-implementation of an MSDN Sample script that uses System.Diagnostics.FileVersionInfo to get the mainor part of the version number of the file..NOTES File Name : Show-MinorPart.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Versi
Last modified by Thomas Lee on 11/13/2011 1:16:32 PM
FileBuildPart Sample using PowerShell (FileVersionInfo.FileBuildPart Property (System.Diagnostics))
<#.SYNOPSIS This script shows the build number of file version object..DESCRIPTION This script is a re-implementation of an MSDN Sample script that uses System.Diagnostics.FileVersionInfo to get the build identification of the file..NOTES File Name : Show-FileBuildPart.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script poste
Last modified by Thomas Lee on 11/13/2011 12:51:59 PM
FileVersion Comments Field using PowerShell (FileVersionInfo.Comments Property (System.Diagnostics))
<#.SYNOPSIS This script shows the company name of a fileversion object.DESCRIPTION This script is a re-implementation of an MSDN Sample script that uses System.Diagnostics.FileVersionInfo to get the company name (if it exists)..NOTES File Name : Show-FileVersionComments.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script post
Last modified by Thomas Lee on 11/13/2011 12:23:49 PM
Richer sample with PowerShell (FileVersionInfo Class (System.Diagnostics))
<# .SYNOPSIS This script gets and displays the file version information of a file .DESCRIPTION This script calls System.Diagnostics.FileVersionInfo's GetVersion info method on the file. By default, the file version displayed/returned is that of $systemroot%\notepad.exe. .NOTES File Name : Get-FileVersionInfo.ps1 Author : Thomas Lee - tfl@psp.co.uk Re
Last modified by Thomas Lee on 5/23/2009 3:11:02 PM
Sample using PowerShell (FileVersionInfo.LegalCopyright Property (System.Diagnostics))
<# .SYNOPSIS Gets LegalCopyright and LegalTrademarks from a file, if they exist. .DESCRIPTION This script uses System.Diagnostic.FileVersionInfo to get the version information of a file. In this sample, I use notepad.exe, as shipped with Windows. If you look at the output, you see LegalTrademarks are empty-this is the result I get on my main workstation. Also, the MSDN
Last modified by Thomas Lee on 5/3/2009 7:22:46 PM
Getting legal info from a file - Sample using PowerShell (FileVersionInfo.LegalTrademarks Property (System.Diagnostics))
<# .SYNOPSIS Gets LegalCopyright and Legal Trademarks from a file, if they exist. .DESCRIPTION This script uses System.Diagnostic.FileVersionInfo to get the version information of a file. in this sample, I use notepad.exe, as shipped with Windows. if you look at the output, you see LegalTrademarks are empty - this is the result I get on my main workstation. .NOT
Last modified by Thomas Lee on 5/3/2009 7:14:21 PM
Page view tracker