PowerShell is a task automation and configuration framework developed by Microsoft, made from a command-line windows and a scripting language. Windows 10 closely aligns it's functionality to this language.
The simple answer is almost anything you can think of. For example you could create a report of all the USB devices installed on your PC, perform your favourite CMD tasks, kill a process in PowerShell rather than in Task Manager, change permissions on folders/drives.
Open PowerShell as an Administrator on your PC [search for it]
Set-ExecutionPolicy RemoteSigned [sign in to 365]
$UserCredential = Get-Credential [sign in as global admin user]
install-module MSOnline [just in case this module is not available]
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection [connects to the Exchange admin centre, specific module] Import-PSSession $Session -DisableNameChecking [imports the commands from EXO to PowerShell]
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Set-Mailbox -RetainDeletedItemsFor 30 [set the retention time to 30 days]
[Check its working!]
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Format-List Name,RetainDeletedItemsFor
At Bongo IT, we know that technology is increasingly dominant and crucial to maintaining business performance and productivity.
Organisations should make sure they are making the right IT decisions for their current needs, whilst also planning for the future with flexible and scalable solutions.
As a special offer, we are offering a FREE one hour consultation to address your current IT setup and recommend an effective strategy for your future requirements.
Addressing issues such as computer hardware, broadband, data security, file sharing, compliance and more, we’ll help you build a plan and ensure you deploy the most cost-effective IT strategy for your company’s needs.