#powershell thiyagu dotnet-helpers.com tutorial
Explore tagged Tumblr posts
dotnet-helpers-blog · 6 years ago
Text
How to Use PowerShell to Detect Logins and Alert Through Email using SendGrid
How to Use PowerShell to Detect Logins and Alert Through Email using SendGrid
Tumblr media
From Microsoft MSDN, The Get-WinEvent data from event logs that are generated by the Windows Event Log technology introduced in Windows Vista.And, events in log files generated by Event Tracing for Windows (ETW).By default, Get-WinEvent returns event information in the order of newest to oldest.
Get-winevent: Gets events from event logs and event tracing log files on local and remote computers.…
View On WordPress
0 notes
dotnet-helpers-blog · 6 years ago
Text
How to Use Multidimensional arrays in Powershell
How to Use Multidimensional arrays in Powershell
Tumblr media
Before I show you how multi-dimensional arrays work, let we start what is an array. By default, PowerShell assumes that the elements of an array are of the type variant. This means that you can mix different data types—that is, combine numerical values, dates, or strings in a single variable. The data elements of a PowerShell array need not be of the same type, unless the data type is declared…
View On WordPress
0 notes
dotnet-helpers-blog · 7 years ago
Text
How to Compare Two Files, and List Differences
How to Compare Two Files, and List Differences
What is Compare-Object cmdlet do? The Compare-Object cmdlet compares two sets of objects. One set of objects is the “reference set,” and the other set is the “difference set”. The below format will be out of the comparison. Indicates that property value appears only in the -differenceObject. == Indicates that both property value appears same. Example: In the Compare-Object cmdlet, there are two…
View On WordPress
0 notes
dotnet-helpers-blog · 7 years ago
Text
What's New With PowerShell
What’s New With PowerShell
Windows PowerShell® 5.0 includes significant new features that extend its use, improve its usability, and allow you to control & manage Windows-based environments more easily. Windows Server 2012 R2 introduced the notion of Desired State Configuration, PowerShell 5.0 advances this concept through OneGet. OneGet is a new module which way to search and install hundreds of software packages from the…
View On WordPress
0 notes
dotnet-helpers-blog · 7 years ago
Text
Windows PowerShell System Requirements
This topic we are going to discuss about the system requirements for Windows PowerShell 5.0 and its special features, such as Windows PowerShell Integrated Scripting Environment (ISE), CIM commands, and workflows. Note: Windows® 8.1 and Windows Server® 2012 R2 include all required programs so no need to install any thing special to work on powershell. This topic is designed for users of earlier…
View On WordPress
0 notes
dotnet-helpers-blog · 7 years ago
Text
5 - Getting Help Information
5 – Getting Help Information
The PowerShell includes detailed Help topics that explain PowerShell concepts. There are also Help topics for each cmdlet and provider and Help topics for many functions and scripts. Getting Help for Cmdlets To get Help about Windows PowerShell cmdlets, use the Get-Help cmdlet. Here let we see some of the cmdlets help. To get a list of all the cmdlet Help topics in your session use below,…
View On WordPress
0 notes
dotnet-helpers-blog · 7 years ago
Text
4 - How to validate the version of installation
4 – How to validate the version of installation
We can use $PSVersionTable.PSVersion to determine the engine version. If the variable does not exist is shown then it is safe to assume the engine is version 1.0 We also use,$Host, get-host , $PSVersionTable to get deep information about our power shell tool. Please find the snap for how to get the details.
View On WordPress
0 notes