Jump to content

Recommended Posts

Posted

Hi guys,

 

I am wanting to use a script that sends a simple message notification saying Imaging has completed on computer name. But only shows this message if a file exists in the C drive.

 

Is this possible?

 

Thanks

  • 1 month later...
Posted
Write the file to a folder on a server, then use FSRM to fire out an email. You should be able to script the file to include the station name:
$PCFileName = "ComputerName.txt"
$PCName = $env:COMPUTERNAME
$PCName | Out-File -FilePath $PCFileName
Write-Host

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...