Jump to content

DigitalDentist

Members
  • Content count

    16
  • Joined

  • Last visited

About DigitalDentist

  • Rank
    IT Apprentice
  1. Notes section on Android

    Whenever there is a note added to the note section is there any way to know when looking through the systems? Maybe change the badge color whenever a note is present? Currently I have to just click on each note section to see if notes have been inputted. If I could tell just by glancing at the section that would be ideal.
  2. This script will set the virtual machine to auto start whenever the host reboots, it will also update Hyper V integration services. Be sure and change your server names to match. Server0 is host and server1 is the Hyper V. Run on Host. Get-VM –VMname * | Set-VM –AutomaticStartAction Start Get-VM -Name SERVER1 –ComputerName server0 Set-VMDvdDrive -ComputerName server0 -VMName SERVER1 -Path 'C:\Windows\System32\vmguest.iso' $DVDriveLetter = (Get-VMDvdDrive -ComputerName server0 -VMName SERVER1).Id | Split-Path –Leaf Invoke-Command –ComputerName SERVER1 -ScriptBlock { if ($ENV:PROCESSOR_ARCHITECTURE -eq 'AMD64') { $folder = 'amd64' } else { $folder = 'x86' } Start-Process -FilePath "$($using:DVDriveLetter):\support\$folder\setup.exe" -Args '/quiet /norestart' -Wait } Restart-Computer –ComputerName SERVER1 -Wait -For WinRM -Force Set-VMDvdDrive -ComputerName server0 -VMName SERVER1 -ControllerNumber 1 -ControllerLocation 0 -Path $null
  3. Update Hyper V integration services

    This script will update Hyper V integration services. Be sure and change your server names to match. Server0 is host and server1 is the Hyper V. Run on Host. Get-VM -Name SERVER1 –ComputerName server0 Set-VMDvdDrive -ComputerName server0 -VMName SERVER1 -Path 'C:\Windows\System32\vmguest.iso' $DVDriveLetter = (Get-VMDvdDrive -ComputerName server0 -VMName SERVER1).Id | Split-Path –Leaf Invoke-Command –ComputerName SERVER1 -ScriptBlock { if ($ENV:PROCESSOR_ARCHITECTURE -eq 'AMD64') { $folder = 'amd64' } else { $folder = 'x86' } Start-Process -FilePath "$($using:DVDriveLetter):\support\$folder\setup.exe" -Args '/quiet /norestart' -Wait } Restart-Computer –ComputerName SERVER1 -Wait -For WinRM -Force Set-VMDvdDrive -ComputerName server0 -VMName SERVER1 -ControllerNumber 1 -ControllerLocation 0 -Path $null
  4. Adding services to monitor

    No if possible I'd like to be able to monitor a service or process that I long press on from the mobile app. Instead of adding all the process to be monitored from the web app.
  5. Configure Powershell Impersonation remotely

    The account is domain admin on server 2012 R2. Uac disabled. Wmf 5 1
  6. Configure Powershell Impersonation remotely

    The account is an account with sufficient rights.
  7. Adding services to monitor

    It would be nice if on the mobile apps when you click on processes you could long press on a service and add it to the list of monitored services. This way you can do it after the install if needed. Currently the only option is to kill process.
  8. Create scopes on the Android app.

    Is it possible to be able to create scopes on the Android app? Use case is all of the built in scripts default to all systems. It would be great if I could adjust the scope on the Android app. I'm trying to avoid logging into the web console, creating a scope and modifying a task, esp for a script I may only have a need to run once on a specific group. Pulseway is great and I love it, it doesn't seem like it scales well. If I add 10 machines a week I would constantly be adjusting things on the web console. I should be able to click any group and run scripts for that group without making a scope etc. Have I missed something or is this possible? For instance under the group tasks would be awesome if it listed automation and reports
  9. Configure Powershell Impersonation remotely

    Ok so I do this, then the window update script fails with an error can't call a null expression...the reboot script works however. Is there a way to have both work?
  10. Reports on results of scripts ran

    Is there anyway to get a report of the results of a script that was ran. For instance the check if computer has 2 hdd script, If I run this against 90 computers I don't want to click on each computer, click on the script, click again to see the results. It would be awesome if I was able to just see a list of failed and a list of passed, Is this possible?
  11. This will download and install or upgrade veeam and install a license if you have one, finally it will import a config file if one is available. I use Dropbox and a shared link. When using Dropbox be sure and change the zero at the end to 1 to download. You if course would have to update the dl links. Any questions let me know. VeeamInstall.ps1 ## $workdir = "c:\installer\" $LicenseFile = "$workdir\Veeamlicense.lic" $ConfigFile = "$workdir\config.xml" [Object[]]$List = @( New-Object -TypeName PSObject -Property @{"File" = "$workdir\Veeam2.exe"; "URL" = "https://www.dropbox.com/s/Veeamexedl=1"} New-Object -TypeName PSObject -Property @{"File" = $LicenseFile; "URL" = "https://www.dropbox.com/s/licensefile?dl=1"} New-Object -TypeName PSObject -Property @{"File" = $ConfigFile; "URL" = "https://www.dropbox.com/s/Configfiledl=1"} ) $VeeamInstallDir = "C:\Program Files\Veeam\Endpoint Backup" # Check if work directory exists if not create it If (Test-Path -Path $workdir -PathType Container) { Write-Host "$workdir\ already exists" -ForegroundColor Red} ELSE { New-Item -Path $workdir -ItemType directory } # Check if Invoke-Webrequest exists otherwise execute WebClient $List | ForEach-Object { if (Get-Command 'Invoke-Webrequest') { Invoke-WebRequest $_.URL -OutFile $_.File } else { $WebClient = New-Object System.Net.WebClient $webclient.DownloadFile($_.URL, $_.File) } } # Start the installation Start-Process -FilePath "$workdir\Veeam2.exe" -ArgumentList "/silent /accepteula" # Wait XX Seconds for the installation to finish Start-Sleep -s 45 #Stops Tray Process Stop-Process -Name "Veeam.EndPoint.Tray" -Force -ErrorAction SilentlyContinue #Imports License File Set-Location $VeeamInstallDir Start-Process Veeam.Agent.Configurator.exe -ArgumentList "-license /f:'$LicenseFile'" Start-Process Veeam.Agent.Configurator.exe -ArgumentList "-import /f:'$ConfigFile'" Start-Process "$VeeamInstallDir\Veeam.EndPoint.Tray.exe"
  12. Check Server uptime and reboot if Greater than 35 days

    Say I run this against 90 computers is there any way to get a notification of which computers rebooted?
  13. Configure Powershell Impersonation remotely

    Awesome thank you!
  14. Configure Powershell Impersonation remotely

    Is there anyway to configure powershell impersonation remotely? I am trying to run a few different powershell scripts and I'm getting access denied. I assume BC it's running as system. Is there a way around this ? Or a way to configure this option remotely? This is the script I'm trying to run. It runs fine under my account. Import-Module ActiveDirectory Get-ADComputer -Filter {OperatingSystem -Like "Windows 7*"} | foreach {restart-computer $_.name -force} Thanks in advance
  15. Wrote this script with the help of Support. Thanks Ermins! $days = 35 $system = Get-WmiObject win32_operatingsystem if($system.ConvertToDateTime($system.LastBootUpTime) -lt (Get-Date).AddDays(-$days)){ Restart-Computer -Force }else{ Write-Host "Machine was rebooted less than $days days ago" }
×