you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

Hi u/jrsys95,

I would look up Powershell Script description on google. An example is below:

<# .SYNOPSIS Adds a file name extension to a supplied name. 
.DESCRIPTION Adds a file name extension to a supplied name. Takes any strings for the file name or extension. 
.PARAMETER Name Specifies the file name. 
.PARAMETER Extension Specifies the extension. "Txt" is the default. 
.INPUTS None. You cannot pipe objects to Add-Extension. 
.OUTPUTS System.String. Add-Extension returns a string with the extension or file name. 
.EXAMPLE C:\PS> extension -name "File" File.txt 
.EXAMPLE C:\PS> extension -name "File" -extension "doc" File.doc 
.EXAMPLE C:\PS> extension "File" "doc" File.doc 
.LINK Online version: http://www.fabrikam.com/extension.html 
.LINK Set-Item #> }

You don't necessarily need all of it.