We are here to help!

Find new ways to use Atera, Ask us anything.


Access Script Output from the Patch and Automation Feedback Report


The Patch and Automation Feedback report contains the script output of any scripts executed in the selected reporting period.

Follow the steps below to learn how to access the script output in this Report.

Use Case Example

In this example we will execute an ActiveSyncReport.ps1 script to retrieve all the local user account information on remote machines.

  We will execute the script immediately using the Execute Now option.

Locate and Execute Script
1. From the left hand panel click Admin
2. Then click Patch Mgmt & IT Automation
The Patch Management and IT Automation page displays
3. Click the Profile Name
The Profile page displays.
4. Click Execute Now
5. Click Yes to confirm execution
View Report & Script Output
1. From the left hand panel click Reports > Patch and Automation Feedback Report
The Report page displays
3. Select any required report parameters
4. Click Generate

The Report displays.

Note: Script Output can be copied and pasted as in the example below:


$Obj = @()

Foreach($Computer in $ComputerName)
$AllLocalAccounts = Get-WmiObject -Class Win32_UserAccount -Namespace "root\cimv2" `
-Filter "LocalAccount='$True'" -ComputerName $Computer -Credential $Credential -ErrorAction Stop
$AllLocalAccounts = Get-WmiObject -Class Win32_UserAccount -Namespace "root\cimv2" `
-Filter "LocalAccount='$True'" -ComputerName $Computer -ErrorAction Stop

Foreach($LocalAccount in $AllLocalAccounts)
$Object = New-Object -TypeName PSObject

$Object|Add-Member -MemberType NoteProperty -Name "Name" -Value $LocalAccount.Name
$Object|Add-Member -MemberType NoteProperty -Name "Full Name" -Value $LocalAccount.FullName
$Object|Add-Member -MemberType NoteProperty -Name "Caption" -Value $LocalAccount.Caption
$Object|Add-Member -MemberType NoteProperty -Name "Disabled" -Value $LocalAccount.Disabled
$Object|Add-Member -MemberType NoteProperty -Name "Status" -Value $LocalAccount.Status
$Object|Add-Member -MemberType NoteProperty -Name "LockOut" -Value $LocalAccount.LockOut
$Object|Add-Member -MemberType NoteProperty -Name "Password Changeable" -Value $LocalAccount.PasswordChangeable
$Object|Add-Member -MemberType NoteProperty -Name "Password Expires" -Value $LocalAccount.PasswordExpires
$Object|Add-Member -MemberType NoteProperty -Name "Password Required" -Value $LocalAccount.PasswordRequired
$Object|Add-Member -MemberType NoteProperty -Name "SID" -Value $LocalAccount.SID
$Object|Add-Member -MemberType NoteProperty -Name "SID Type" -Value $LocalAccount.SIDType
$Object|Add-Member -MemberType NoteProperty -Name "Account Type" -Value $LocalAccount.AccountType
$Object|Add-Member -MemberType NoteProperty -Name "Domain" -Value $LocalAccount.Domain
$Object|Add-Member -MemberType NoteProperty -Name "Description" -Value $LocalAccount.Description


Foreach($Account in $AccountName)
$Obj|Where-Object{$_.Name -like "$Account"}

Was this article helpful?
1 out of 4 found this helpful
Have more questions? Submit a request