The default password expiration policy of Office 365 is set to 90 days. That means that users have to change their password every 90 days. I think basicly this is a good and secure policy but maybe your company has other security policy or for some other reason you have to deactivate this. We can change this setting through PowerShell with the MicrosoftOnline PowerShell Module.
This should show you how you can download a file with Powershell. This is not a script or function you should use. It just is the the easyiest way to download a file with Powershell. If I have enough time I will create a function for downloading files.
I work often with my notebook at school or by customers, so I need something to quickly lock my screen for security reasons. There is an easy way to lock the screen of Mac OS X and also save battery life.
First check the checkbox for “Require password after sleep or screen saver begins”
Now I create a new active Screen Corner with “Put Display to Sleep”
No I can just move my cursor in the bottom left corner and my screen gets black. After I move my mouse or press a key I need to login again. But all programs run in the background.
After a late night session doing some work on a new webserver, I found a really important blog post (windowsitpro.com) for IIS administrators. The blog post shows how you get the password of the IUSR and the IWAM local accounts form the metabase.
Normally the IUSR and IWAM password are set automatically and unknown. But if you import the metabase on another you have to change the passwords of these two users (IUSR_<local machine name> and IWAM_<local machine name>).
First you have to update the adsutil.vbs script (localdiskdrive:\Inetpub\AdminScripts). You have to replace all the “”IsSecureProperty = True” with “”IsSecureProperty = False” otherwise the command would not show the real password.
Now you can run the following commands to get the password of these users
Get the IUSR password:
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/anonymoususerpass
anonymoususerpass : (STRING) "password"
Get the IWAM password:
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/wamuserpass
wamuserpass : (STRING) "password"
you also can set the passwords for those accounts in the metabase
Set the IUSR password:
C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/anonymoususerpass "password"
Set the IWAM password:
C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/wamuserpass "password"
after you change the passwords, you should sync the password from IIS with Microsoft Transaction Server (MTS) and component services with the following command