-
Is there a way to make PowerShell report to compliance to Conditional Access policies that require compliant devices?
-
Niles Ingalls commented on Assign an IPv6 address to an EC2 instance (dual stack) 1 day, 11 hours ago
excellent write up, thank you. been trying to get this working today, and your article had me up and running in 10 minutes.
-
If you need to move a virtual machine on the same cluster datastore and DRS is enabled it’s necessary check the option “Disable Storage DRS for this virtual machine”. This action puts the virtual machine in the VM Overrides list.
-
DivineOrator commented on
PowerShell Classes – Part 4: Constructors 3 days, 3 hours ago
And in as little as 3 years, that website no longer exists/is accessible. If you want to read more about constructors, I recommend a website that will never change: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_classes?view=powershell-7.3
-
Coronavirus stimulus check? For an internal simulation, anybody that doesn’t understand how dangerous that simulation is should NOT be running phishing simulations. While hackers don’t follow ethical guidelines, an internal phishing awareness program must be very careful in the simulations they choose. This is exactly why these COTS applications end up in the news:
https://www.cbsnews.com/news/tribune-bonus-email-hoax-cybersecurity-test/
For a company like Microisoft to even have this as an option is mind boggling.
-
smaiderman commented on Link Shell Extension: create hardlinks and junctions with Windows Explorer 3 days, 10 hours ago
Is there any limitation?
I found several files where I’m not allowed to select as origin to create the link -
Does wsus offline ,… support Windows 11?
-
If you don’t know how to do it, well, you always can learn…
-
Frank Rizzo commented on Sysinternals Autoruns: the most comprehensive startup monitor 5 days, 9 hours ago
I need a tool like autoruns but that can sit in the task tray and do real time monitoring of all the same autostart sections.
-
We have a root and issuing CAs. Does it matter which order you migrate them in?
-
If you DO NOT know how to domain join a PC, YOU SHOULD NOT DOMAIN JOIN A PC
-
ChatGPT–putting the ‘artificial’ in artificial intelligence, lol.
-
Joshua Szanto commented on
How to create an open file/folder dialog box with PowerShell 6 days, 2 hours ago
Execution hangs up on usage of ShowDialog() under PowerShell 7 for me; it just stalls out. Another colleague does not have the same issue in PowerShell 7. Works fine in PowerShell 5.1 though. Any ideas? Been searching high and low and not sure why it stalls out upon executing ShowDialog() line in PoSh7.
-
Thanks!
Shame on me! I also asked ChatGPT 4 relatively simple questions about Powershell and Python and received only one correct answer. The answer style makes you believe that the AI is ‘convinced’ of the correctness of the given information… -
Unable to install optional quality updates. 🙁
-
Robert Mclean commented on Factory reset of Windows 10 and 11 without a password 1 week ago
I ended up using windows media creation tool to make a bootable usb and reloaded windows. I lost some files but got most of the stuff stored in the cloud back. Photos etc. At least I have got a working laptop again. I borrowed my brother in laws laptop to make the USB drive. You need a USB stick with at least 8GB of memory.
-
My windows recovery option is missing and im stuck in sign in screen after i linked my laptop to my microsoft account, how do i fix this problem? Thanks for the reply, please help 🙏🙏🙏
-
Eugenio commented on SCP from remote to local 1 week ago
Great SCP/SSH post.
Please remember that working as root is not the best recommended practice. -
Excellent guide, everything works as you wrote, very good, thank you very much. I hope you upload it to YouTube
-
Clifford Williams commented on
Where-Object vs. the Where method: Array filtering in PowerShell 1 week, 1 day ago
I know this is old but this article returns high in search results.
For anyone reading this it is important to understand that array.where will always return a collection. even it the query returns a single object, while Where-object will return a PSCustomeObject if the query returns a single object.This is usually not an issue unless you are trying to get the index of an object in an array.
$Object = $Array.Where({$_.property -eq $true})
$index = $array.indexOf($Object)
in the above example index will be -1 because $object will not be found.
Where,
$Object = $Array | Where-Object{$_.property -eq $true}
$index = $array.indexOf($Object)
Will return the index of $Object.You can get around this by indexing the collection return by the .Where method.
$Object = ($Array.Where($_.property -eq $true))[0]
$index = $array.indexOf($Object) - Load More