You can use the following syntax to unhide a folder in PowerShell:
Set-ItemProperty -Path teams -Name Attributes -Value Normal
This particular example unhides the folder named teams in the current directory.
The following example shows how to use this syntax in practice.
Example: How to Unhide a Folder in PowerShell
We can use the Dir statement with the -Directory parameter to view all folders in our current directory:
Dir -Directory
The following screenshot shows how to use this syntax in practice:

This returns the names of two folders in our current directory.
To check if there are any hidden folders in the directory, we can use the -Hidden parameter:
Dir -Directory -Hidden
The following screenshot shows how to use this syntax in practice:

We can see that there is one hidden folder named teams in our current directory.
We can use the following syntax to unhide this folder:
Set-ItemProperty -Path teams -Name Attributes -Value Normal
The following screenshot shows how to use this syntax in practice:

Notice that when we run the Dir statement again the teams folder appears this time since it is no longer hidden.
Note: You can find the complete documentation for the Set-ItemProperty in PowerShell here.
Related Tutorials
The following tutorials explain how to perform other common tasks in PowerShell:
PowerShell: How to Show Hidden Files
PowerShell: How to Get File Name from Path
PowerShell: How to Get Last Folder in Path
