Sr. Systems Engineer, Infrastructure and Security.
-
Madison Group
- Vancouver, BC
-
05:19
(UTC -07:00) - https://www.pcdoyle.com
- @kaoatlantis
Pinned Loading
-
-
-
Opens a specific Microsoft Edge prof...
Opens a specific Microsoft Edge profile by name on macOS 1# Navigate to the profiles directory
2cd ~/Library/Application\ Support/Microsoft\ Edge
34# List out the profile directories. Note that the directory name is what is used in the launch command, *not* necessarily the friendly name of the profile you see in Microsoft Edge.app
5find ./ -type f -name Preferences
-
This command will get the Azure AD U...
This command will get the Azure AD User by their UPN's domain. 1Get-AzureADUser -All $true | `
2where-object {($_.UserPrincipalName -like "*@example.com") -and ($_.AccountEnabled -eq $true)} | `
3Select-Object -property UserPrincipalName,DisplayName,AccountEnabled | `
4Export-Csv -Path .\ActiveERISUsers.csv
-
These are the commands to change the...
These are the commands to change the login shell for Windows. 1# To set the login shell on a Windows Core server to powershell instead of cmd:
2Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name Shell -Value powershell.exe
34# To set the login shell on a Windows Core server back to cmd instead of PowerShell:
5Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name Shell -Value powershell.exe
-
Send Email with SMTP using TLS
Send Email with SMTP using TLS 1curl --ssl smtps://smtp.example.com:465 --mail-from [email protected] \
2--mail-rcpt [email protected] --upload-file email.txt \
3--user 'username:password'
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.