Jump to content

Paul

Administrators
  • Posts

    1701
  • Joined

  • Last visited

Posts posted by Paul

  1. Hi Evan,

    winget is an msix (Windows Store Component, source) that must run in a per-user sandbox which is not available when running from the machine account (SYSTEM). You could force it to run against the logged in user (if any) through psexec but you'd need to distribute it somehow.

    -Paul

  2. 1 hour ago, Rasmus Tved said:

    I have created this small script to enable monitoring of the active network adapter on a given machine. Hope this can be of some help for others in the forum. 

    $activeadapter = Get-NetAdapter | Where-Object {$_.status -EQ "UP" -and $_.HardwareInterface -and $_.Name -notlike "*npcap*"} | select DeviceID
    $DeviceID = $activeadapter.DeviceID
    
    Set-ItemProperty "HKLM:\SOFTWARE\MMSOFT Design\PC Monitor\NetworkInterfaces\" -Name count -Value 1
    Set-ItemProperty "HKLM:\SOFTWARE\MMSOFT Design\PC Monitor\NetworkInterfaces\" -Name service0 -Value "$DeviceID"

     

    I have recently built a similar script but mine doesn't ignore NPCAP, feel free to issue a pull request to change it: https://github.com/paulcsiki/pulseway-scripts/blob/main/enroll-network-interfaces/enroll-network-interfaces.ps1

    -Paul

  3. Hi Mickey,

    To eliminate everything try with an administrator vSphere account and make sure that the port 443 is accessible. You should be able to connect the VMware server module to an ESXi server or a vCenter server.

    -Paul

  4. Hi @AMC,

    Based on the documentation, the DomainCredential parameter says:

    Quote

    If you type a user name, this cmdlet prompts you for a password.

    We run PowerShell in a non-interactive mode, this prevents inputs from being triggered. You can provide a PSCredential object instead of the username and that should do the trick.

    $password = "ThisIsAPlaintextPassword" | ConvertTo-SecureString -asPlainText -Force
    $username = "contoso\Administrator"
    [PSCredential] $credential = New-Object System.Management.Automation.PSCredential($username, $password)
    Rename-Computer -NewName "NewComputerName" -DomainCredential $credential -Restart

    -Paul

  5. On 3/16/2022 at 12:21 PM, Hejxml said:

    It works now! Thank you! Just what I needed.

    Have a great day Paul!

    Quick followup question: Any way to copy the notification settings associated with a host in the same manner?

    Well yes, you can just export the configuration settings of an agent, just look for the "Export Settings" textual link at the bottom of the Pulseway Manager app.

    -Paul

  6. Oh, I see what is the problem now. It is skipped because it contains the same identifier as the previous host. Try changing the identifier field slightly and see that it will import now. Use only hexadecimal characters (0-9a-f).

    Let me know how it goes.

    -Paul

  7. From the WebApp under Server Admin -> Endpoint Policies, create or edit a policy and make sure that the User Support Request feature is enabled under the System category. Then under Server Admin -> Configuration assign the endpoint policy to the organization, site or agent group. From that point a tray icon will show up on the agents and they will be able to request support from there.

  8. 18 hours ago, NickV said:

    Thanks so much for the fix on this, Paul! Looking good here in 8.9.1. 

    Since this is the only glitch (of any kind) I've had with Pulseway in 3+ years, it seems like a good time to say thanks for all of your work at Pulseway, for your help here in the forums, and for your scripts. 

    Thanks and cheers!

    -Nick

    Thanks for the continued support Nick! You rock :lol:!

    -Paul

×
×
  • Create New...