Skip to content

baur100/EM-CmdLet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EM-CmdLet

Assignment:

  • User has fields: Name, Address, Email from input and ID - auto by program
  • Users stores in XML file
  • I need to implement next commands:
    • CreateUser
    • ReportUser - Get List of all users
    • UpdateUser - (Inconsistent fields)
    • DeleteUser
    • Check for consistency (Address and Email field could be empty - That fields must be eliminated)

How to:

  • Download CmdLet.dll to Downloads folder
  • Run PowerShell
  • Use Import-Module %USERPROFILE%\Downloads\CmdLet.dll to import cmdlet
  • Use Get-Command -module CmdLet to get Command list
  • Get Help using Get-Help
  • First, you need to create XML file using New-File (File test-em.xml will be created at %USERPROFILE%\ folder)
  • Use Add-User to add users (Name field could not be empty)
  • Use Get-List to get user list
  • Use Remove-User to Remove user by ID
  • Use Get-Update to update user's address and email by ID
  • Use Get-Check to check users for empty address and email field
  • Have a fun)))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages