command syntax

#1. Write the command syntax to create a new Directory named “Homework” on the root of drive C:
#2. Write the command syntax to create a new Directory named “Scripting” within the C:Homework directory
#3. Write the command syntax to create a .txt file named Document.txt # The file should be created within the “Scripting” directory you created in the previous question.
#4. Write the command syntax to remove the C:Homework directory (including all it’s contents)
#5. Write the PowerShell syntax to get the contents of the Client DNS Cache and save the output in a .txt file# named DNSInfo.txt on the root of drive C:
#6. Write the PowerShell syntax to get a list of local user accounts and save the output# in a .txt file named WindowsUsers.txt on the root of the drive C:
#7. Write the PowerShell syntax to get the 15 most recent eventlog entries from the application log (only display error logs)# and save the output in a .txt file named Errorlogs.txt on the root of drive C:
#8. Write the PowerShell syntax to obtain all Processes, Convert the data into Html format, and save the output in a file# named “Processes.Html” on the root of drive C:
#9. Write the PowerShell syntax to get a list of installed PowerShell Modules and save the output# in a .txt file named InstalledModules.txt on the root of drive C:
#10. Write the command syntax to get a list of available PowerShell Modules (Modules availiable to install) and save the output# in a .txt file named AvailiableModules.txt on the root of drive C: