Archives for Sems

Export Your Rules in Microsoft 365 to a CSV file

There are times I needed to export my rules to a human readable form. This comes very handy. If you haven't installed the ExchangeOnline module, you can follow https://learn.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps Open a Powershell window, then: Connect-ExchangeOnline Get-InboxRule -Mailbox user1| ...
Read more

Getting list of printers from command line

powershell 'get-printer | format-table' Run this via cmd lineā€¦ Alternatively, run it in powershell as get-printer | format-table Sample output looks like: Name ComputerName Type DriverName PortName Shared Publishe d ---- ------------ ---- ---------- -------- ------ -------- OneNote for Windows 10 Local ...
Read more

Checking list of software from Command Line

I needed to check software installs on multiple machines. One thing I found was to utilize WMI (Windows Management Instrumentation). The command is simple: wmic product where 'name like '%%Office%%'' get name Above searches the installed programs ...
Read more
1 2 3 14