PowerShell (DNS Record)

PowerShell (DNS Record)

PowerShell (DNS Record)

How to check DNS records on domain by PowerShell?

To check the DNS records of a domain using PowerShell, you can use the Resolve-DnsName cmdlet. Here’s how you can do it:

  • Open PowerShell:
  • Launch PowerShell by searching for “PowerShell” in the Start menu
  • or by pressing Win + X and selecting “Windows PowerShell”
  • open “Windows PowerShell (Admin)”.

Run the command: In the PowerShell window, run the following command:

Powershell code:

Resolve-DnsName -Name example.com

Replace “example.com” with the actual domain you want to check. This command will query the DNS records for the specified domain.

View the results:

The command will display the DNS records associated with the domain.

The output will include information like the record type, record name, TTL (Time to Live), and the corresponding IP address or other data.

Here’s an example of the output you might see:

Name Type TTL Section IPAddress
—- —- — ——- ———
A     3600   Answer 192.0.2.123
MX 3600   Answer 10 mail.example.com
NS  86400 Answer ns1.example-dns.com
NS  86400 Answer ns2.example-dns.com

This output indicates that the domain “example.com” has an A record pointing to the IP address 192.0.2.123, an MX record specifying the mail server as “mail.example.com,” and two NS records specifying the authoritative name servers as “ns1.example-dns.com” and “ns2.example-dns.com.”

By using the Resolve-DnsName cmdlet with the appropriate domain name, you can obtain the DNS records for any domain.

 

If you want to see our learning about this topic, you can click here

 

PowerShell (DNS Record)

PowerShell (Install Calculator)

PowerShell (Install Calculator)

To install the Windows 10 calculator using PowerShell, you can follow these steps:

  • Open PowerShell :
  • Press the Windows key,
  • type “PowerShell,” and click on “Windows PowerShell” in the search results.
  • Make sure to run PowerShell as an administrator.

Run the following command to install the Windows Calculator app from the Microsoft Store:

PowerShell code:

Get-AppxPackage -Name Microsoft.WindowsCalculator | Add-AppxPackage

 

Wait for the command to execute. It will download and install the Windows Calculator app from the Microsoft Store.

Once the installation is complete, you can close PowerShell.

After following these steps, you should have the Windows 10 calculator app installed on your system. You can find it by searching for “Calculator” in the Start menu or by looking in the “All Apps” list.

 

If you want to see our learning about this topic, you can click here

 

گروه دینامیک

گروه دینامیک

 Dynamic Group – Azure Active Directory

گروه دینامیک

یک گروه دینامیک نوع خاصی از گروه است که با یک قانون یا معیار به جای لیست ایستا از اعضا تعریف می شود. گروه‌های پویا می‌توانند برای مدیریت دسترسی به منابع بر اساس ویژگی‌های کاربر، مانند بخش، عنوان شغل یا مکان مفید باشند. به عنوان مثال، می توانید یک گروه پویا برای همه کاربران در بخش “بازاریابی” ایجاد کنید و سپس به آن گروه دسترسی به منابع مرتبط با بازاریابی را بدهید

 سرویس مدیریت هویت و دسترسی مبتنی بر ابر مایکروسافت است. این به سازمان‌ها اجازه می‌دهد تا هویت کاربران و دسترسی به منابع را در برنامه‌های مختلف مبتنی بر ابر و درون محل مدیریت کنند.

:برای ایجاد یک گروه پویا در اکتیودایرکتوری ، می توانید مراحل زیر را دنبال کنید

به پورتال بروید و با حساب مدیر خود وارد شوید
به سرویس اکتیو دایرکتوری بروید
روی “گروه ها” و سپس “گروه جدید” کلیک کنید
“گروه پویا” را به عنوان نوع گروه انتخاب کنید
یک نام و توضیحات به گروه بدهید
قاعده یا معیارهایی را تعریف کنید که عضویت گروه را تعیین می کند

می‌توانید از بین ویژگی‌های مختلفی مانند بخش، عنوان شغل یا مکان انتخاب کنید و مقادیری را که باید گنجانده شوند را مشخص کنید
تنظیمات گروه را بررسی و تایید کنید و سپس روی “ایجاد” کلیک کنید تا گروه ایجاد شود

هنگامی که یک گروه پویا ایجاد کردید، می توانید از آن برای مدیریت دسترسی به منابع در اکتیودایرکتوری یا سایر برنامه هایی که از احراز هویت اکتیودایرکتوری پشتیبانی می کنند استفاده کنید. همچنین می توانید کاربران را به صورت دستی از گروه اضافه یا حذف کنید یا قانون عضویت گروه را تغییر دهید تا عضویت به صورت پویا تنظیم شود

اکنون با ما همراه باشید تا ویدئو جلسه اول را از کانال یوتوب ما ببینیم

 

 

 برای مشاهده تمام آموزش ها میتوانید اینجا کلیک کنید

گروه دینامیک

Dynamic Group

Dynamic Group

In Azure AD, a dynamic group is a special type of group that is defined by a rule or criteria rather than by a static list of members. Dynamic groups can be useful for managing access to resources based on user attributes, such as department, job title, or location. For example, you could create a dynamic group for all users in the “Marketing” department, and then grant access to marketing-related resources to that group.

Azure Active Directory (Azure AD) is Microsoft’s cloud-based identity and access management service. It allows organizations to manage user identities and access to resources across different cloud-based and on-premises applications.

To create a dynamic group in Azure AD, you can follow these steps:
  • Go to the Azure portal and sign in with your Azure AD administrator account.
  • Navigate to the “Azure Active Directory” service.
  • Click on “Groups” and then “New group”.
  • Select “Dynamic group” as the group type.
  • Give the group a name and description.
  • Define the rule or criteria that will determine the membership of the group. You can choose from a variety of attributes, such as department, job title, or location, and specify the values that should be included.
  • Review and confirm the group settings, and then click “Create” to create the group.

Once you have created a dynamic group, you can use it to manage access to resources in Azure AD or other applications that support Azure AD authentication. You can also add or remove users from the group manually or modify the group membership rule to adjust the membership dynamically.

 

Now, let’s to see the video from our YouTube channel:

 

You can find all learning for Azure by clicking here.

GPO – Create Shortcut

GPO: Create Shortcut

GPO: Create Shortcut

Today’s tutorial will show you how to easily create a desktop shortcut from a shared folder on your server.

In this video, we will be demonstrating how to create a shortcut from a shared folder by using GPO on your server in just a few simple steps.

let’s to see video from our YouTube channel

Please check more videos for This Topic