The script is available on my GitHub site located here.Ĥ5: $TextFileLocation = '\\drfs1\DesktopApplications\ProductionApplications\Waller\MappedDrivesReport\Reports',Ĥ7: $UNCPathExclusionsFile = "\\drfs1\DesktopApplications\ProductionApplications\Waller\MappedDrivesReport\UNCPathExclusions.txt",Ħ4: )]Ħ8: $CurrentDate = $CurrentDate.ToShortDateString()Ħ9: $CurrentDate = $CurrentDate -replace "/", "-"ħ1: $CurrentDate = $CurrentDate.Insert(0, "0")ħ4: $CurrentDate = $CurrentDate.Insert(3, "0")ĩ1: Additional information about the function.ĩ4: )]ĩ6: #Get UNC Exclusions from UNCPathExclusions. If you do not have SCCM and need a report, you can use the -OutputFile to have it write the results to a text file at the specified location defined in the $TextFileLocation parameter.
0 Comments
Leave a Reply. |