![]() # write-host "pure Name: " $filehandle.BaseName # $md5 = New-Object -TypeName 5CryptoServiceProvider ![]() # Uwe Ziegenhagen, # Reference: # Step A: Get the name of the file # Function Get -FileName ( $initialDirectory ) #end function Get-FileName # *** Entry Point to Script *** $file = Get -FileName -initialDirectory "H:\MD5" # Step B: Create a file handle from this string and calculate the MD5 sum $filehandle = Get-ChildItem $file # write-host "file: " $file # write-host "DirectoryName: " $filehandle.DirectoryName write-host "Name: " $filehandle.Name
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |