User Profile
Najwan975
Copper Contributor
Joined Dec 08, 2021
User Widgets
Recent Discussions
Exchange New-mailboxexportRequest
Hello There, please i need your support to clarify the below: I am mirating some mailboxes between two different forests by exporting the PST files and importing the files in the new forest. I am doing the original export then planning to do the delta export by settnig a content filter after 30 November 2023. i am executing the below powershell command however i notice that it is alway exporting all the content: New-MailboxExportRequest -Name exc02-delta1DEC1.4 -Mailbox exc02 -ContentFilter "{(Received -gt '11/30/2023') -and (sent -gt '11/30/2023')}" -FilePath \\localhost\DD\EXC02-delta1DEC1.4.pst i am having exchange 2019 latest CU in the source and i am assuming the time format has to be month/day/year the GT operator is greater than and not equal. is it a bug or what? Thank You...377Views0likes0CommentsDisjoin and join windows machines remotely
Hello there, I have a task to disjoin hunderds of windows machines from domain A and to join them to domain B. i prepared a powershel script it disjoining the machine from domain A but fails to restart the machine and abort i am pasting the script below and i hope that someone can help. the localcredential Variable is already a local admin and member of administrators the SourceCredential variable is a domain amdin: $SrcDomain = "AA" $DstDomain = "BB" $DstDomainIP = "IP" $SrcPassword = ConvertTo-SecureString "XXX" -AsPlainText -Force $SrcCredential = New-Object System.Management.Automation.PSCredential ("$SrcDomain\administrator", $SrcPassword) $DstPassword = ConvertTo-SecureString "XX" -AsPlainText -Force $DstCredential = New-Object System.Management.Automation.PSCredential ("$DstDomain\administrator", $DstPassword) $localpassword = ConvertTo-SecureString "XX" -AsPlainText -Force $localcredential = New-Object System.Management.Automation.PSCredential ("lab", $localpassword) $logFile = "C:\DD\Output.log" $timestamp = (Get-Date).toString("yyyy/MM/dd HH:mm:ss") C:\TEMP\PSEXEC\PsExec.exe \\$log -h -s powershell.exe "Enable-PSRemoting -Force" start-sleep -s 15 C:\TEMP\PSEXEC\PsExec.exe \\$log -h -s powershell.exe "Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name LocalAccountTokenFilterPolicy -Value 1 -Type DWord" Remove-Computer -ComputerName $log -LocalCredential $localcredential -UnjoinDomainCredential $SrcCredential -WorkgroupName 'Workgroup' -Verbose -PassThru -Restart -Force Start-Sleep -s 120 Add-Computer -ComputerName $log -LocalCredential $localcredential -DomainName $DstDomain -Credential $DstCredential -PassThru -Verbose -Restart -Force ------------------------------ Below is the error: Remove-Computer : Failed to restart the computer 10.30.233.158 with the following error message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). At line:1 char:1 + Remove-Computer -ComputerName $log -LocalCredential $localcredential ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (10.30.233.158:String) [Remove-Computer], InvalidOperationException + FullyQualifiedErrorId : RestartcomputerFailed,Microsoft.PowerShell.Commands.RemoveComputerCommandsharepoint 2019 personal site default quota
i have a sharepoint environment 2019 standard integrated with ADFS to allow SAML authentication and it is mainly used to create oneDrive personal sites to all users. I have configured quota on the web application level in the general settings to set a predefined custom quota and i did the same on the configure self site creation however when any user login to sharepoint the personal site created is assigned an individual quota with unlimited storage and we have to set the custom quota manually. Can you please help to understand how i can enforce the quota on the personal site without having to set it manually everytime.1.2KViews0likes3CommentsSharepoint one drive on premise integrated with ADFS
Hi, I would like to clarify regarding the one drive deployment on premise. We are planning to have a one drive on premise integrated with ADFS to provide SSO and MFA experience. To integrated Sharepoint with ADFS we have the follow the below article: https://docs.microsoft.com/en-us/sharepoint/security-for-sharepoint-server/implement-saml-based-authentication-in-sharepoint-server We have configured a webapplication with windows authentication and extended the same web app to use ADFS authentication. We noticed that if we login to the main webapp using a user called Test1 a personal site will be created as follows: https://onedrive.xxx.com/me/test1 If we login to the extended webAPP using the same user and using ADFS authentication a new personal site will be created as follows: http://onedrive.xxx.com/me/Test11 is it normal behavior because i expecting to access the same content with the same user regardless of the authentcation method. When checking the UPS service i can see two profiles for the same user as follows : i:05.t|xxx.com|test@xxx.com xxx\test Please i need to understand this point to see if this is normal or we missing something.3.5KViews0likes4Comments
Recent Blog Articles
No content to show