halbaradkenafin
Members-
Posts
1,219 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by halbaradkenafin
-
Depending on your heartbeat settings you can give them time to check in or manually force the client to check in. There should be a way to automate it with powershell but I've done similar in the past with Impero using a mimic script.
-
School social media presence - how do you handle yours?
halbaradkenafin replied to Novalee's topic in General Chat
One of the admin staff handles the social media stuff, it seems to go well for us but I don't really look into it in case someone says "you know about this so it's now your problem". -
For anyone with tablets look up 3d Virtual Tabletop in the app store (Android or iOS only unfortunately), it's a pretty cool bit of software that lets you import maps, set grid sizes, have markers for characters/npcs and even has a fog of war feature so you can hide things until the players discover it. I don't think it's out on Windows app store yet but Windows 10 will fix that anyway so I'm looking forward to using it myself.
-
Currently playing in a 5th ed D&D game with one group, going to start running the hoard of the Dragon Queen stuff soon myself for another group and just taking a short break from a 3.5 D&D game that turned into either Inquisitor or Dark Heresy (we don't know for certain yet).
-
Probably the usual thing of poor password security being the biggest weakness.
-
Can't Get Startup Script working
halbaradkenafin replied to NerdNamedMatt's topic in Windows Server 2008 R2
Anything in the event log? Should at least give you some errors or something to look for. -
Can't Get Startup Script working
halbaradkenafin replied to NerdNamedMatt's topic in Windows Server 2008 R2
Have you tried deploying the msi as a Software Installation in the GPO, ensure that works first and then try deploying the reg key (either as a .bat or through GPP). -
Just upgraded to 10074 from 10049 and now the start menu doesn't work. Not too bothered as Win + E and Win + R works and I'm mostly using it as a Hyper-V host anyway.
-
Office365 - Assigning licenses via Powershell.
halbaradkenafin replied to Garacesh's topic in Cloud Services
I'd definitely try putting in a Write-Host $User before each Set-MsolUserlicense to check what is being assigned to that variable, then looking up a few of them to make sure they don't have a license already. -
Office365 - Assigning licenses via Powershell.
halbaradkenafin replied to Garacesh's topic in Cloud Services
It might be worth putting in a Write-Host $User before the Set-msoluserlicense so you can see what it's trying to use. I'd probably try running it in the ISE as that will keep whatever variables you've set with their last value so you can run the script, hit ctrl+c (or the stop button) after a few errors and then check each variable to ensure its the value you'd expect. -
Office365 - Assigning licenses via Powershell.
halbaradkenafin replied to Garacesh's topic in Cloud Services
That would be the best place to start. I've got a similar script which I'll have a look at and see how I handled the logic for checking licenses. I vaguely recall being able to filter on the original Get-MsolUser query but if not then you could pipe that to Where-object and check for the isLiscenced there and that should just return the data you need. Edit: I used the get-msoluser - all | where { $_.isLicenced -eq "False"} way and it worked fine. Probably worth just running it from command line or ISE to test what data you get back to ensure its right. -
Easier than that would be something like this: $Computers = Get-Content -Path C:\AA\2\pclist.txt foreach ($computer in $Computers) { Write-Host "$Computer" Get-WmiObject -class Win32_PerfRawData_Tcpip_NetworkInterface -ComputerName $computer | Where {$_.CurrentBandwidth -le 100MB} | Format-Table Name,@{label="LinkSpeed(MB)";Expression={$_.CurrentBandwidth/1MB]}} } That will filter results as they come in and only display ones with 100MB or lower connections. To put it to a text file would just mean swapping the Format-Table section for Add-Content -Path C:\Path\to\File.txt, though you'd probably want Export-Csv -Path C:\Path\To\File.csv -Append -NoTypeInformation to make it easier to work with in excel etc.
-
To speed that up add look at my code for using Test-Connection in an IF statement and it will spend ~5s on a machine which is off and move to the next one.
-
This should work, it's not pretty but it does the job in a single line (and even tests if a machine is online before trying to get the data) Import-Csv -Path E:\Test\ComputerTest.csv | % { if (Test-Connection $_.ComputerName -Count 1 -quiet) { Get-WmiObject -class Win32_PerfRawData_Tcpip_NetworkInterface -ComputerName $_.ComputerName | Format-Table $_.ComputerName,Name,@{label="LinkSpeed(MB)";Expression={$_.CurrentBandwidth/1MB}}}} I can probably tidy it up a bit more so it outputs some nicer data, especially if you want it out to csv or something.
-
I can put in the server unc path and it navigates there but doesn't show any shared folders. If I navigate to a server that has "public" shares (ones not specified as hidden for everyone) I get "accessing \\servername has been disallowed". We're pretty tight with our NTFS permissions on folders and shares so it's probably possible if you haven't locked it down tighter than needed.
-
70-410, 411 and 412 Exam study material
halbaradkenafin replied to Ambient's topic in Windows Server 2012
I'm planning on running a small lab in Hyper-V on my Windows 8 machine. Got the books to start working through once I find some time. -
It's done through GPO and doesn't show up at all in Office or any other application (other than small bug in Impero but I've logged that for them to work on). Not for us, we've got redirected Desktop to a common folder with Read Only permissions to the folder that it uses. If they use redirected desktop to a folder in their network drive then it shouldn't work either with the File System rules in place. If it's not redirected and is picking up a local desktop then it will probably work but I'm not sure why you'd use that option.
-
We've got the C drive hidden from pupils so they can still run things by the shortcut but can't navigate around it to copy stuff there.
-
Look into MDT for imaging and deployment as it's free and very easy to use. We went through the process last summer (I started when it was almost complete) and the network manager here had been planning for months for all the details etc. If you've got the hardware then getting your new domain up and running with test accounts and GPOs will save you a lot of problems in September as you'll have plenty of time to test everything and figure out all the little problems (there will still be others once staff get their hands on it). I'll second what @TechMonkey says, get the backing of management and let staff know that September will be a bit tough on everyone with the changes but it shouldn't effect their experience too much. Getting them to report even the smallest things (through a helpdesk system preferably) so you can fix them when you get time would be extremely helpful for everyone. If you've got any queries about the process or want to bounce ideas off anyone then I'm sure there are more than a few of us on here who've been through the process and can look over things and give you some helpful advice/feedback if you want it.
- 2 replies
-
- rm 4
- technician
-
(and 1 more)
Tagged with:
-
Does the notification area/swipe out area work for anyone? I've got build 10049 (or something) running on my surface pro 2 and any time I click the notifications it does nothing other than the animation for being clicked. Not a huge issue most of the time but still annoying.
-
Get-CimInstance and Get-WmiObject both support remoting already using the -ComputerName property.
-
It would depend on how they were assigned to the device but it should be possible in Powershell. I'll do some testing and get back to you soon. Edit: Turns out it's pretty easy to do with Powershell: Get-CimInstance Win32_Printer | Where {$_.SystemName -eq "\\servername" } | Remove-CimInstance Should do it but you'll need to run as Administrator. You can do the same thing with Get-WmiObject and Remove-WmiObject but still need Run As Administrator apparently. If you're running it from a script file it should be possible to do but it's not something I've looked up how to do, start up script might override that as it will run as SYSTEM (I think) but login script would need something put in place as even with Domain Admin access I had to open a prompt with Run As Admin.
-
Get-Mailbox | Get-MailboxStatistics | Where-Object { $_.TotalItemSize -ge 2GB} | format-table DisplayName,TotalItemSize Get-Mailbox | Get-MailboxStatistics | Where-Object { $_.TotalItemSize -ge 2GB} | Export-Csv -Path C:\mailbox.csv That should do it or be very close, you'll need to change the 2GB to whatever size is your max (or just under it would be better I think).
-
I'm up to attempt 4 to install the latest updates. The first time it downloaded them and offered a restart but failed to install them (with no errors for why) and then every other time it's hit 100% downloaded and then decided to tell me that there was actually a problem downloading, the error is suggesting that it's a connection timeout issue. I'll give it another try tonight when I don't have a proxy in the way.
-
Try using Get-CimInstance -Classname Win32_Printer? I did a quick bit of testing and found that this works for removing a printer: Get-CimInstance -ClassName Win32_Printer | Foreach { if ($_.Name -eq "Fax") { Remove-CimInstance -InputObject $_ }} So that works fine for removing a specific printer (no idea why I had a fax installed as a printer but it was useful for testing) but did require running as Administrator. So removing all the printers would just be as simple as: Get-CimInstance -ClassName Win32_Printer | Remove-CimInstance
