BartB
Members
-
Joined
-
Last visited
Reputation Activity
-
BartB reacted to Chris in Stop Monitoring certain services.Hi,
Try to run this script.
$removeService = "BITS" #the name for the service which will be removed from the list of monitored services
$name = Get-ItemProperty -Path "HKLM:\SOFTWARE\MMSOFT Design\PC Monitor\Services"
[array]$newNameList = $null
$removed = $false
if($name.Count -gt 0){
for ($i=0; $i -lt $name.Count ; $i++){
if($name."Service$i" -eq $removeService){
$removed = $true
}
else{
$newNameList += $name."Service$i"
}
}
}
Remove-Item -Path "HKLM:\SOFTWARE\MMSOFT Design\PC Monitor\Services" -Recurse
New-Item -Path "HKLM:\SOFTWARE\MMSOFT Design\PC Monitor\Services"
Set-ItemProperty -Path "HKLM:\SOFTWARE\MMSOFT Design\PC Monitor\Services" -Name "Count" -Value $newNameList.length;
$count = 0
foreach ($service in $newNameList) {
Set-ItemProperty -Path "HKLM:\SOFTWARE\MMSOFT Design\PC Monitor\Services" -Name ("Service" + $count++) -Value "$service"
}
if($removed){ write-host "The service $removeService was removed from the list of monitored services successfully"}
else {write-host "Action failed or service is not monitored on this system"}
#echo $newNameList
-
BartB reacted to Aspect in Stop Monitoring certain services.Apologies. Our paths got crossed.
http://www.fixitscripts.xyz/55/How-Do-I-Remote-Stop-Monitoring-A-Service-In-Pulseway
-
BartB reacted to Marius in Unattended installation for .msiPulseway msi files support unattended installation.
Pulseway_xNN.msi /qn config=FFF configpassword=PPP
where:
FFF - The UNC path for the configuration file (required)
PPP - The password for the configuration file
or:
Pulseway_xNN.msi /qn username=UUU password=PPP group=GGG server=SSS
where:
UUU - account username (required)
PPP - account password (required)
GGG - group name (optional). If not specified it will be "Default"
SSS - dedicated server address - used only if you have a Pulseway Enterprise Server and it's required in this case.
AD Group Policy can now be used to install the software. After the installation the Pulseway service will start automatically and you will be able to see the computer in the computer list.
The next version will add support for Computer Configuration Policy - the Pulseway Agent will contact the server to read and assign the policy assigned for it's specific group or a general policy.
-
BartB reacted to Chris in Import Pulseway configuration from command lineIn order to import a Pulseway configuration file you need to start PCMonitorManager (Pulseway Manager) from Pulseway's installation directory with the following parameters:
PCMonitorManager.exe /config=C:\Configuration\NoPassword.pcmcfg If the exported configuration file contains the account details then you need to provided the configuration password as well:
PCMonitorManager.exe /config=C:\Configuration\WithPassword.pcmcfg /configpassword=s3cr3tpassw0rd Note: The PCMonitorManager will not provide any console output or custom exit codes based to indicate the success of the operation.
-
BartB reacted to Jimmy Harden in Scheduling Windows UpdateAt the risk of stealing his thunder, I had Paul Csiki from Pulseway Support provide me the following PowerShell script a day or two ago in answer to this exact question. This should allow you to run the script at certain times using the automation features. I haven't yet tested it but on read through I like what I see.
As Paul says, I hope it helps.
Email contents copied below:
Hi Jimmy,
You can use this PowerShell script to install available Windows updates through the Pulseway automation feature:
Write-Host "Start Windows Update" $UpdateCollection = New-Object -ComObject Microsoft.Update.UpdateColl $Searcher = New-Object -ComObject Microsoft.Update.Searcher $Session = New-Object -ComObject Microsoft.Update.Session $Searcher = New-Object -ComObject Microsoft.Update.Searcher $results = $searcher.search("Type='software' AND IsInstalled = 0 AND IsHidden = 0 AND AutoSelectOnWebSites = 1") # Install Update if ($results.Updates.Count -eq 0) { Write-Host "No Update" # no updates. } else { # setup update collection foreach ($update in $results.Updates){ $UpdateCollection.Add($update) | out-null } # download update items Write-Host "Download update items" $Downloader = $Session.CreateUpdateDownloader() $Downloader.Updates = $UpdateCollection $Downloader.Download() # install update items Write-Host "Install update items" $Installer = New-Object -ComObject Microsoft.Update.Installer $Installer.Updates = $UpdateCollection $InstallationResult = $Installer.Install() # Check Result if ($InstallationResult.ResultCode -eq 2){ Write-Host "Update Success" } else { Write-Host "Some updates could not installed" } if ($InstallationResult.RebootRequired){ Write-Host "System needs to reboot." } Write-Host "Finish Windows Update." } I hope this helps.
Regards,
Paul Csiki
-
BartB reacted to Chris in Automate Enable User Support RequestYes it is possible. Please run this PowerShell script on all your systems via Automation:
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name EnableUserSupportRequest -Value "1" You can read more about automation from here: https://www.pulseway.com/blog/improve-your-productivity-and-efficiency-with-pulseway-automation
-
BartB reacted to Chris in Automate Enable User Support RequestIf you used the deployment and discovery module, then you could enable these two options on the Probe and then import the settings from the Probe during the deployment. You can read more about it from here https://www.pulseway.com/blog/network-discovery-and-automatic-deployment-guide.
Yes, you can enable the Remote Desktop option in the same way:
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor" -Name EnableRemoteDesktop -Value "1" Once it is done, then you can remote into the system and configure more options for RD connection: ask for user confirmation before allowing any RD connection.
-
BartB reacted to Paul in Unattended installation with Remote Desktop moduleHere you go:
Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor" -Name "EnableRemoteDesktop" -Value "1" -Paul
-
BartB reacted to Paul in setup notifications remotelyHi,
Yes, you can remotely edit the configuration of windows agents through the Pulseway Dashboard (right click on an online Windows system and click theEdit Configuration from the context menu) or from any other Pulseway agent through the Pulseway Manager app (In the Account tab click on the Manage Systems button, select an online Windows system and click the Edit Settings button).
Alternatively you can provision an entire group of systems through the means of Pulseway Group Policies (configured from any Windows agent through the Pulseway Manager app in the Manage Systems -> Manage Group Policies).
-Paul
-
BartB reacted to Hanfelt in Pulseway and chocolatey software distributionHello everyone im trying out Pulseway right now but i wanted to give you a nice idea how you can push software to clients in an easy way.
You could use chocolatey and then just open a powershell session and type for example choco upgrade all -y to upgrade all applications installed to latest version. You can type choco install 7zip -y to install 7-zip. and so on.
You can read more at chocolatey website. You can also set up your own repo for software and updates.
Im using proget to host my internal choco server.
Just my two cents
-
BartB reacted to stagiaire.info in Error with Pulseway AgentHello, I have got a problem with the pulseway agent on Debian. I have this error on the logs of Debian : May 27 12:40:23 xivo pulseway: Error while registering computer:SOAP 1.1 fault: SOAP-ENV:Client[no subcode]#012"SSL_ERROR_SSL#012error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"#012Detail: SSL_connect error in tcp_connect() And, when i type this command, this error appear : root@xivo:~# openssl s_client -CApath /usr/libs/ssl/certs -quiet -connect wsn.pulseway.com:443 gethostbyname failure connect:errno=0 And when i ping wsn.pulseway.com on my Windows computer, wsn.pulseway.com don't respond. Thank you for your help
-
BartB got a reaction from 180D in Run a ScriptCurrently Rules only allow you to run a Scheduled Task on demand. It would be nice to just be able to run a script, like batch or powershell, instead of having to create a Sched Task that runs that script.