Question: Respond in POWERSHELL PLEASE function howMany($obj) { Write-Host Number of hits: $obj.count return $obj.count } # DO NOT MODIFY # EXAMPLE USECASE: howMany -cc

Respond in POWERSHELL PLEASE

function howMany($obj) { Write-Host "Number of hits: " $obj.count return $obj.count }

# DO NOT MODIFY # EXAMPLE USECASE: howMany -cc 5 -ssn 15 # cc is the number of Credit Cards Stolen # ssn is the number of Social secuirty numbers stolen function incidentCost($cc,$ssn) { $totalUsers = $cc + $ssn ## Credit Card's lost Write-Host "Estimated hacker's stolen credit card data sale: " ($cc*5) " USD"

## SSN's lost Write-Host "Estimated hacker's stolen Social Security Number data worth: " ($ssn*1) " USD"

## Business cost to response of a breach ## https://www.pandasecurity.com/mediacenter/security/cost-of-a-data-breach/ Write-Host "Estimated loss and impact of the breach: " ($totalUsers*150) " USD"

return $totalUsers*150 }

## 8. With a major data breach on our hands, we must inform the CEO the expected financial loss to the business. ## A helper function has been provided called incidentCost ## Each type of sensitive data are found in the result variables from #6 and #7 above and ## can be used as arguments for this problem. ## Look at the incidentCost function for example on how it can be used. No need to modify it. ## HINT: Estimated loss to the business is greater than $200K ## YOUR CODE BELOW HERE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!