Powershell Functions
Explore all available Powershell functions on AutoCodeWizard. Click a function to view more details and the code implementation.
["APIs","Active Directory","Backup & Restore","Cloud Management","Compute","Configuration","Email","File Management","Google Cloud","Identity and Access Management","Log Management","Log Monitoring","Network Operations","Project Management","Registry Management","Security","Service Management","Storage","System Information","System Maintenance","System Monitoring","Task Scheduling","User Management","Virtualization"]
[{"func_name":"get_system_info","func_desc":"Retrieve basic system information (OS, CPU, RAM).","func_category":"System Information"},{"func_name":"backup_files","func_desc":"Copy files to a backup location.","func_category":"Backup & Restore"},{"func_name":"send_smtp_email","func_desc":"Send an email using SMTP.","func_category":"Email"},{"func_name":"check_process_status","func_desc":"Check if a specific process is running.","func_category":"System Monitoring"},{"func_name":"get_network_adapters","func_desc":"List all network adapters and their statuses.","func_category":"Network Operations"},{"func_name":"monitor_event_logs","func_desc":"Monitor Windows event logs for specific events.","func_category":"Log Monitoring"},{"func_name":"get_service_status","func_desc":"Check the status of a Windows service.","func_category":"Service Management"},{"func_name":"start_windows_service","func_desc":"Start a Windows service.","func_category":"Service Management"},{"func_name":"stop_windows_service","func_desc":"Stop a Windows service.","func_category":"Service Management"},{"func_name":"list_installed_programs","func_desc":"List all installed programs.","func_category":"System Information"},{"func_name":"compress_directory","func_desc":"Compress a directory into a zip file.","func_category":"File Management"},{"func_name":"read_registry_key","func_desc":"Read a specific Windows registry key.","func_category":"Registry Management"},{"func_name":"clear_event_logs","func_desc":"Clear Windows event logs.","func_category":"Log Management"},{"func_name":"get_disk_usage","func_desc":"Retrieve the current disk usage.","func_category":"System Monitoring"},{"func_name":"download_file","func_desc":"Download a file from the internet using PowerShell.","func_category":"[\"File Management\"]"},{"func_name":"get_user_list","func_desc":"List all users on the local machine.","func_category":"User Management"},{"func_name":"set_ip_address","func_desc":"Set the IP address for a network adapter.","func_category":"Network Operations"},{"func_name":"get_wifi_passwords","func_desc":"Retrieve saved WiFi passwords.","func_category":"Security"},{"func_name":"ping_device","func_desc":"Ping a device on the network and return the result.","func_category":"Network Operations"},{"func_name":"get_uptime","func_desc":"Check how long the system has been running.","func_category":"System Monitoring"},{"func_name":"monitor_system_performance","func_desc":"Monitor system performance metrics (CPU, memory, disk usage) in real-time and log the data to a file.","func_category":"System Monitoring"},{"func_name":"active_directory_user_audit","func_desc":"Audit Active Directory users by extracting information on password expiration, login activity, and account status.","func_category":"Active Directory"},{"func_name":"automated_patch_deployment","func_desc":"Deploy Windows updates across multiple servers automatically using PowerShell Remoting and WSUS.","func_category":"System Maintenance"},{"func_name":"backup_and_restore_sql_server","func_desc":"Automate backup and restore operations for SQL Server databases, with logging and error handling.","func_category":"Backup & Restore"},{"func_name":"automated_task_scheduler","func_desc":"Create, modify, and manage scheduled tasks on Windows servers and workstations programmatically.","func_category":"Task Scheduling"},{"func_name":"cloud_resource_management","func_desc":"Manage Azure or AWS cloud resources (e.g., VMs, storage, networks) using PowerShell commands.","func_category":"Cloud Management"},{"func_name":"file_integrity_monitor","func_desc":"Monitor files and folders for changes in integrity by calculating hash values and comparing them periodically.","func_category":"File Management"},{"func_name":"generate_system_health_report","func_desc":"Generate a detailed system health report, including installed software, hardware details, and performance logs.","func_category":"System Information"},{"func_name":"automate_certificate_renewal","func_desc":"Automate SSL\/TLS certificate renewal on Windows Servers and bind them to IIS websites.","func_category":"Security"},{"func_name":"migrate_files_to_azure_blob","func_desc":"Move large files or directories to Azure Blob Storage and track upload progress.","func_category":"Cloud Management"},{"func_name":"active_directory_group_management","func_desc":"Automate the creation, deletion, and modification of Active Directory groups, including membership changes.","func_category":"Active Directory"},{"func_name":"automate_software_installation","func_desc":"Install or uninstall software packages remotely across multiple machines using PowerShell and Group Policy.","func_category":"System Maintenance"},{"func_name":"disk_space_alert_system","func_desc":"Set up alerts for low disk space on critical servers, including automatic notification via email or Teams.","func_category":"System Monitoring"},{"func_name":"user_profile_migration_tool","func_desc":"Migrate user profiles from one system to another, preserving data, settings, and permissions.","func_category":"User Management"},{"func_name":"real_time_log_monitoring","func_desc":"Monitor event logs or specific application logs in real-time and trigger actions based on log entries.","func_category":"Log Monitoring"},{"func_name":"hyper_v_vm_management","func_desc":"Automate the provisioning, configuration, and monitoring of Hyper-V virtual machines.","func_category":"Virtualization"},{"func_name":"network_latency_diagnoser","func_desc":"Diagnose and analyze network latency by running a series of pings and traceroutes and generating a report.","func_category":"Network Operations"},{"func_name":"manage_dns_records","func_desc":"Add, modify, or delete DNS records on a Windows DNS server using PowerShell and automate common tasks.","func_category":"Network Operations"},{"func_name":"automated_disk_cleanup","func_desc":"Automate disk cleanup by identifying and removing temporary files, log files, and old backups to free space.","func_category":"System Maintenance"},{"func_name":"user_onboarding_offboarding_automation","func_desc":"Automate user onboarding and offboarding processes by managing AD accounts, permissions, mailboxes, and software licenses.","func_category":"User Management"},{"func_name":"get_ad_user_groups","func_desc":"Retrieve all the groups a specified user is a member of in Active Directory.","func_category":"Active Directory"},{"func_name":"get_ad_group_members","func_desc":"List all members of a specified Active Directory group.","func_category":"Active Directory"},{"func_name":"create_ad_user","func_desc":"Create a new user in Active Directory with specified properties.","func_category":"Active Directory"},{"func_name":"disable_ad_user","func_desc":"Disable an existing Active Directory user.","func_category":"Active Directory"},{"func_name":"enable_ad_user","func_desc":"Enable a previously disabled Active Directory user.","func_category":"Active Directory"},{"func_name":"move_ad_user_to_ou","func_desc":"Move an Active Directory user to a different organizational unit (OU).","func_category":"Active Directory"},{"func_name":"reset_ad_user_password","func_desc":"Reset the password for a specified Active Directory user.","func_category":"Active Directory"},{"func_name":"add_ad_user_to_group","func_desc":"Add a user to a specified Active Directory group.","func_category":"Active Directory"},{"func_name":"remove_ad_user_from_group","func_desc":"Remove a user from a specified Active Directory group.","func_category":"Active Directory"},{"func_name":"join_computer_to_domain","func_desc":"Join a computer to an Active Directory domain.","func_category":"Active Directory"},{"func_name":"get_ad_computer_info","func_desc":"Retrieve detailed information about a computer in Active Directory.","func_category":"Active Directory"},{"func_name":"create_ad_group","func_desc":"Create a new security group in Active Directory.","func_category":"Active Directory"},{"func_name":"delete_ad_user","func_desc":"Delete a specified user from Active Directory.","func_category":"Active Directory"},{"func_name":"unlock_ad_user_account","func_desc":"Unlock a user's account that is locked in Active Directory.","func_category":"Active Directory"},{"func_name":"get_ad_user_last_logon","func_desc":"Retrieve the last logon date and time for a specified Active Directory user.","func_category":"Active Directory"},{"func_name":"check_ad_user_password_expiry","func_desc":"Check when a user\u00e2\u20ac\u2122s password is set to expire in Active Directory.","func_category":"Active Directory"},{"func_name":"set_ad_user_profile_path","func_desc":"Set the profile path for a user in Active Directory.","func_category":"Active Directory"},{"func_name":"create_ad_organizational_unit","func_desc":"Create a new organizational unit (OU) in Active Directory.","func_category":"Active Directory"},{"func_name":"remove_ad_group","func_desc":"Delete a specified group from Active Directory.","func_category":"Active Directory"},{"func_name":"get_ad_user_manager","func_desc":"Retrieve the manager information for a specified Active Directory user.","func_category":"Active Directory"},{"func_name":"Get-GCPVMInstances","func_desc":"List all virtual machine instances in a Google Cloud project using the GCP Compute API.","func_category":"[\"Google Cloud\",\"Compute\"]"},{"func_name":"New-GCPVMInstance","func_desc":"Create a new virtual machine instance in Google Cloud using the GCP Compute API.","func_category":"[\"Google Cloud\",\"Compute\"]"},{"func_name":"Start-GCPVMInstance","func_desc":"Start a virtual machine instance in Google Cloud using the GCP Compute API.","func_category":"[\"Google Cloud\",\"Compute\"]"},{"func_name":"Stop-GCPVMInstance","func_desc":"Stop a running virtual machine instance in Google Cloud using the GCP Compute API.","func_category":"[\"Google Cloud\",\"Compute\"]"},{"func_name":"Remove-GCPVMInstance","func_desc":"Delete a virtual machine instance in Google Cloud using the GCP Compute API.","func_category":"[\"Google Cloud\",\"Compute\"]"},{"func_name":"Get-GCPStorageBuckets","func_desc":"List all Google Cloud Storage buckets in a specific project using the GCP Storage API.","func_category":"[\"Google Cloud\",\"Storage\"]"},{"func_name":"New-GCPStorageBucket","func_desc":"Create a new Google Cloud Storage bucket using the GCP Storage API.","func_category":"[\"Google Cloud\",\"Storage\"]"},{"func_name":"Set-GCPBucketPermissions","func_desc":"Set IAM permissions for a Google Cloud Storage bucket using the GCP IAM API.","func_category":"[\"Google Cloud\",\"Storage\",\"Security\"]"},{"func_name":"Get-GCPBucketFiles","func_desc":"List all files in a Google Cloud Storage bucket using the GCP Storage API.","func_category":"[\"Google Cloud\",\"Storage\"]"},{"func_name":"Upload-GCPBucketFile","func_desc":"Upload a file to a Google Cloud Storage bucket using the GCP Storage API.","func_category":"[\"Google Cloud\",\"Storage\"]"},{"func_name":"Download-GCPBucketFile","func_desc":"Download a file from a Google Cloud Storage bucket using the GCP Storage API.","func_category":"[\"Google Cloud\",\"Storage\"]"},{"func_name":"Remove-GCPStorageBucket","func_desc":"Delete a Google Cloud Storage bucket using the GCP Storage API.","func_category":"[\"Google Cloud\",\"Storage\"]"},{"func_name":"New-GCPServiceAccount","func_desc":"Create a new service account in Google Cloud using the GCP IAM API.","func_category":"[\"Google Cloud\",\"Identity and Access Management\",\"Security\"]"},{"func_name":"Set-GCPServiceAccountRole","func_desc":"Assign a role to a service account in Google Cloud using the GCP IAM API.","func_category":"[\"Google Cloud\",\"Identity and Access Management\",\"Security\"]"},{"func_name":"New-GCPServiceAccountKey","func_desc":"Generate a new key for a Google Cloud service account using the GCP IAM API.","func_category":"[\"Google Cloud\",\"Identity and Access Management\",\"Security\"]"},{"func_name":"Get-GCPServiceAccounts","func_desc":"List all service accounts in a Google Cloud project using the GCP IAM API.","func_category":"[\"Google Cloud\",\"Identity and Access Management\",\"Security\"]"},{"func_name":"Enable-GCPAPI","func_desc":"Enable a Google Cloud API in a project using the GCP API Management service.","func_category":"[\"Google Cloud\",\"APIs\",\"Configuration\"]"},{"func_name":"Get-GCPProjects","func_desc":"List all Google Cloud projects available to the user using the GCP Resource Manager API.","func_category":"[\"Google Cloud\",\"Project Management\"]"},{"func_name":"New-GCPProject","func_desc":"Create a new Google Cloud project using the GCP Resource Manager API.","func_category":"[\"Google Cloud\",\"Project Management\"]"},{"func_name":"Remove-GCPProject","func_desc":"Delete a Google Cloud project using the GCP Resource Manager API.","func_category":"[\"Google Cloud\",\"Project Management\"]"}]