Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Microsoft Technologies Articles
Page 167 of 175
How to get/resolve the command from the alias in PowerShell?
To resolve the command name from given alias, you need to use the below command.$Alias:AliasNameFor example, $Alias:dirOR$Alias:lsOutputGet-ChildItemThis means the above commands will provide the same result. For example, the output of the below commands would remain the same.Get-ChildItem C:\ Dir C:\ ls COutputYou can also use Get-Alias to resolve the alias name. For example, Get-Alias -Name dirGet-Alias -Name lsUntil now we need to remember alias name to get the command and we were running individual commands to get the Alias and its command. It is possible to get all the alias names for the given command. To get all aliases ...
Read MoreWhat is an alias in PowerShell?
In general, Alias means giving command to other names. In system admin life, they want short and familiar commands. PowerShell has verb-noun cmdlets that are very systematic but not practical in everyday life. So the System admins use PowerShell alias. For example - Dir or ls for the Get-ChildItem, cat or gc for the Get-Content.
Read MoreHow to get the list of all the commands available in the PowerShell?
To get the list of all the commands installed in the system use the below command line. It will include all the Alias, Functions and Cmdlets.Get-CommandTo export them into the CSV file,Get-Command | Export-Csv D:\Temp\PowerShellcommands.csv - NoTypeInformationTo get only the cmdlets commands,Get-Command -CommandType CmdletSimilarly, you can get the commands for the alias and functions.If you want the list of commands starting with getting, you parameter –Verb.Get-Command -Verb GetTo get command starting with Set,Get-Command -Verb Set
Read MoreHow to start any program using PowerShell?
If you have noticed, you can start notepad and calculator or other standard system utilities with the Windows Run or through the PowerShell console directly by typing just their names, but not the wordpad.exe, word, excel or any other application. It will throw an exception.For example, just type notepad.exe in PowerShell console and it will open the program but type wordpad.exe there will be an error.wordpad.exe − The term 'wordpad.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the ...
Read MoreHow to use PowerShell as a Calculator? Or How to use PowerShell for arithmetic operations?
You can use the PowerShell console to perform arithmetic operations, the same way the calculator does.To do the addition operation, 2+3Output − 5For complex, additional operations as well it is too quick.10024455 + 554668 + 9964455Output − 20543578Floating numbers operation, 5569899.65 + 554886.32Output − 6124785.97To perform subtract operation, 55564488556 - 55141256665 Output − 423231891With Integer and floating number subtraction, 5569899 - 554886.32Output − 5015012.68Divide Operation, 556989 / 554Output − 1005.39530685921Multiplication operation, 5533 * 445Output − 2462185Multiple Operations, (445 + 5443) * 332 / 32 Output − 61088When you perform any arithmetic operation, when values separated by command, it will give ...
Read MoreHow to overwrite or remove PowerShell alias?
You can overwrite the Powershell alias by redefining it. For example, if the alias is created Edit for Notepad.exe and if you want to overwrite it with another program, say wordpad.exe then use the below command.We will overwrite the Edit alias cmdlet with Wordpad.exe using the Set-Alias command. When you close the PowerShell session, it will remove newly created aliases and modified aliases.Set-Alias edit "C:\Program Files\Windows NT\Accessories\wordpad.exe"You cannot overwrite pre-defined aliases. It will throw an exception.For example, when you try to modify dir alias which points to Get-Content, error output will be as below.To remove newly created aliases without closing ...
Read MoreHow to create an array in PowerShell?
To create or declare an array in PowerShell, there are few methods.You can directly assign values to the variable and separate it by comma (, ) and that variable becomes the variable.For example, $a = "Apple", "Dog", "Cat", "Banana", "Camel"$a is now an array. To access the variable you can use the Indexing method. The first value will be stored at 0, second at 1 and so on.$a[0] will give the output “Apple”, $a[1] will give the output “Dog” and so on. Negative indexing also works in the array. -1 is the last index, -2 is the second last and ...
Read MoreHow Microsoft’s Surface Pro 4 and Windows 10 beat Apple and Google in productivity?
The digital world has always been action packed and aggressively competitive since its existence. With exponentially continuous breakthroughs in the world of science and technology, the tech giants like Microsoft, Google, and Apple have been within a perpetual war against each other and the war doesn’t seem to come to an end in the near future.Unlike other kinds of war, whether real or virtual, instead of destructive consequences, this ‘tech-war’ only has constructive consequences bringing an immense amount of productivity for the end users like me and you. This competition in technology has shaped our present and will define our ...
Read MoreExploring ERP Modules of Oracle E-Business Suite
The acronym ERP stands for enterprise resource planning. It refers to the systems and software packages used by organizations to manage day-to-day business.Oracle E-Business Suite is one of the most reputed ERP product which is currently available in the market – developed by Oracle. In the world of enterprise resource planning, very few software products have really made to the top ranks when it comes to worldwide implementations. Based on market share – SAP, Microsoft Dynamics are the close vendors who try to get the ERP share in almost all the regions.What is Oracle E-Business Suite?Oracle’s E-Business Suite (also known ...
Read MoreWhat is Facebook Workplace? Can it compete with SLACK and Microsoft’s TEAMS?
Great companies work on enormous connections. It is the collaboration between employees which keeps the work going, ideas get shared instantaneously, decisions are taken faster, the entire team is updated, and stays on the same page at all times. These connections eventually drive employees to strive harder and perform to the best of their ability. In this article, we discuss the various enterprise social media for communication and collaboration: Facebook Workplace, Slack and Microsoft’s Teams and how they stand against each other in times of tough competition.Facebook WorkplaceBusiness ideas are needed to turn into action. Goals and expectations are required ...
Read More