Azure AD RMS (AADRM) is the Microsoft Cloud based Right Management Services which uses encryption, identity, and authorization policies to help secure your files and email, and it works across multiple devices—phones, tablets, and PCs. RMS Can be used in Hybrid Environment as well, so make sure you have gone through the deployment of RMS […]
When enabling Azure RMS for Exchange online using the below command, Set-IRMConfiguration -internallicensingenabled $true It ends with below error, since there us no RMS Trusted Publishing domains, it is not allowing us to Set. If you’re using RMS Online, Run the below command Import-RMSTrustedPublishingDomain –RMSOnline –Name “RMS Online” Now let’s again execute the command and […]
Issue: we tried to restore SPO Site, It failed with Error ” Couldn’t restore site . We couldn’t find the Office 365 group connected to this site.” Solution: It could be because the Owner/Group assigned SPO Site may not be available or deleted from the tenant. Hence that when we are restoring using GUI the […]
In this article, we will see how to modify the DNSSettings using PowerShell. it will help for the core server modifications as well. To get the Existing DNS Settings run the below command, Get-DnsClientServerAddress To modify the DNS Settings, use the below command, Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses (“10.99.3.50″,”10.1.13.178”) Note: Need to get Interface Index for […]
In this article we see about automate the process of sharing new folders by using PowerShell. You can automate the process of sharing new folders using PowerShell 3.0 . For example, To create and share folder, We could use the following commands in PowerShell, MD E:\Shares\ITDocuments New-SMBShare -Name ITDocuments -Path D:\Shares\ITDocuments -FolderEnumerationMode AccessBased -CachingModeITDocuments -EncryptData $True -FullAccess Everyone In […]
It is simple to get the Lastlogon time stamps for the computers using Active Directory Snap-in or importing the Active Directory module in the Normal PowerShell For one Computer, Open Active Directory Snap-in and run the below command with computer name for which you want to fetch the lastlogon time stamp Command Get-ADComputer -Identity ComputerName […]
Windows Server 2016 power-packed with lots of new features and also many of the enhanced features. In this article we will see what is new in Active Directory Federation Services(AD FS) theoretically and will cover practically how does it works in upcoming articles. Server 2016, AD FS got many new features which are listed. Sign in with […]
if you want to run the scripts or execute some downloaded scripts, You will end of with the error cannot be loaded because running scripts is disabled on this system. it happens by default,PowerShell is restricted with execution policy.Hence that it is not allowed to execute the PowerShell scripts. You can run the command Set-ExecutionPolicy […]
The Start-Transcript cmdlet creates a record of all or part of a Windows PowerShell session to a text file. The transcript includes all command that the user types and all output that appears on the console. Starting in Windows PowerShell 5.0, Start-Transcript includes the host name in the generated file name of all transcripts. This is especially useful when […]
Some time we will be having requirement to convert SID to Group/User Name or Group/User Name to SID. Here I will show you simple way to do that using PowerShell. How to Convert Group/User Name to SID: Syntax: $Name = “Group or User Name” (New-Object System.Security.Principal.NTAccount($Name)).Translate([System.Security.Principal.SecurityIdentifier]).value Example: $Name = “Trace-Restriction” (New-Object System.Security.Principal.NTAccount($Name)).Translate([System.Security.Principal.SecurityIdentifier]).value How to Convert SID to Group/User […]
- 1
- 2