Compare commits
2
Commits
c9502bf051
...
9358d85d27
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9358d85d27 | ||
|
|
0d1216a5cf |
@@ -0,0 +1,20 @@
|
||||
Function Get-EventData {
|
||||
params(
|
||||
[string]$LogName,
|
||||
[string]$ProviderName,
|
||||
[datetime]$SearchFromTime
|
||||
)
|
||||
|
||||
# Store search position of event logs in the Windows Registry
|
||||
# This should eliminate the possibility of double-reporting the same event
|
||||
$BaseKey = 'HKLM:\SOFTWARE\ATERA Networks\Get-EventData'
|
||||
|
||||
$AllLogs = (Get-WinEvent -ListLog *)
|
||||
$LogsWithEvents = ($AllLogs | Where-Object { $_.RecordCount -gt 0 })
|
||||
|
||||
ForEach ( $logWithEvents in $LogsWithEvents ) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -2,10 +2,10 @@
|
||||
If (! $Edition ) { $Edition = 'desktop' }
|
||||
|
||||
# Specify URL to "Backup for Windows" agent installer
|
||||
$ECB_WIN_URL = 'https://s3.amazonaws.com/cb_setups/MBS/53CFB286-7A97-4FDF-8CFA-475C0DB63A9A/Brands/FB8308E2-448A-4645-A5F6-A3632A7E57F4/EmberkomCloudBackup_v7.8.2.279_ALLEDITIONS_Setup.exe'
|
||||
$ECB_WIN_URL = 'https://s3.amazonaws.com/cb_setups/MBS/53CFB286-7A97-4FDF-8CFA-475C0DB63A9A/Brands/FB8308E2-448A-4645-A5F6-A3632A7E57F4/EmberkomCloudBackup_v7.8.3.284_ALLEDITIONS_Setup.exe'
|
||||
|
||||
# Specify URL to "Backup Virtual Machine Edition" agent installer
|
||||
$ECB_VMM_URL = 'https://s3.amazonaws.com/cb_setups/MBS/53CFB286-7A97-4FDF-8CFA-475C0DB63A9A/Brands/FB8308E2-448A-4645-A5F6-A3632A7E57F4/EmberkomCloudBackup_v7.8.2.279_VMWARE_Setup.exe'
|
||||
$ECB_VMM_URL = 'https://s3.amazonaws.com/cb_setups/MBS/53CFB286-7A97-4FDF-8CFA-475C0DB63A9A/Brands/FB8308E2-448A-4645-A5F6-A3632A7E57F4/EmberkomCloudBackup_v7.8.3.284_VMWARE_Setup.exe'
|
||||
|
||||
# Set the correct download URL and agent edition
|
||||
switch ( $Edition.ToLower() ) {
|
||||
|
||||
Reference in New Issue
Block a user