Use of Force Parameter in Get-ChildItem in PowerShell

Chirag Nagrekar
Updated on 23-Jan-2020 07:41:17

905 Views

To display files along with hidden files, you need to use –Force parameter.CommandGet-ChildItem D:\Temp\ -ForceOutputIf you see the above output, hiddenfile.xlsx is the hidden file and same can be identified with the mode where –a-h—attribute of the file.You can also use this parameter with –Recurse or –Depth.Get-ChildItem D:\Temp\ -Recurse -Force

Make Free Calls Without Internet

Samual Sam
Updated on 23-Jan-2020 07:41:16

2K+ Views

People having access to Wifi can easily make free and cheap calling, but what, if they do not have an internet connection. Given below is a list of a few companies which have developed clever programs which helps the users to make free calls or calls at highly reduced rates.Leveraging FreeKall ServiceFreeKall is a startup company, based in Bangalore. It is a savior for many, as it helps them to make calls even when their balance is running out on their mobile phone. The Master brain behind this startup is Yashas Sekhar, the company has received an incredible response from ... Read More

Display Files and Folders Including Hidden Files in PowerShell

Chirag Nagrekar
Updated on 23-Jan-2020 07:40:15

668 Views

To display files along with hidden files, you need to use –Force parameter.CommandGet-ChildItem D:\Temp\ -ForceOutputIf you see the above output, hiddenfile.xlsx is the hidden file and same can be identified with the mode where –a-h—attribute of the file.You can also use this parameter with –Recurse or –Depth.Get-ChildItem D:\Temp\ -Recurse -Force

Get Only Hidden Files and Folders in PowerShell

Chirag Nagrekar
Updated on 23-Jan-2020 07:38:59

1K+ Views

To display only hidden files and folders –hidden parameter is used while using Get-ChildItem.CommandGet-ChildItem D:\Temp\ -HiddenOutputPS C:\WINDOWS\system32> Get-ChildItem D:\Temp\ -Hidden     Directory: D:\Temp Mode                LastWriteTime         Length Name ----                -------------         ------ ---- -a-h--       13-12-2019     09:52           6182 Hiddenfile1.xlsxCommandSimilarly, you can use this –Hidden with –Recurse or–DepthGet-ChildItem D:\Temp\ -Recurse -HiddenOutputPS C:\WINDOWS\system32> Get-ChildItem D:\Temp\ -Recurse -Hidden     Directory: D:\Temp Mode                LastWriteTime         Length Name ----                -------------         ------ ---- -a-h--       13-12-2019     09:52           6182 Hiddenfile1.xlsx     Directory: D:\Temp\GPO_backup Mode                LastWriteTime         Length Name ----                -------------         ------ ---- -a-h--       13-12-2019     09:52              0 HiddenFile2.txt

Use Depth Parameter in Get-ChildItem in PowerShell

Chirag Nagrekar
Updated on 23-Jan-2020 07:38:08

3K+ Views

When –Depth parameter is used along with Get-ChildItem, it controls the recursion of displaying the subfolders and their contents. For example, if –Depth parameter is set to 1 then it will display only the content of the parent folder and immediate subfolders but not the subfolders of the subfolders.CommandWhen you specify –Depth parameter, no need to add –Recursion parameter. It will automatically set the depth level.Get-ChildItem D:\Temp\ -Depth 1OutputPS C:\WINDOWS\system32> Get-ChildItem D:\Temp\ -Depth 1     Directory: D:\Temp Mode                LastWriteTime         Length Name ----             ... Read More

Monitor MySQL Performance Using Mytop on CentOS 7

Samual Sam
Updated on 23-Jan-2020 07:37:29

807 Views

In this article, we will learn how to install and configure the Mytop to monitor the MySQL performance. Mytop is an open-source monitoring tool for MySQL performance, this tool uses command line to monitor MySQL, it looks like the Linux System monitoring tool top which will connect to MySQL and runs the show process list and show global status commands and summarize the information in a meaning-full format where the humans can understand it. We can use mtop for monitor the MySQL real-time threads, uptime and queries and will also show the users running the queries and the database they ... Read More

Control Recursion in Get-ChildItem in PowerShell

Chirag Nagrekar
Updated on 23-Jan-2020 07:37:03

1K+ Views

When –Depth parameter is used along with Get-ChildItem, it controls the recursion of displaying the subfolders and their contents. For example, if –Depth parameter is set to 1 then it will display only the content of the parent folder and immediate subfolders but not the subfolders of the subfolders.CommandWhen you specify –Depth parameter, no need to add –Recursion parameter. It will automatically set the depth level.Get-ChildItem D:\Temp\ -Depth 1OutputPS C:\WINDOWS\system32> Get-ChildItem D:\Temp\ -Depth 1     Directory: D:\Temp Mode                LastWriteTime         Length Name ----             ... Read More

Motivate Your Team to Increase Productivity

Samual Sam
Updated on 23-Jan-2020 07:35:59

173 Views

We often see spiritual and motivational leaders on television who gives non-stop speeches on motivation. Whether by following those speeches you will feel motivated or not is a different topic to discuss, at least not following them may not affect your work. But if your team is not motivated in the workplace then it seriously affects your project work.Now, the world is becoming more and more competitive where there is scope for only motivated and dedicated resources to run a successful business or venture. A dull and sluggish work environment can kill the spirit and ruin your project. So, it ... Read More

Nanosensors: How Our Plants and Animals Know It Long Before

karthikeya Boyini
Updated on 23-Jan-2020 07:35:49

224 Views

Do you know that the invention of Nanotechnology for which we are patting our back actually exists in our world from the beginning? Yes, some of our plants and animals have that special capability of Nanosensors inbuilt in their body to carry out some special functions? The awesome technology which we discovered recently is not new for them. They have been using the Nanosensors since their creation in this world. They have that special ability to detect the minute particle for which we are taking help of Nanosensors.You may be aware that, Nanosensors are one of the great inventions of ... Read More

Configure and Secure SFTP on Ubuntu 16.04

Sharon Christine
Updated on 23-Jan-2020 07:34:09

337 Views

In this article, we will learn about how to configure SFTP without enabling the shell access on Ubuntu 14.04, SSH File Transfer Protocol (SFTP) which is a secure way to transfer files from various a servers are to a server using the SSH encrypted connections, which is a different protocol from File Transfer Protocol (FTP) which is supported by all the FTP clients.Protocol (SFTP) is a secure way to transfer files from various servers to a server using the SSH encrypted connections, which is a different protocol from File Transfer Protocol (FTP) that is supported by all the FTP clients.SFTP ... Read More

Advertisements