migrate to git.charlotte.sh
This commit is contained in:
commit
fbd588721e
412 changed files with 13750 additions and 0 deletions
9
automation-sys320/week03/ExternalScript.ps1
Normal file
9
automation-sys320/week03/ExternalScript.ps1
Normal file
|
@ -0,0 +1,9 @@
|
|||
(Join-Path $PSScriptRoot .\FunctionsAndEventLogs.ps1)
|
||||
|
||||
# get login and logoffs from past 14 days
|
||||
$loginoutsTable = getWinLogons(14)
|
||||
$loginoutsTable
|
||||
|
||||
# get shutdowns from past 20 days
|
||||
$shutdownsTable = getShutdowns(20)
|
||||
$shutdownsTable
|
Loading…
Add table
Add a link
Reference in a new issue