BitLocker on Windows 11

This cmdlet is deprecated. The Trusted Publishing Domain (TPD) for your organization is managed in

When running the below command to Import the RMS Trusted Publishing Domain, Import-RMSTrustedPublishingDomain -FileData $([byte[]](Get-Content -Encoding byte -Path “C:\AIP_Migration.xml” -ReadCount 0)) -Name “Windowstechpro TPD” -ExtranetLicensingUrl https://adrms.domain.com/_wmcs/licensing -IntranetLicensingUrl https://adrms.domain.com/_wmcs/licensing Getting the below Error, This cmdlet is deprecated. The Trusted Publishing Domain (TPD) for your organization is managed in Microsoft Azure Rights Management. For more information, see […]

Exchange Online using Azure RMS Online

How to Apply Custom Template for Exchange Online using Azure RMS Online

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 […]

Prevent Accidental Deletions in Azure

How to get AADRM Version Information

Run the below command to get AADRM PowerShell Module version installed in the local Machine. (Get-Module aadrm -ListAvailable).Version Run the below command in Elevated PowerShell to update the AADRM PowerShell Module Update-Module -Name AADRM Please refer to the article to know how to install AADRM PowerShell Module, #Azure #AzureAD #AzureRMS #AADRM

How to add domain users to the Local Groups using PowerShell

In this Article, we will see how to add user or users or Computer using Powershell. If you want to add users to the specific one Group, you can use the below command.. $domain=”Windowstechpro.com” $Computer = $env:COMPUTERNAME; $ADSIComputer = [ADSI](“WinNT://$Computer,computer”); $SGName = $ADSIComputer.psbase.children.find(‘Administrators’) function Groupmember($number) { $SGName.add(“WinNT://”+$domain+”/”+$number ) } Groupmember “radhakrishnan.govindan”  Groupmember “veterivel.Madeshwaran” In the […]

How to get AD Computers Report in Specific Date Format Using Powershell

How to get AD Computers Report in Specific Date Format Using PowerShell

In my Previous AD Powershell Post, I have showed how to generate AD Computers report with specific Paramenters, Wherein the LastLogonDate attribute value format will not be in the same format if your AD Infrastructure is not configured with specific time format. Below output report is an example,You will see the report date values are has […]

DNS Settings using Powershell

How to Update DNS Settings using PowerShell

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 […]

NTFS

Part3: What is an NTFS “advanced security scenario”?

In this article, we see about advanced security scenario for NTFS. Common NTFS folder is used to many organization is to set permissions such that users can create, update, delete and rename files, but not delete or rename folders or sub-folders.  Many organizations implement this approach to provide a consistent network folder structure for users to store […]

I automate

Part 2:How can I automate the process of sharing new folders in Server 2016?

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 […]

Set PowerShell Execution Policy for Current User

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 […]