Skip to content

alexandredpy/psh-mobilibot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

MobiliBot - Powershell

PowerShell script to get Mobilijeune's quota

Used and tested with PowerShell 5.1 (Windows) and PowerShell 7.1 (Debian)

Requirements :

  • An up and running MySQL Database Server
  • The SimplySQL PowerShell's module :
# Install the SimplySQL module : 
Install-Module -Name SimplySQL
  • Optional but useful : phpMyAdmin

MySQL commands used :

CREATE DATABASE mobilibot;
CREATE TABLE mobilitable (
    testid int NOT NULL AUTO_INCREMENT PRIMARY KEY,
    resultcode int NOT NULL,
    time datetime
);
CREATE USER 'user'@localhost IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'user'@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

License :

image

Creative Commons : CC-BY-NC-SA

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published