O365 – Powershell connect once
Because I’m testing I made this, so I dont need to fill in everytime the credentials, but checks if there is a connection. AzureAD Connect if($azureConnection.Account -eq $null){$azureConnection = Connect-AzureAD}…
Because I’m testing I made this, so I dont need to fill in everytime the credentials, but checks if there is a connection. AzureAD Connect if($azureConnection.Account -eq $null){$azureConnection = Connect-AzureAD}…
Connect-AzureADSet-AzureADUser -ObjectId <SyncACCOUNT>@<DOMAIN>.onmicrosoft.com -PasswordPolicies DisablePasswordExpiration And if you want all online created accounts disable Password expiration:Get-AzureADUser -All $true | Set-AzureADUser -PasswordPolicies DisablePasswordExpiration
Printspooler is crashing because of a wrong printerdriver. Remove printer in register:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors And start Printspooler service
Found a solution!! Windows Client resolution changes work by calling <ProgramDir>\VMware\VMware Tools\VMwareResolutionSet.exe. After I renamed that file, bingo no more resolution changes. Obviously this works until the next VMware tools…
Go to start -> Settings Go to Account On the left side Sign-in Options Now you can setup Fingerprint and/or pin code.
When you want to install a powershell module and you get this error message. Solution. Run Powershell as admin and enter ::SecurityProtocol = “tls12” Now you can install the powershell…
I Found this website very usefull and searched long for this. If you are running Microsoft Windows in a domain environment with WSUS configured, you may notice that you’re not…
$ssfFonts = 0x14 $fontSourceFolder = "" $Shell = New-Object -ComObject Shell.Application $SystemFontsFolder = $Shell.Namespace($ssfFonts) $FontFiles = Get-ChildItem $fontSourceFolder $SystemFontsPath = $SystemFontsFolder.Self.Path $rebootFlag = $false foreach($FontFile in $FontFiles) { # $FontFile…
The FIX:: You need to have sqlite3 installed on your Pi CODE: SELECT ALL If you have it you can do the following commands: CODE: SELECT ALL Remove first line…
Script is created by Johan ven Boomgaard. #!/bin/bash # Set-cisco-port.sh # ============== # |Author: JvdB| # ============== # # Find,disable,enable port using SNMP at Cisco switch# # # Usage: cd…