×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Tutorix
Login
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
Q/A
Library
eBooks
Courses
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
468
Answers
How to resolve - Relative path is not supported in PowerShell DSC?
PowerShell
Microsoft Technologies
Software & Coding
Chirag Nagrekar
Published on 01-Sep-2021 08:25:31
“Relative path is not supported” error generally occurs with the PowerShell DSC when we download a file from online or Website and we use “File” DscResource for that.In the below example, we are downloading the PowerShell 7.1.4 version from GitHub using DSC to the local computer and we get the ...
Read More
How to install DSC resources using PowerShell?
Microsoft Technologies
PowerShell
Software & Coding
Chirag Nagrekar
Published on 01-Sep-2021 08:20:26
To install the DSC resource using PowerShell, we can use the same command to install modules in PowerShell (Install-Module).The Find-DscResource command would get all the available DSC resources. To search the specific DSC resource, you can provide the -Name parameter in the Find-DscReource command. For example, we need to search for ...
Read More
How to generate multiple reports in HTML using PowerShell?
Software & Coding
Microsoft Technologies
PowerShell
Chirag Nagrekar
Published on 01-Sep-2021 08:17:20
To generate or append multiple outputs in the HTML file using PowerShell, we need to use the - Fragment parameter in the ConvertTo-HTML command.For example, let say we need to generate the computer utilization report which includes the top 5 consuming processes, stopped services, and the disk utilization report. A ...
Read More
How to generate an HTML report using PowerShell?
Microsoft Technologies
Software & Coding
PowerShell
Chirag Nagrekar
Published on 01-Sep-2021 08:13:28
To generate an HTML report using PowerShell, we can use the ConvertTo-HTML command. For example, let say we need to get the services to report in HTML format then we can use ConvertTo-HTML as a pipeline.Get-Service | ConvertTo-Html | Out-File C:\Temp\Services.html ii C:\Temp\services.htmlThe first command will retrieve the output in ...
Read More
How to create dynamic columns (headers) in CSV using PowerShell?
Software & Coding
Microsoft Technologies
PowerShell
Chirag Nagrekar
Published on 01-Sep-2021 08:07:17
To create dynamic columns or headers using CSV, we can use multiple methods but the one method that I find most suitable is the PSObject method.Let assume that your CSV column headers depend on the input provided by the user. Input can be a text file, user prompt for headers, ...
Read More
How to delete the azure blob (File) using Azure CLI in PowerShell?
PowerShell
Software & Coding
Microsoft Technologies
Chirag Nagrekar
Published on 01-Sep-2021 08:04:59
To delete the Azure blob using Azure CLI, we can use “az storage blob” command with the “delete” parameter. Before running this command, we first need to make sure that the azure account is connected (az login) and the proper subscription is set (az account set).To work with the azure ...
Read More
How to delete azure blob (file) from the Storage account using PowerShell?
PowerShell
Software & Coding
Microsoft Technologies
Chirag Nagrekar
Published on 01-Sep-2021 08:03:32
To delete the Azure blob from the azure storage account using PowerShell, we can use the RemoveAzStorageBlob command. Before running this command, we need to make sure that the Azure cloud account is connected (Connect-AzAccount) and the proper subscription is set in which the storage account resides (Set-AzContext).Once the above ...
Read More
How to get the Azure storage container blobs (files) using Azure CLI in PowerShell?
Microsoft Technologies
Software & Coding
PowerShell
Chirag Nagrekar
Published on 01-Sep-2021 08:01:53
To get the azure storage container blobs using Azure CLI, we can use “az storage account” along with the blob commands. If you are not connected to the Azure cloud then use “az login” and set the proper subscription using “az account set” before running the storage commands.To get access ...
Read More
How to get the Azure storage container blobs (Files) using PowerShell?
Microsoft Technologies
Software & Coding
PowerShell
Chirag Nagrekar
Published on 01-Sep-2021 07:59:31
To get blobs inside the Azure storage container using PowerShell, we will use the Get-AzStorageBlob command. . Before running this command, we need to make sure that the Azure cloud account is connected (Connect-AzAccount) and the proper subscription is set in which the storage account resides (Set-AzContext).To work with the ...
Read More
How to enable soft delete for Azure Storage blobs using Azure CLI in Powershell?
PowerShell
Software Testing
Microsoft Technologies
Chirag Nagrekar
Published on 01-Sep-2021 07:57:38
From the Azure portal, we need to access the Data Protection property of the Azure Storage account.To enable soft delete using Az CLI, you first need to install the storage-preview extension with the below command.az extension add -n storage-previewOnce the extension is installed, you need to make sure that you ...
Read More
Previous
1
2
3
4
5
6
7
...
47
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout