This is all done via Get-ADUser help Get-ADUser Get-ADUser -identity username -properties * get-aduser -filter * -properties passwordlastset, passwordneverexpires |ft Name, passwordlastset, Passwordneverexpires With that in mind, lets see a script that exports all data to a CSV while also sorting the objects by Name: Get-ADUser -filter * -properties passwordlastset, passwordneverexpires | sort-object name | select-object Name, … Read More
You can configure the iDRAC from Windows directly to the iDRAC interface via CLI by running the following command, while on the OMSA folder of the server. C:\Program Files\Dell\SysMgt\RAC<versionnumber)\ Set up networking: racadm setniccfg –s <drac ip> <drac subnet mask> <gateway> Example racadm setniccfg -s 192.168.x.x 255.255.255.0 192.168.x.x List users racadm getconfig -g cfgUserAdmin -o cfgUserAdminUserName -i 2 Creating a … Read More
While this is very straightforward on other platforms, we need to go the extra mile with Office 365. Sometimes we want to receive each misspelled emails or even those sent to nonexistent addresses. e.g. someone sends a message to jonh instead of john, the catch-all address will receive this email. In order to achieve this, we will set up a delivery … Read More
Using the admin portal in Office 365, go into Admin – Exchange. Then Protection – Malware Filter – and edit the default rule. Under Administrator Notifications, you will be able to select being notified for inbound and outbound emails.
In order to run USB 3.0 on a Windows 2008 R2 or Windows 7 VM, you will need to first upgrade the hardware version to 12. This method is regardless of the underlying hardware as long as the USB 3.0 device is properly recognized as so in the OS. While you can do the hardware upgrade by editing the VMX … Read More
In this example, the client had a need of accessing the disks directly, while sharing a LSI Megaraid controller which was on IT mode. This enabled the controller to have it’s own set of disks in an array, and also 6 disks with 4TB each that were needed as direct disks to the VM. Start by configuring the desired disks … Read More
Connect to O365 via Powershell We will have to define the Language and Timezone first. get-mailbox | Set-MailboxRegionalConfiguration -Language -TimeZone For the timezone, select the middle value: To apply the desired language and timezone for all the mailboxes on your tenant, use the following syntax: get-mailbox | Set-MailboxRegionalConfiguration -Language 1033 -TimeZone “S.A. Eastern Standard Time” … Read More
Connect to O365 Sometimes we may have the need to change the time-out period for our OWA sessions while using O365. O365 supports 15 minutes (00:15:00) at its lowest setting, up to 8 hours (08:00:00), with the default being 6 hours. Set-OrganizationConfig -ActivityBasedAuthenticationTimeoutEnabled $true -ActivityBasedAuthenticationTimeoutInterval 00:15:00 -ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled $true Disabling the time-out period for Office 365 is currently not supported.
Install-Module -Name AzureAD $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session