Christian KAZADi
asked on
Sending e-mail on maches conditions
Hi all
I have this script :
Get-WmiObject -ComputerName 'dc1' -Class Win32_NetworkAdapter | `
Where-Object { $_.Speed -ne 2000000000 -and $_.MACAddress -ne $null } | `
Format-list -Property SystemName,Name,NetConnect ionID,Spee d,MACAddre ss
And I would like to receive a e-mail alert when $_.Speed -ne 2000000000 condition is match
I need help, Please
Thank you
CK
I have this script :
Get-WmiObject -ComputerName 'dc1' -Class Win32_NetworkAdapter | `
Where-Object { $_.Speed -ne 2000000000 -and $_.MACAddress -ne $null } | `
Format-list -Property SystemName,Name,NetConnect
And I would like to receive a e-mail alert when $_.Speed -ne 2000000000 condition is match
I need help, Please
Thank you
CK
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Substitute the proper parameters for your environment:
Open in new window