×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
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
287
Answers
How to dismount the ISO file using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:55:04
To dismount the ISO file on the Windows Server using PowerShell, we need to use the Dismount−DiskImage command. When you use this command, you need to use the same path used for mounting the disk image.In this example, we have a disk mounted on E: on the local server, that ...
Read More
How to mount the ISO file using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:52:54
To mount the ISO file in Windows using PowerShell, we can use the Mount−DiskImage command. The below command will mount the image file stored at the C:\ISO location.Mount−DiskImage −ImagePath "C:\ISOs\Windows_Server_2016_Datacenter_EVAL_en−us_14393_refresh (1).ISO"OutputAttached : True BlockSize : 0 DevicePath : \\.\CDROM0 FileSize : 6972221440 ImagePath : C:\ISOs\Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh (1).ISO LogicalSectorSize : 2048 Number ...
Read More
How to convert JSON object to Hashtable format using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:52:26
PowerShell 7 supports the -AsHashtable parameter in the ConvertFrom−JSON command to convert the JSON to hashtable directly and that is a great feature. Consider we have the below JSON file, We can use the pipeline command ConvertFrom−JSON to convert the JSON file to the custom table format and with the ...
Read More
How to use the tree command in PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:50:54
Tree command graphically shows the folder structure of the given drive or a path. It is similar to Get−ChildItem or dir recursive command except this shows the graphical structure. For example, the below command will retrieve the folder structure of C:\VMs includingtree c:\VMsOutputThere are also two other switches supported for ...
Read More
How to change the TLS version in PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:49:32
Transport Layer Security known as TLS is a very important part while using URI commands such as Invoke−WebRequest or Invoke−Restmethod commands and package commands such as Find−Package or Install−Package because they interact on the internet and PowerShell needs TLS1.2 version for that.We may get the below errors when we use ...
Read More
How to format the disk using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:47:49
To format the disk using PowerShell, we can use the Format−Volume command. For example, we have to format the E: on the local server then we can use the simple format command as shown below.Format−Volume −DriveLetter E −Force −VerboseTo format the disk with the specific filesystem use the below command.Format−Volume ...
Read More
How to change the local disk name using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:47:20
To change the local disk name using PowerShell, we can use the Set−Volume command. For example, we have Drive name F and its volume label is “New Volume” and need to change it to the “Temporary Storage” then we can change the label using its existing volume name or with ...
Read More
How to change the Drive letter using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:45:34
To change the drive letter using PowerShell, we can use the Set−Partition command but before that, we need to know which drive letter to change. You can check the drive letter using Windows Explorer, Get−Partition, Gwmi win32_Logicaldisk, or Get−CimInstance Win32_Logicaldisk command.Suppose we have an E: and we need to rename ...
Read More
How to get the disk information using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:45:06
To get the Windows disk information using PowerShell, we can use the WMI command or the CIM class command.With the WMI command, Gwmi Win32_LogicalDiskWith the CIM instance method, Get−CimInstance Win32_LogicalDisk You can see both the outputs are identical. Let’s use one of them.DeviceID DriveType ProviderName VolumeName Size FreeSpace -------- --------- ...
Read More
How to install the Nuget Package using PowerShell?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 25-Jan-2021 11:43:06
Nuget is the package management tool for the .NET and it is similar to PowerShellGet, MSI packages which support several commands and packages to work with PowerShell.NuGet supports Install−Package, Update−Package, Find-Package, and Get−Package command and if Nuget package is not installed in your system, you may not find a package ...
Read More
1
2
3
4
5
6
7
...
29
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout