There are instances, where you need to run a Speedtest to check Internet speeds. The speedtest.net website is getting overly crowded with ads and sometimes may not reflect true speeds.
I have found an easy way ...
This can be handled in multiple ways. However, I like the one liner using WMI:
WMIC USERACCOUNT WHERE Name='username' SET PasswordExpires=FALSE
Change username to the account you need to set and you are good to go.
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| ...
Sometimes, users will have issues with their print jobs. If this happens on a printer shared on a server, they will block rest of the users. A quick and simple fix is to stop the ...
You can do this easily with the https://admin.microsoft.com via Active Users. However, if you have especially multiple users to check Powershell comes very handy.
First install the Exchange Online module:
Install-Module ExchangeOnlineManagement
Once the module is installed, you ...
This little sniplet is very useful to get eyes on reboot data
Get-EventLog System -Newest 10000 | `
Where EventId -in 41,1074,1076,6005,6006,6008,6009,6013 | `
Format-Table TimeGenerated,EventId,UserName,Message -AutoSize -wrap
It generates a nicely formatted table and provides the information. Here ...
Here is a neat script to get rules for all your users. It is handy if you are checking for any sig
$Mailboxes = Get-Mailbox -ResultSize unlimited
foreach ($Mailbox in $Mailboxes){
Get-InboxRule -mailbox $Mailbox.Name | fl Name,Description > ...
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 ...
I always knew, you can see your cached credentials in Control Panel - Credential Manager. However, I wasn't aware you can actually export/import them. The command is:
rundll32.exe keymgr.dll,KRShowKeyMgr
You can simply hit Windows and R keys, ...
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 ...