I am trying to create a sccm cmdlet that will prompt for a computer name and time and deploy an office upgrade package. I have it working that I can create SCCM collection and add members to it, but I can’t get a sccm package to deploy to it. https://gist.github.com/NathanTheGr8/8553778003cf969da6adebe4f487c5b0 Right now I am having […]
Month: April 2018
Invoke-Command – no console output?
When I run this script, it seems to work, but I get no output at all to the console. How can I get output – either a logfile or on the console? I know I must be missing something, but nothing I’ve tried seems to give me output. #v0.3 – Restructure loop to place the […]
Need help moving on the Y axis in Unity 2d
So I was able to get movement on the x axis by using this code Rigidbody2D rb; public float spd; public float xaxis; void Start() { rb = gameObject.GetComponent<Rigidbody2D>(); } void FixedUpdate() { //Movement xaxis = Input.GetAxisRaw(“Horizontal”) * spd; //Move with X = Left right Vector2 VelocityX = rb.velocity; VelocityX.x = xaxis; rb.velocity = VelocityX; […]
Azure Dev/Test Labs
This seems nice feature provided by Azure, but very less buzz about this feature. Anyone using? If yes, what is your experience/opinion on this? Anything need to be aware of before we opt for this solution? Any pros/cons you are aware of? submitted by /u/INVOKECloud [link] [comments]
Help with SecureString
Why will ISE pop a box up for user input but the regular powershell console will not? I have a script that gathers a username and password (as secure string), when I run in ISE there is a pop-up window that will ask for the password (preferred) but when using regular Powershell it asks via […]
Help with Index was outside of the bounds of the array error
Hello Everyone, I have this group to be very knowledgeable and helpful and I’m hoping I can tap into some of the knowledge to get help with this error? I have a button that I am using to open an excel workbook and populate 4 data elements in to columns A, B C and D. […]
Scheduled task with Invoke-Ping
I’m trying to get a list of all our computers that are online with Invoke-Ping. It’s working if I run it in the ISE or even thru the command prompt. As soon as I try to run the script from Task Scheduler all I get is the first computer out of a hundred or so. […]
Possible to change a property’s object type for each item in a collection?
(My title isn’t very good – I was able to change the [string]’s to [datetime]’s but I want to also keep the same PSCustomObject (or one with the same amount of properties) I started with) I have a collection of registry keys from: Get-ItemProperty -path ‘HKLM:SOFTWAREMicrosoftWindowsCurrentVersionUninstall*’ This returns PSCustomObjects with many properties, one of which […]