How to get Skype for Business license usage details
Today we will look at various Skype for business PowerShell commands to gather various details related to licensing. Just like Microsoft exchange, Skype for business clients required to have Microsoft CALs in order to provision the users. There are three types of CALs available : Standard CAL – Instant Messaging and Presence Features Enterprise CAL – Audio, Video […]
How to resize the Azure VM Size from PowerShell
Upgrading the the Virtual Machine in Azure is performed in difference way than we did in Hyper-V/VMware. In Azure we have different type of predefined VM size to suit different requirement and those are priced differently. So in-order to change VM size in such cases we can use PowerShell to quickly do this task. First […]
Deploying a basic Windows VM in Azure with PowerShell
We will look at end to end commands to deploy a basic Windows VM on the Azure Before we begin the process make sure you have the required Azure module installed on your computer. Launch the PowerShell and enter the below command to login to your Azure Subscription. It will prompt with a Azure portal. […]
VNet Creation on Azure from PowerShell
We have already seen how to configure the VNet on the Azure from the console and today we will look at how to create the VNet from the Powershell also we will look at basic Powershell commands to help you on the VNet operations. First command is to create a resource group named “RenResourceGroup” in […]
Working with Azure PowerShell on Mac
Since PowerShell announced as open source it has support on Linux and Mac as well and the extended support makes below possible. Managing Azure using PowerShell from Linux or Mac Managing Linux and Windows Containers with Docker Native Linux Management with PowerShell Manage AWS using PowerShell from Linux Manage VMware using PowerShell from linux Today […]
Export Folder and Sub folder permissions to CSV
Here is a quick powershell one liner commands to export the NTFS permissions for a root folders or with Sub folders. To export for a single Folder. Get-Childitem -path C:\MyFolder | Where-Object {$_.PSIsContainer} | Get-ACL | Select-Object Path -ExpandProperty Access | Export-CSV C:\Temp\Ntfs_single.csv Export command for a folder tree Get-Childitem -path C:\MyFolder -recurse | Where-Object {$_.PSIsContainer} […]
How to check the database content index status (Failed) and update the catalog via Powershell
a) This will return a result of all DB with Content Index State failed. Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq “Failed”} b) By using the following command we can update the content index status of all the failed DBs. Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq “Failed”} | Update-MailboxDatabaseCopy -CatalogOnly c) Following command will help to […]
Generate a mailbox statistics report for particular Exchange Database and Export it as CSV
Generate a mailbox statistics report for particular Exchange Database and Export it as CSV Get-MailboxStatistics -database “DATABASE” | sort TotalItemSize -Descending | select DisplayName,TotalItemSize | epcsv c:\temp\mailsize.csv
Schedule a task to set custom message size for new mailboxes
For instance if you have mailbox users with different message size – like some management users with 20 MB message size and rest all users with 5 MB quota. By default, exchange will set unlimited message size. Unlimited does n’t mean that a user can attach and send any file size. Global transport configuration & […]
How to enable mail on a Distribution Group in Exchange 2013
Like you enable email for an existing group in Exchange 2007 and Exchange 2010 from the Exchange Management Console, there is no way to create from Exchange 2013. On Exchange 2013 Admin Center you can only create a new Distribution group. In-order to enable email for an existing security or distribution group you can make […]