Tag Archives: Powershell

Teams Powershell – Create new Team and add users from CSV

לאחרונה מיקרוסופט הוציאה תמיכה  של פקודות המותאמות   ל-Teams דבר המאפשר  לאנשי ה-IT לבצע פעולות יומיומיות פשוטות ביעילות על ידי שימוש באוטומציה. בעזרת הפקודות נוכל לבצע פעולות כמו: יצירת צוותים חדשים ערוצים חדשים בקבוצה הוספת  והסרה מספר רב של חברים הגדרת … Continue reading

Posted in Office365, PowerShell, Scripts, Teams, Teams | Tagged , , , , | Leave a comment

Exchange 2010: Get-MailboxDatabase -Status for Whitespace

In exchange 2010, event id 1221 does not exist anymore, and in order for us to find the whitespace, Microsoft has provided an appropriate command shell: Get-MailboxDatabase -Status |ft name,databasesize,availablenewmailboxspace -auto

Posted in Exchange 2010 | Tagged , , , , | Leave a comment

How to set all virtual directories at once With PowerShell

For internal URLs: $urlpath = Read-Host "Type internal Client Access FQDN starting with http:// or https://" Set-ClientAccessServer –Identity * –AutodiscoverServiceInternalUri “$urlpath/autodiscover/autodiscover.xml” Set-webservicesvirtualdirectory –Identity * –internalurl “$urlpath/ews/exchange.asmx” Set-oabvirtualdirectory –Identity * –internalurl “$urlpath/oab” Set-owavirtualdirectory –Identity * –internalurl “$urlpath/owa” Set-ecpvirtualdirectory –Identity * –internalurl … Continue reading

Posted in Exchange 2010, Exchange 2013, Microsoft Exchange, PowerShell | Tagged , , , | Leave a comment

Office365 – Enable or disable IMAP, POP, OWA, MAPI, or Exchange ActiveSync for a mailbox

Enable or disable IMAP, POP, OWA, MAPI, or Exchange ActiveSync for a mailbox in Exchange Server in office365 1. Connect to office365 PowerShell  – https://www.itblog.co.il/how-to-connect-remote-powershell-to-the-office365s-cloud-based-organization/ 2. To see the current state for the mailbox – type : Get-CASMailbox -Identity “Mailbox … Continue reading

Posted in Office365, Office365 Proplus | Tagged , , | Leave a comment

Office 365 – Manage licenses – ADD\Remove

1. Assign License Using the office365 portal · From the office365 Portal · Connect to – Office365 Portal with the right permissions (Or global administrator or User management administrator) · In the left section Go to the Users and Groups … Continue reading

Posted in Office365, Office365 Proplus, PowerShell, SharePoint Online | Tagged , , , , | Leave a comment

Powershell error : “.ps1 cannot be loaded because the execution of scripts is disabled on this system”

When You are trying to run a PS1 script in Power shell you are getting the following error: “File C:\scripts\.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see “get- help about_signing” for more … Continue reading

Posted in PowerShell, Windows | Tagged , | Leave a comment