Maand: september 2019

How to show who has access to your inbox with PowerShell.  Get-MailboxFolderPermission -Identity username@domain.nl | fl This command you will see the users that have rights to your mailbox.   or  Get-MailboxFolderPermission -Identity username@domain.nl:\”postvak in” This command you will see the users that have rights to your mailbox. or Get-MailboxFolderPermission -Identity username@domain.nl:\”inbox” This command you […]

Meer lezen

The command du “summarizes disk usage of each FILE, recursively for directories,” e.g., du -hs /path/to/directory -h is to get the numbers “human readable”, e.g. get 140M instead of 143260 (size in KBytes) -s is for summary (otherwise you’ll get not only the size of the folder but also for everything in the folder separately)

Meer lezen

When you have the problems after updating Ubuntu from 16 to 18 and try to update the Linux kernel and getting the following messages? update-initramfs -u update-initramfs: Generating /boot/initrd.img-4.15.0-62-generic W: initramfs-tools configuration sets RESUME=UUID=18e2a087-bb29-4ac0-9b80-4ca749b63730 W: but no matching swap device is available. You can change and use the new creates swap partition on your Linx […]

Meer lezen

Office365: Set account passwords to never expire $ Install-Module MSOnline $ Connect-MSOLService To list all users and see if their password expires, use this cmdlet: $ Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires Check password settings To check the PasswordNeverExpires for just one user, use this cmdlet, replacing alias with the user’s alias. $ Get-MSOLUser -UserPrincipalName alias […]

Meer lezen