- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Chirag Nagrekar has Published 465 Articles
Chirag Nagrekar
1K+ Views
We can find the DNS name of the VM from the Azure Portal as shown below from the Azure VM Overview tab.This DNS setting is associated with the Public IP address. To retrieve the DNS settings we first need to retrieve the Public IP details. For this example, suppose we ... Read More
Chirag Nagrekar
1K+ Views
To retrieve the Azure Virtual Network (vNet) or subnet name, we need the first name of the network interface of the VM. Below is the command to retrieve the name of the network interface.$vm = Get-AzVM -VMName Testmachine2k16TestMachine2k16 is the Azure VM name. Assuming this VM has a single NIC ... Read More
Chirag Nagrekar
1K+ Views
To retrieve the Azure VM NIC using PowerShell, we need to first get the VM details. For this example, we have the VM name “TestMachine2k16”. To retrieve the VM details use the Get-AzVM command but before that make sure you are connected to the Azure Account using PowerShell session.PS C:\> ... Read More
Chirag Nagrekar
1K+ Views
To install the MSI package using DSC, we need to use the DSC resource “Package”. Let see which properties are available for this resource.PS C:\> Get-DscResource -Name Package | Select -ExpandProperty Properties Name PropertyType IsMandatory Values ---- ------------ ----------- ------ Name [string] True {} Path [string] True {} ProductId ... Read More
Chirag Nagrekar
5K+ Views
To get the IIS application pool names using PowerShell, you need to use the IIS PSDrive but for that, we need the IIS PowerShell module WebAdministration or IISAdministration on the server we are running the command.If the WebAdministration module is already installed, use the below command to import the module.Import-Module ... Read More
Chirag Nagrekar
4K+ Views
All the new user profiles are created on the windows system at the path, 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\'To retrieve all the user profiles, we can usegci 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\' | ForEach-Object { $_.GetValue('ProfileImagePath') }ProfileImagePath property shows the location of the user profiles.Another way to retrieve the User Profile is using WMI.PS C:\> gwmi ... Read More
Chirag Nagrekar
2K+ Views
To get the IIS application Pool to recycle settings using GUI, you need to check the Application pool advanced settings.To retrieve the above settings using PowerShell, we can use the Get-IISAppPool command with the specific application pool name. We have the application pool, DefaultAppPool and we need to retrieve its ... Read More
Chirag Nagrekar
575 Views
Using GUI from the IIS Manager, you can get the Application Pool Failure settings using App pool advanced settings from the Rapid-Fail Protection section as shown below.To retrieve the above settings using PowerShell, (Get-IISAppPool -Name DefaultAppPool).failureTo run the above command we need the IISAdministration module. You can retrieve the same ... Read More
Chirag Nagrekar
777 Views
From the GUI, to retrieve the Application Pool queue length you need to check the Advanced Settings of the Application Pool.To get the IIS application Pool queue length using PowerShell, first, we need to the application pool name. There are two ways (and maybe others) to retrieve once we have ... Read More
Chirag Nagrekar
6K+ Views
To retrieve the OS details of the Azure VM, we need to use the Get-AzVM command.ExampleGet-AzVM -VMName TestMachine2k16When you run the above command, it retrieves the VM TestMachine2k16 information and there is an OSType property which shows that if the VM’s OS is Linux or Windows, or any other type.But ... Read More
To Continue Learning Please Login
Login with Google