Search found 397 matches

by localpct
Thu Dec 09, 2021 8:50 pm
Forum: PowerShell
Topic: SSRS Reports
Replies: 6
Views: 2341

Re: SSRS Reports

Page that led me to the ATOM feed https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/export-reports-report-builder-and-ssrs?view=sql-server-ver15 Slimmed down code that someone can use, the select statement ( which I have 16 to do ) keeps it tidy. $PC = 'PC1' $feed = "https:...
by localpct
Thu Dec 09, 2021 8:15 pm
Forum: PowerShell
Topic: SSRS Reports
Replies: 6
Views: 2341

Re: SSRS Reports

by localpct
Thu Dec 09, 2021 7:38 pm
Forum: PowerShell
Topic: SSRS Reports
Replies: 6
Views: 2341

Re: SSRS Reports

If you notice within my code there is a PCList=PC1; Within the page, after I search for the PC, there is the choice to .atomsvc file It begs the question still, how can I achive whats on the docs site? https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2012/ms181243(v=sql.110)?redirec...
by localpct
Thu Dec 09, 2021 7:04 pm
Forum: PowerShell
Topic: SSRS Reports
Replies: 6
Views: 2341

SSRS Reports

Hello, some of you might be aware of SQL Server Reporting Services (SSRS), I am able to read them using the ATOM report, but there is one that requires input of a PC Name, anyone familiar with this? Snag_27695cf.png Here is a slimmed down version of the web address I want to 'POST' to https://server...
by localpct
Mon Sep 20, 2021 7:21 am
Forum: PowerShell
Topic: Outlook COM Mark email as read
Replies: 19
Views: 13858

Re: Outlook COM Mark email as read

easy to read
easy to implement
thanks so much for this.
by localpct
Sat Sep 18, 2021 5:32 am
Forum: PowerShell
Topic: Outlook COM Mark email as read
Replies: 19
Views: 13858

Re: Outlook COM Mark email as read

Now that I’ve figured this out

Do you have any enhancements or different ways your script would look?
by localpct
Fri Sep 17, 2021 10:54 pm
Forum: PowerShell
Topic: Outlook COM Mark email as read
Replies: 19
Views: 13858

Re: Outlook COM Mark email as read

Final answer: $outlook = New-Object -ComObject Outlook.Application $namespace = $outlook.GetNameSpace("MAPI") $inbox = $namespace.Folders.Item('some@email.com').Folders.Item('REPORTS') for ($item = $inbox.Items.Count; $item -ge 1; $item--) { $($inbox.items.item($item).attachments).SaveAsFi...
by localpct
Fri Sep 17, 2021 8:08 pm
Forum: PowerShell
Topic: Outlook COM Mark email as read
Replies: 19
Views: 13858

Re: Outlook COM Mark email as read

mail item id, is that entry ID?

found some links that pointed me here
https://docs.microsoft.com/en-us/office ... tem.Delete

Helps with more of the puzzle
by localpct
Fri Sep 17, 2021 7:00 pm
Forum: PowerShell
Topic: Outlook COM Mark email as read
Replies: 19
Views: 13858

Re: Outlook COM Mark email as read

appreciate the fwp and you're willingness to walk through this with me

looks like this is my key
for($item = $inbox.Items.Count; $item -ge 1; $item--) {
$inbox.Items.Item($item).Delete()
}

really do appreciate you.
by localpct
Fri Sep 17, 2021 2:19 pm
Forum: PowerShell
Topic: Outlook COM Mark email as read
Replies: 19
Views: 13858

Re: Outlook COM Mark email as read

AFter re reading and thinking about this. I do understand what you're saying so I moved the script to something like this $Ol = New-Object -comobject Outlook.Application $namespace = $Ol.GetNameSpace("MAPI") $Folder = $namespace.Folders.Item('some@email.com').Folders.Item('REPORTS') $Folde...