PowerShell

 Few learnings on PowerShell:



Below commands are learnings from Udemy courseUdemy course:
To create a file: 
Syntax: New_Item -ItemType file <filename>
Example: New_Item -ItemType file Resume.doc

New_Item -ItemType file Resume.doc
New_Item -ItemType file Resume.doc

Create a function and running in PowerShell:
function touch {New-Item -ItemType File -Name ($args[0])}
touch filename







No comments:

Post a Comment