දැනට තිබෙන පාඩම්...
Tuesday, January 22, 2019
What is PowerShell -1
PowerShell mainly using by system administrators and system engineers to their daily work. This task based command line mainly created by using .NET . Mostly system admins using this kind of command lines to automate tasks which will use to manage all kind of operating systems.
From the powershell, you can manage the computers from command line. You know that there are several data stores like registry and certificate store. You can very easily access the above two data stores like file management system by the PowerShell. PowerShell is a cross platformed open source product. You can contribute the open source project by clicking here.
There are number of versions in PowerShell before. The first version of PowerShell is created using .NET Framework and it was only for windows computers. The latest version of PowerShell, PowerShell Core is made by .NET Core 2.x and it currently working with Windows OS, Mac OS and Linux Platforms.
If you are intereted in PowerShell 6 or any other version which comes after the version 6, you have to install the PowerShell Core. In Windows there are two main methods to use powershell. You can use Windows PowerShell and Windows PowerShell ISE as PowerShell. When it comes to windows servers, servers which include a GUI - Graphical User Interface we're calling them as DESKTOP editions. For the servers which do not include GUIs, we calling them as CORE editions.
If you are using a core edition of windows, when you logged in you will display a command prompt. To start script, just type shellscript in the command prompt and press enter. Then it will automatically go to script. But if you want to out from the shellscript, just type the "exit". To open the shellscript in a desktop edition, just click the windows button in left lower corner and type "shellscript" or "shellscript ISE" for your need.
Assume that you want to check the version of ShellScript to continue your work. Just open the ShellScript window and type $PSVersionTable and press Enter. Then there will be list of values in here like, PSVersion, PSEdition, PSCompatibleVersions, BuildVersion, CLRVersion, WSManStackVersion, PSRemotingProtocolVersion, SerializationVersion. Just pickup the value of PSVersion value as the current version of your ShellScript.
If you want to run the ShellScript with administrative privilages, just click on the windows button in left corner and type shellscript, then the shellscript will get display. Then right-click it and select "run as administrator". Then it will open with administrative privilages.
Let's talk about components and ShellScript language on next article. Regards then :D
Subscribe to:
Post Comments (Atom)
-
පහුගිය පාර අපි කථා කළා ඉස්සර කාලෙ පාවිච්චි වුනු Cipers ගැන. අද අපි කථා කරන්න යන්නෙ අද කාලෙ පාවිච්චි වෙන Cryptosystems ගැන නැත්නම් Modern Cry...
-
තවත් පරක්කු කරන්නේ මොකටද කියලා අපේ අලුත් පාඩමේ දෙවෙනි කොටසටත් අපි අාවා. අද කොටසෙන් අපි කථා කරන්නේ Information Security Management ගැන...
-
කෝමද යාලුවනේ ටික කාලෙකට පස්සෙ අායෙත් වැඩ පටාාාාන් ගත්තා... අද අපි පටන් ගන්නවා web ගැන ඉගෙන ගන්න. මුලින්ම කථා කලොත් web site හදන්නෙ කො...
What is PowerShell -1
PowerShell mainly using by system administrators and system engineers to their daily work. This task based command line mainly created by ...
No comments:
Post a Comment