Find Jobs
Hire Freelancers

Need help in powershell

$10-30 CAD

ที่ทำเสร็จแล้ว
โพสต์ มากกว่า 3 ปีที่ผ่านมา

$10-30 CAD

ชำระเงินเมื่อส่งงาน
I need help in powershell commands. the person should have deep knowledge of powershell. The project is not that long. I want the below command to search from list of servere from a file [login to view URL] and see if server exits and if it does not this command should send me email. The below command is not working and your job is to make it working $usernamesend="**@gmail.**" $From = "**@gmail.**" $To = "**2@gmail.**" $Cc = " " $Subject = "$Server is not working" $Body = "Insert body text here" $SMTPServer = "[login to view URL]" $SMTPPort = "587" $secpasswd = ConvertTo-SecureString “emailpassword” -AsPlainText -Force $cred = new-object [login to view URL] ($usernamesend,$secpasswd) Function Test-Server { [CmdletBinding()] # Parameters used in this function param ( [Parameter(Position=0, Mandatory = $true, HelpMessage="Provide server names", ValueFromPipeline = $false)] $ComputerName ) $Array = @() ForEach($Server in $ComputerName) { $Server = $[login to view URL]() $SMB = $null $Object = $null $Status = $null $SMB = Test-Path "\\$server\c$" If($SMB -eq "True") { $Status = "True" $Object = New-Object PSObject -Property ([ordered]@{ Server = $Server "Is Online?" = $Status }) $Array += $Object } Else { $Status = "False" $Object = New-Object PSObject -Property ([ordered]@{ Server = $Server "Is Online?" = $Status Send-MailMessage -From $From -to $To -Cc $Cc -Subject $Subject -Body $Body -SmtpServer $SMTPServer -port $SMTPPort -UseSsl -Credential $Cred }) $Array += $Object } } If($Array) { return $Array } } Test-Server -ComputerName (Get-Content "C:\temp\[login to view URL]")
รหัสโปรเจกต์: 27842199

เกี่ยวกับโปรเจกต์

5 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 3 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
หมอบหมายให้:
รูปอวาตาร์ของผู้ใช้
Hi, I have already designed this kind of monitoring script to check after every interval if computer is not pinging then it will send an email alert to the configured email id. you can input all your windows servers in one file.
$30 CAD ใน 1 วัน
5.0 (11 รีวิว)
3.4
3.4
5 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $26 CAD สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
Hi, I work doing automation with powershell. I would like to participate in your project. please send me to chat to share details. regards
$30 CAD ใน 2 วัน
5.0 (9 รีวิว)
3.6
3.6
รูปอวาตาร์ของผู้ใช้
Hi, Now,I understand what you want. I have source code to send email. So,I can resolve your problem quickly I am available full time for your project. Please send the message to discuss the more details. I will be waiting for your reply.
$50 CAD ใน 1 วัน
5.0 (4 รีวิว)
3.0
3.0
รูปอวาตาร์ของผู้ใช้
I am full stack developer, had worked on php larvel, cake php, Javascript and Django. I have successful history in web development and web designing. I have developed multiple application and UI/UX and many logos and graphic designs. I am a professional do DM you will be satisfy
$10 CAD ใน 1 วัน
0.0 (0 รีวิว)
0.0
0.0
รูปอวาตาร์ของผู้ใช้
I am a IT Infrastructure Service Delivery specialist , please check my profile for further details. Brief skill i have: KILLS AND COMPETENCIES TECHNICAL • IT Service Management • Service Level Management • Change and Configuration • Problem and Incident • Capacity and Performance • VOIP , Soft switches (Asterisk, VOS, Nextone) • VM and Thin Client/Server • Enterprise Architecture • Infrastructure Methodology • Technology infrastructure Assessment, Planning, and Implementation • Storage Management Planning and Methodology • Operational Assessment and Managed Care Outsourcing • Linux Administration • DC/Server Consolidation
$10 CAD ใน 2 วัน
0.0 (0 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ CANADA
Medicine Hat, Canada
5.0
4
ยืนยันวิธีการชำระเงินแล้ว
เป็นสมาชิกตั้งแต่ ธ.ค. 9, 2018

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง