Showing posts with label Windows 10. Show all posts
Showing posts with label Windows 10. Show all posts

Tuesday, 6 July 2021

Empty Recycle Bin in Hidden Folder

After delete files from computer, you need to Empty Recycle Bin to free up disk space.


Once you have done the step above, the Empty Recycle Bin option will be greyed-out for selection.


If you still found hidden $Recycle.Bin folder in your drive, you can execute the command below as Administrator via Command Prompt.

rd /s R:\$RECYCLE.BIN



This will make sure your data is deleted and free up the available disk space . 

Wednesday, 30 September 2020

Connect-AzureAD : The term 'Connect-AzureAD' is not recognized

Working on Windows 10 2004 to execute powershell script and found that AzureAD module is not installed yet. 

Error Message: 

Connect-AzureAD : The term 'Connect-AzureAD' 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 path is correct and try again.

Executed command Install-Module AzureAD to install the module from Administrator powershell windows, another error prompt as below:

Error Message:

Install-Module : The 'Install-Module' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'. 


Perform check on Powershell Execution Policy and currently on Restricted state. 

Execute Set-ExecutionPolicy Unrestricted to unblock it and it's work !


Finally, I was able to connect AzureAD to continue the work.