wureport's People
wureport's Issues
Add comment-based help to the function "Get-WuReport"
The timestamp of pending actions detection overwritten
Notifications: general
Assembly needed: System.Windows.MessageBox, PresentationFramework, Version=4.0.0.0
Some words about: https://mcpmag.com/articles/2016/06/09/display-gui-message-boxes-in-powershell.aspx
Get-WuReport.ps1
What the function should do:
- Collect the actual report by "New-WuReport"
1.1. If any pending actions found - show messages. - Read the last report
- Pending actions:
3.1. If the last report is absent:
3.1.1. set the timestamp if needed and do not set if not.
3.2. If the last report is present:
3.2.1. and does not contain timestamp - set the timestamp if needed or do not set, if not.
3.2.2. and DOES contain timestamp - get current delay value. - If the delay limit is reached or exceeded - run pending actions.
Rotate reports
The number of report files per machine should be limited.
Store data
It needed to store at least the number of days somewhere.
JSON report - section "WindowsUpdate" is an array?
Should be a hashtable.
Add comment-based help to the function "Export-WuReport"
Show-MessageToAll.ps1 - Add culture-specific files for message body
Add culture-specific files for message body. More info here: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_script_internationalization
Add comment-based help to the function "Import-WuReport"
Get last sync date from the WSUS server.
Last sync date for each of the computers can be received from the WSUS server. Of course this task should be executed from the admin's workstation.
Function "Get-WuHistory" - too much verbose
Example script for executing the task on a client
Add comment-based help to the function "New-WuReport"
Function "Get-WuReport" - passes an empty datestamp string to the function "Get-RebootDelay"
Business days and work time
Maybe from cultureinfo, something like that: https://stackoverflow.com/questions/2019098/finding-weekend-days-based-on-culture
Script "Register-PrivatePSRepositories" - the function was not renamed!
Get a list of computers from an Active Directory organizational unit
An example script for registering private PS repositories
An example script for registering private PS repositories. May be included in the "profile.ps1".
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.