Adjusted a reprinting a battery display holder. First one was successful with a flaw ( successful failure).
Reprint should be done in a few hours
Adjusted a reprinting a battery display holder. First one was successful with a flaw ( successful failure).
Reprint should be done in a few hours
Latitude E5430
Expired 29 MAR 2014
I think I have turned this computer off for the last time. Has been running Ubuntu Server (because: Reasons) for a while with the Unifi controller. With Prox running it now, I don't think it needs to run any longer..
Seems the battery is still good too.. but - it's retired.. we thank you for your service..
Nextcloud would be my vote for a “private” Dropbox, Calendar, Chat platform. Robust and feature rich.
While working at the State a few years back, we used LSoft Activ@ KillDisk when wiping drives to be redeployed using SCCM. Looking back - likely not needed, but due to to the fact a desktop could end up in any of the agencies, it was policy to Wipe them before image.
Recently, I moved all of my documents and scripts to a external drive so that I could do some serious reorganization of file and orders. In additional I was also working on a system that wouldn't import to Intune correctly. So I needed to create a new Dell OS Recovery drive.
While working on that drive my back up drive got corrupted - not sure how really - Something maybe to do with using diskpart maybe...
I wasn't sure I would get the data back, had some software suggestions but all were paid - as is this software - but I managed to find this in my USB Drive box so I figured why not try it.
Not really a software promotion - but testament maybe - The Data Studio system was able to recover all 7GBs of data from a drive that Windows or Linux wouldn't read.
Glad I had it still,.. and likely will 'retire' my current USB Drive and purchase a personal copy.
https://www.lsoft.net/data-studio/
Are there other applications to do the same? Yes - True,.. but this tool box has other features I found useful.
Some minor changes made to the details. This is the current version and I hope that is the final. I have not heard back from the requester as of yet:
function Get-AllReports {
param(
[string]$Manager
)
$DirectReports = Get-ADUser -Filter {manager -eq $Manager} -Properties AccountExpirationDate, Title, Manager, Enabled, SAMAccountName, MemberOf
if($DirectReports) {
$DirectReports | ForEach-Object {
$ManagerInfo = Get-ADUser -Identity $_.Manager -Properties Title
if ($_.MemberOf -like "*vpn*") {
$VpnGroup = ""
foreach ($group in $_.MemberOf) {
if ($group -like "*vpn*") {
if ($VpnGroup -ne "") {
$VpnGroup += " $((Get-ADGroup $group).Name)"
} else {
#$VpnGroup = $group
$VpnGroup = (Get-ADGroup $group).Name
}
}
}
#$IsMemberOfVpnGroup = $true
} else {
#$IsMemberOfVpnGroup = $false
}
[PSCustomObject]@{
Name = $_.Name
AccountExpirationDate = $_.AccountExpirationDate
JobTitle = $_.Title
ManagerName = $ManagerInfo.Name
ManagerJobTitle = $ManagerInfo.Title
# MemberOfVpnGroup = $IsMemberOfVpnGroup
VpnGroup = $VpnGroup
} | Write-Output
Get-AllReports -Manager $_.DistinguishedName
}
}
}
$Manager = Read-Host -Prompt 'Enter Managers Name'
Write-Host ""
$ManagerName = $Manager
Get-AllReports -Manager $ManagerName | Export-Csv "$home\_Results\$Manager.csv" -NoTypeInformation
@gjacobse said in Powershell: Manager Report with Direct Reports:
I forget about chatGPT being able to do things like this and will need to look at getting started with it someday.
Copied it over and was about to start making additional when I realized that it didn't copy everything the first time - glad I paid attention.
Using the COPY option, got it over to the work computer and started it. I am getting three errors, and when I review it, it doesn't make sense.
"Missing closing "}" in three places. which with the copy, doesn't make sense.
Still reviewing
I appreciate your assistance on this.
Stared at it long enough -
Found that it managed to copy a section twice (?)... Cleard it out and recopied it and seems to be fine. running to see what the results are.
I forget about chatGPT being able to do things like this and will need to look at getting started with it someday.
Copied it over and was about to start making additional when I realized that it didn't copy everything the first time - glad I paid attention.
Using the COPY option, got it over to the work computer and started it. I am getting three errors, and when I review it, it doesn't make sense.
"Missing closing "}" in three places. which with the copy, doesn't make sense.
Still reviewing
I appreciate your assistance on this.
Proxmox build and service migration day.
Rebuilt the Proxmox install and getting the ubnt controller moved over finally. This host is a bit more than the last - but not where I may go with this - getting close to time to replace the NAS. So, why not put it all into one box that is more up to date than the four computers that are 8-12 years old already..
Fun times ahead.
In need of some assistance to expand this report that I found that is "close" to what I need to have. Would like some assistance in understanding what I have here and how to get to the end product.
Would like to pull all the Direct Reports for a manager - and all those to report to any of those members (Manager tree) and list out AD attributes.
function Get-AllReports {
param(
[string]$Manager
)
$DirectReports = Get-ADUser -Filter {manager -eq $Manager}
if($DirectReports){
Write-Output $DirectReports
$DirectReports | ForEach-Object {
Get-AllReports -Manager $_.DistinguishedName
}
}
}
$Manager = Read-host -Prompt 'Enter Managers Name'
Write-Host ""
$ManagerName = $Manager
Get-AllReports -Manager $ManagerName | export-csv $home\_Results\$Manager.csv
Additional items that are needed:
Manager Name
Manager Job Title
Member of VPN group
As the script is above - I get the following CSV file:
"DistinguishedName; Enabled; GivenName; Name; ObjectClass; ObjectGUID; SamAccountName; SID; Surname; UserPrincipalName"
Not really need DistinguishedName; ObjectGUID or SID, would like to drop those if possible - if not, it's not a bit deal as it can be hidden in the report. But need to add the fields above for auditing.
This isn't my code - just added export and manager query so it can be used without re-editing the thing everytime.
@BraswellJay said in New Building Considerations ...:
Our leadership is discussing possibly building a new facility over the next few years. What would be some things you would take into consideration for a new building design if you could start fresh with a blank slate.
The one's I initially think of are planning networking for WAN, LAN, wireless and phones. Also server, workstation and processing equipment planning. Access control and cameras.
<Soapbox>
Make sure that there are NO,... ZERO WATER fire systems in your (IT-Server / Switch) spaces... O-M-G,.. been in to many places that don't bother to think about the thousands of dollars/euros of equipment that is in a single room - WATER AND ELECTRONICS DON"T MIX!!!
</Soapbox>
Access, camera, door intercom, alarm- We are using a system from Verkada at nearly all of our sites now. And we are GLOBAL. I can control doors, cameras and access from one SPoG (Single Pane of Glass). You can set schedules for doors, visitor and restricted access,.. multi building access and more. It'll integrate with AD and allow for SSO. Verkada has two mobile device apps. Door access (like a badge) and Admin, so I can pull up doors and open one if needed from my phone from any where I have service.
Printers.. Oh for the love of GOD limit the number of printers when and where possible. I swear (and my case is soooo different) some days all I do is deal with printers in just one building.,... my 'home building'.. Add another one, move one, toner out,.. paper jam and all the while wondering if the printer will fail because it's likely not rated for 5,000 pages a week...
LABEL your MDF and IDFs!! Color code your patch cables,.. split your Patch panel and Switches for shorter patch cables.
Well,.. for the quick glance they have the 'right marketing' words and images. Seems professional enough that it could be legit.
However, I've not heard of them in the past, would do more research on them before using them or trusting them.
Finally found something that explained it...
App Installer is not the 'right version'. Updating gets the Winget.
Damn MS Store BS
Still find it odd that on the most recent build of Windows 10, 22h2 that winget just isn't there for some reason and some time. Oh well.. It shows up.. just not on day one of fresh build.
Scanning through my recent feed, I found mention of using TMUX in Linux. Has anyone been using this, is there benefit to using it?
tmux is a terminal multiplexer for Unix-based operating systems. Simply put, it acts as an add-on to an existing terminal.
I'm ONLY suggesting this as we are moving all of our sites to it. Scalable, handling routing, extension to Paging adapter and more.
RingCentral
May be an option.
@DustinB3403
Uh - I am sure that is suppose to be a joke. But it's just a trash can that I didn't mount. Mainly due to just setting one up as a test to see how it will work, and if the battery will last.
It is literally a rolling cart with a 500w inverter, battery charger and 40Ah battery with battery gauge. I question if the battery as is will last an 8 hour shift...
I can’t believe the cost of this cart minus the PC and monitor:
And it’s something I think I could build better…
@travisdh1 said in What Are You Doing Right Now:
@travisdh1 said in What Are You Doing Right Now:
Installer for my fiber internet is here, hooray!
Whole new experience today. Goodbye DSL and cable!
Thanks
Another thing for me to run in Powershell.
Oh, and merry Christmas to us, kid was a passenger in a single vehicle car wreck.
Driver lost control on wet roads. Shaken and stirred but other wise oka.
@nadnerB said in What Are You Doing Right Now:
@gjacobse sounds like fun
I always build my own PC's as I have to slowly upgrade as budget permits.
Franken PCs are the thing for me.
I never gamed until the last few years, and had mainly used laptops for my general daily workings.
Last new desktop I had was the one NTG sent me when I started, which was 2015 or so. That pc still runs for one of the kids. I picked up a Dell 8700 for me, it it was already used…